Skip to content

qbittorent-nox autodisables the use of server inode numbers on CIFS mount #22935

Closed
@WindowsFreak123

Description

@WindowsFreak123

qBittorrent & operating system versions

qBittorrent: 5.1.0-1 amd64
Operating system: Debian GNU/Linux 13 (trixie-testing)
Qt: --
libtorrent-rasterbar: 2.0.11-1 amd64

What is the problem?

Whenever I start qbittorrent-nox it disables server inode numbers on my cifs share mount.

I have the mount configured in fstab the same way on all my VMs. But on my qbittorrent-nox server, server inode numbers stop working. This prevents me form creating hardlinks from said server.

I have verified that starting qbittorrent-nox causes this issue. If I stop qbittorrent-nox, remount the cifs share, i can create hardlinks and all works well. But the moment I start qbittorrent-nox, the following error message is being displayed on the console of the VM qbittorrent is running on:

CIFS: VFS: Autodisabling the use of server inode numbers on \\192.168.1.1\share
CIFS: VFS: The server doesn't seem to support them properly or the files might be on different servers (DFS)
CIFS: VFS: Hardlinks will not be recognized on this mount. Consider mounting with the "noserverino" option to silence this message

I have some more Debian instances where I use the same fstab entry to mount my cifs share. The issue ins't happening on those instances and I can create hardlinks.

/etc/fstab:
//192.168.1.1/share /mnt/share cifs username=[REDACTED],password=[REDACTED],uid=qbittorrent,gid=smbshare,file_mode=0777,dir_mode=0777,cache=strict,serverino,mfsymlinks,nounix,x-system.automount 0 0

/proc/mounts before starting qbittorrent-nox:

qbittorrent@qBittorrent-Cross-Seed:~$ cat /proc/mounts | grep 192
//192.168.1.1/share /mnt/share cifs rw,relatime,vers=3.1.1,cache=strict,upcall_target=app,username=[REDACTED],uid=1004,forceuid,gid=1005,forcegid,addr=192.168.1.1,file_mode=0777,dir_mode=0777,soft,nounix,serverino,mapposix,mfsymlinks,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1 0 0

/proc/mounts after starting qbittorrent-nox (observe that the "serverino" option is gone):

qbittorrent@qBittorrent-Cross-Seed:~$ cat /proc/mounts | grep 192
//192.168.1.1/share /mnt/share cifs rw,relatime,vers=3.1.1,cache=strict,upcall_target=app,username=[REDACTED],uid=1004,forceuid,gid=1005,forcegid,addr=192.168.1.1,file_mode=0777,dir_mode=0777,soft,nounix,mapposix,mfsymlinks,reparse=nfs,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1 0 0

Steps to reproduce

  1. Edit /etc/fstab to mount a cifs share using the smb option "serverino"
  2. Verify the share is mounted
  3. Start the qbittorrent-nox service
  4. observe the syslog for CIFS error messages

Additional context

No response

Log(s) & preferences file(s)

syslog:

Jun 27 10:31:31 qBittorrent-Cross-Seed sudo[6162]: qbittorrent : TTY=pts/0 ; PWD=/home/qbittorrent/.local/share/qBittorrent/logs ; USER=root ; COMMAND=/usr/bin/umount /mnt/share
Jun 27 10:31:31 qBittorrent-Cross-Seed sudo[6162]: pam_unix(sudo:session): session opened for user root(uid=0) by qbittorrent(uid=1004)
Jun 27 10:31:32 qBittorrent-Cross-Seed sudo[6162]: pam_unix(sudo:session): session closed for user root
Jun 27 10:31:38 qBittorrent-Cross-Seed sudo[6179]: qbittorrent : TTY=pts/0 ; PWD=/home/qbittorrent/.local/share/qBittorrent/logs ; USER=root ; COMMAND=/usr/bin/mount -a
Jun 27 10:31:38 qBittorrent-Cross-Seed sudo[6179]: pam_unix(sudo:session): session opened for user root(uid=0) by qbittorrent(uid=1004)
Jun 27 10:31:38 qBittorrent-Cross-Seed sudo[6179]: pam_unix(sudo:session): session closed for user root
Jun 27 10:31:38 qBittorrent-Cross-Seed kernel: CIFS: Attempting to mount //192.168.1.1/share
Jun 27 10:31:49 qBittorrent-Cross-Seed sudo[6203]: qbittorrent : TTY=pts/0 ; PWD=/home/qbittorrent/.local/share/qBittorrent/logs ; USER=root ; COMMAND=/usr/bin/systemctl start qbittorrent-nox@qbittorrent
Jun 27 10:31:49 qBittorrent-Cross-Seed sudo[6203]: pam_unix(sudo:session): session opened for user root(uid=0) by qbittorrent(uid=1004)
Jun 27 10:31:49 qBittorrent-Cross-Seed sudo[6203]: pam_unix(sudo:session): session closed for user root
Jun 27 10:33:04 qBittorrent-Cross-Seed kernel: CIFS: VFS: Autodisabling the use of server inode numbers on \\192.168.1.1\share
Jun 27 10:33:04 qBittorrent-Cross-Seed kernel: CIFS: VFS: The server doesn't seem to support them properly or the files might be on different servers (DFS)
Jun 27 10:33:04 qBittorrent-Cross-Seed kernel: CIFS: VFS: Hardlinks will not be recognized on this mount. Consider mounting with the "noserverino" option to silence this message.

qbittorrent.log:

(N) 2025-06-27T10:30:05 - qBittorrent termination initiated
(N) 2025-06-27T10:30:18 - Saving resume data completed.
(N) 2025-06-27T10:30:37 - BitTorrent session successfully finished.
(N) 2025-06-27T10:30:37 - qBittorrent is now ready to exit
(N) 2025-06-27T10:31:52 - qBittorrent v5.1.0 started. Process ID: 6208
(N) 2025-06-27T10:31:52 - Using config directory: /home/qbittorrent/.config/qBittorrent
(N) 2025-06-27T10:31:52 - Trying to listen on the following list of IP addresses: "0.0.0.0:23907,[::]:23907"
(I) 2025-06-27T10:31:52 - Peer ID: "-qB5100-"
(I) 2025-06-27T10:31:52 - HTTP User-Agent: "qBittorrent/5.1.0"
(I) 2025-06-27T10:31:52 - Distributed Hash Table (DHT) support: ON
(I) 2025-06-27T10:31:52 - Local Peer Discovery support: ON
(I) 2025-06-27T10:31:52 - Peer Exchange (PeX) support: ON
(I) 2025-06-27T10:31:52 - Anonymous mode: OFF
(I) 2025-06-27T10:31:52 - Encryption support: ON
(I) 2025-06-27T10:31:52 - Successfully listening on IP. IP: "127.0.0.1". Port: "TCP/23907"
(I) 2025-06-27T10:31:52 - Successfully listening on IP. IP: "127.0.0.1". Port: "UTP/23907"
(I) 2025-06-27T10:31:52 - Successfully listening on IP. IP: "192.168.1.12". Port: "TCP/23907"
(I) 2025-06-27T10:31:52 - Successfully listening on IP. IP: "192.168.1.12". Port: "UTP/23907"
(I) 2025-06-27T10:31:52 - Detected external IP. IP: "[REDACTED]"
(N) 2025-06-27T10:31:52 - Restored torrent. Torrent: "[REDACTED]"
(N) 2025-06-27T10:31:52 - Restored torrent. Torrent: "[REDACTED]"
(N) 2025-06-27T10:31:52 - Restored torrent. Torrent: "[REDACTED]"
...
(N) 2025-06-27T10:32:13 - Restored torrent. Torrent: "[REDACTED]"
(N) 2025-06-27T10:32:13 - Restored torrent. Torrent: "[REDACTED]"
(I) 2025-06-27T10:32:13 - IP geolocation database loaded. Type: DBIP-Country-Lite. Build time: Sun Jun 1 03:26:17 2025.
(N) 2025-06-27T10:32:13 - Using custom WebUI. Location: "/home/qbittorrent/VueTorrent".
(W) 2025-06-27T10:32:13 - Couldn't load WebUI translation for selected locale (en).
(N) 2025-06-27T10:32:13 - WebUI: Now listening on IP: *, port: 8080

qbittorrent.conf:

[Application]
MemoryWorkingSetLimit=12288

[AutoRun]
OnTorrentAdded\Enabled=false
OnTorrentAdded\Program=
enabled=true
program="/usr/bin/curl -XPOST http://localhost:2468/api/webhook?apikey=[REDACTED]-d \"infoHash=%I\" -d \"includeSingleEpisodes=true\""

[BitTorrent]
ExcludedFileNamesEnabled=true
Session\AddTorrentStopped=false
Session\AlternativeGlobalDLSpeedLimit=0
Session\AlternativeGlobalUPSpeedLimit=0
Session\BTProtocol=TCP
Session\CheckingMemUsageSize=512
Session\CoalesceReadWrite=true
Session\DHTEnabled=true
Session\DefaultSavePath=/mnt/share/Downloads/Complete
Session\DisableAutoTMMByDefault=false
Session\DisableAutoTMMTriggers\CategorySavePathChanged=false
Session\DisableAutoTMMTriggers\DefaultSavePathChanged=false
Session\DiskCacheSize=1024
Session\ExcludedFileNames=*.apk, *.arj, *.bat, *.bin, *.bmp, *.cmd, *.com, *.db, *.diz, *.dll, *.dmg, *.etc, *.exe, *.gif, *.htm, *.html, *.ico, *.ini, *.iso, *.jar, *.jpg, *.js, *.link, *.lnk, *.msi, *.perl, *.php, *.pl, *.ps1, *.psc1, *.psd1, *.psm1, *.py, *.pyd, *.rb, *.readme, *.reg, *.run, *.scr, *.sh, *.sql, *.text, *.thumb, *.torrent, *.url, *.vbs, *.wsf, *.xml, *.zipx
Session\FilePoolSize=500
Session\GlobalDLSpeedLimit=0
Session\GlobalMaxRatio=-1
Session\IgnoreLimitsOnLAN=true
Session\LSDEnabled=true
Session\MaxActiveCheckingTorrents=5
Session\MaxActiveDownloads=25
Session\MaxActiveTorrents=-1
Session\MaxActiveUploads=-1
Session\MaxUploads=250
Session\MaxUploadsPerTorrent=50
Session\PeXEnabled=true
Session\Port=23907
Session\QueueingSystemEnabled=true
Session\ReannounceWhenAddressChanged=true
Session\SSL\Port=30993
Session\ShareLimitAction=Stop
Session\SuggestMode=true
Session\Tags=[REDACTED], [REDACTED], cross-seed, [REDACTED], ~share_limit_1.private, stalledDL, [REDACTED], [REDACTED], MinSeedTimeNotReached, [REDACTED], [REDACTED], [REDACTED], ~share_limit_999.default, [REDACTED], [REDACTED], [REDACTED], other
Session\TempPath=/mnt/share/Downloads/Incomplete
Session\TempPathEnabled=true
Session\UseAlternativeGlobalSpeedLimit=false
Session\uTPRateLimited=false

[Core]
AutoDeleteAddedTorrentFile=Never

[LegalNotice]
Accepted=true

[Meta]
MigrationVersion=8

[Network]
Cookies=@Invalid()
PortForwardingEnabled=false
Proxy\HostnameLookupEnabled=false
Proxy\Profiles\BitTorrent=true
Proxy\Profiles\Misc=true
Proxy\Profiles\RSS=true

[Preferences]
Advanced\RecheckOnCompletion=false
Advanced\trackerPort=9000
Advanced\trackerPortForwarding=false
Connection\ResolvePeerCountries=true
DynDNS\DomainName=changeme.dyndns.org
DynDNS\Enabled=false
DynDNS\Password=
DynDNS\Service=DynDNS
DynDNS\Username=
General\Locale=en
MailNotification\email=
MailNotification\enabled=false
MailNotification\password=
MailNotification\req_auth=true
MailNotification\req_ssl=false
MailNotification\sender=qBittorrent_notification@example.com
MailNotification\smtp_server=smtp.changeme.com
MailNotification\username=
Scheduler\days=EveryDay
Scheduler\end_time=@Variant(\0\0\0\xf\x4J\xa2\0)
Scheduler\start_time=@Variant(\0\0\0\xf\x1\xb7t\0)
WebUI\Address=*
WebUI\AlternativeUIEnabled=true
WebUI\AuthSubnetWhitelist=192.168.1.0/24
WebUI\AuthSubnetWhitelistEnabled=true
WebUI\BanDuration=3600
WebUI\CSRFProtection=false
WebUI\ClickjackingProtection=false
WebUI\CustomHTTPHeaders="content-security-policy: default-src 'self'; style-src 'self' 'unsafe-inline' theme-park.dev raw.githubusercontent.com use.fontawesome.com; img-src 'self' theme-park.dev raw.githubusercontent.com data:; script-src 'self' 'unsafe-inline'; object-src 'none'; form-action 'self'; frame-ancestors 'self'; font-src use.fontawesome.com;"
WebUI\CustomHTTPHeadersEnabled=false
WebUI\HTTPS\CertificatePath=
WebUI\HTTPS\Enabled=false
WebUI\HTTPS\KeyPath=
WebUI\HostHeaderValidation=true
WebUI\LocalHostAuth=false
WebUI\MaxAuthenticationFailCount=5
WebUI\Password_PBKDF2="[REDACTED]"
WebUI\Port=8080
WebUI\ReverseProxySupportEnabled=false
WebUI\RootFolder=/home/qbittorrent/VueTorrent
WebUI\SecureCookie=true
WebUI\ServerDomains=*
WebUI\SessionTimeout=3600
WebUI\TrustedReverseProxiesList=
WebUI\UseUPnP=false
WebUI\Username=administrator

[RSS]
AutoDownloader\DownloadRepacks=true
AutoDownloader\SmartEpisodeFilter=s(\\d+)e(\\d+), (\\d+)x(\\d+), "(\\d{4}[.\\-]\\d{1,2}[.\\-]\\d{1,2})", "(\\d{1,2}[.\\-]\\d{1,2}[.\\-]\\d{4})"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions