Jump to content

Emby Docker container randomly loses NFS-mounted media library


Recommended Posts

Posted (edited)

Hey there,

 

My setup consists of a Proxmox server with three VMs:

an HAProxy VM for SSL, a TrueNAS VM for storage, and a Docker server with a GPU for transcoding.

 

I mounted my media library via NFS because I want to stay flexible with storage. I also have a Windows 11 VM to manage the library.

 

Anyway, I mounted the NFS share under /mnt. All containers work fine, but Emby randomly loses the library. When I check the share on the Docker host where the library is located, all movies are still there. However, when I ls inside the container and look at the mount point, it’s empty.

 

This happens every 2–3 days.

Can someone help me with this?

ffmpeg-transcode-85f555bb-6249-4947-8bde-cabdad649a20_1.txt embyserver.txt

Edited by pepeze12
visproduction
Posted

Embyserver.txt

line 384

Quote

2025-12-17 11:15:38.935 Error NetworkManager: Invalid lan networks setting: emby.oneway-4you.de
2025-12-17 11:15:38.936 Error SystemService-0HNHT5L8TKTU4:00000001: Forbidden
2025-12-17 11:15:38.936 Info SystemService-0HNHT5L8TKTU4:00000001: http/1.1 Response 403 to host2. Time: 1ms. GET http://192.168.42.4:80/emby/system/info/public. 
 

Suspect Ubuntu setup might contribute to this issue:
 https://duckduckgo.com/?q=linux+Ubuntu+losing+NFS+mounted+drive&ia=web

Posted

Does your mount get disconnected? Did you see in the ffmpeg log?

No such file or directory

Posted

Hey, thanks.

But when I do this, I get the following result:

nfsstat -c

Client rpc stats:
calls      retrans    authrefrsh
2536       0          2537 

So that would mean there was no reconnect, unless I’m misunderstanding something. Other Docker containers on the same host don’t have this issue (for example, Immich).

Posted

Can you prevent it from disconnecting?

Posted

What do you mean exactly?

If I interpret the output correctly, NFS itself did not experience a disconnect. However, Emby appears to have lost access to the mount point.

Posted

The server cannot access the video files directly. You can see it all throughout the log:

Quote

13:37:10.328 /data/movies/H/Hotel Transylvania 2 (2015) [tmdbid=159824]/Hotel Transylvania 2 (2015) [tmdbid=159824].mkv: No such file or directory

This could be any number of things from the mount being disconnected, to file names changed, to being denied permission on it, etc.

Posted

But nothing is there. When I go into the container, the folder is empty. If I check on the host, the NFS mount is still present and all movies are in place. The system also reports that there was no NFS disconnect, and I didn’t change any names or settings between the time it was working and the time it failed.

I don’t understand what is happening.

Bildschirmfoto 2025-12-17 um 15.08.27.png

Bildschirmfoto 2025-12-17 um 15.12.10.png

darkassassin07
Posted

Are you mounting the nfs share to the host, then bind-mounting the folder on the host to a folder in the container like any other folder?

Or are you directly mounting the network share to the docker container?

 

I'm using the former and haven't seen issues. Occasionally my network share will be offline for things like maintenance or a power loss, but when it remounts to the host the containers have no problem accessing it again as if it never left.

  • Like 1
Posted (edited)
13 hours ago, darkassassin07 said:

Are you mounting the nfs share to the host, then bind-mounting the folder on the host to a folder in the container like any other folder?

Yes, exactly. That works better for me.

13 hours ago, visproduction said:

I thought mounted drives in Ubuntu are nomally in the ./mnt folder, not in /data.

I should have explained what the two images are. Sorry, my bad :)

The upper screenshot shows the Docker host where the NFS share is mounted.

The screenshot below shows the mount inside the container, where the NFS mount is passed to Emby.

For example.

volumes:
  - mnt/nfs/emby-movies:/data/movies

 

Edited by pepeze12
Posted
13 hours ago, darkassassin07 said:

I'm using the former and haven't seen issues. Occasionally my network share will be offline for things like maintenance or a power loss, but when it remounts to the host the containers have no problem accessing it again as if it never left.

Yes, same for me, but you can see that every 2–3 days the Docker mount fails.

It works extremely well for every other container (around five in total). The issue only occurs with Emby.

 

The files from the NFS share are present on the host, but they don’t show up inside the container.

Logically, I would expect the NFS share itself to have hiccups, but I can’t see anything like that in the logs.

I also don’t see any NFS reconnects.

Posted

What are your NFS mount options in fstab? Can you run the mount command to get the details and post here?

visproduction
Posted (edited)

Interesting.  I have not done this NFS mount forwarding before, so I have no idea...  I did find this mentioned in troubeshooting - Mounting:
 https://linuxvox.com/blog/nfs-in-ubuntu/
 

Quote

Permission Issues: Ensure that the exported directory on the server has the correct permissions and that the client has the necessary access rights.

 

Edited by visproduction
Posted
8 hours ago, Q-Droid said:

What are your NFS mount options in fstab?

This is part of the fstab file.

#emby nfs
192.168.41.2:/mnt/Main-HDD/nfs/docker-volumes/emby-movies  /mnt/nfs/emby-movies  nfs  rw,nfsvers=4.1,_netdev,soft,timeo=600,retrans=3  0  0
192.168.41.2:/mnt/Main-HDD/nfs/docker-volumes/emby-series  /mnt/nfs/emby-series  nfs  rw,nfsvers=4.1,_netdev,soft,timeo=600,retrans=3  0  0

I saw that I should change soft back to hard to prevent data corruption, but I think soft should work better in case of NFS hiccups.

8 hours ago, Q-Droid said:

Can you run the mount command to get the details and post here?

I’m not sure what you mean. Are you referring to the mount command, or something else?

dockeruser@docker-host:~$ mount | grep nfs
192.168.41.2:/mnt/Main-HDD/nfs/docker-volumes/immich on /mnt/nfs/immich type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,timeo=600,retrans=3,sec=sys,clientaddr=192.168.42.2,local_lock=none,addr=192.168.41.2,_netdev)
192.168.41.2:/mnt/Main-HDD/nfs/docker-volumes/overleaf on /mnt/nfs/overleaf type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,timeo=600,retrans=3,sec=sys,clientaddr=192.168.42.2,local_lock=none,addr=192.168.41.2,_netdev)
192.168.41.2:/mnt/Main-HDD/nfs/docker-volumes/emby-movies on /mnt/nfs/emby-movies type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,timeo=600,retrans=3,sec=sys,clientaddr=192.168.42.2,local_lock=none,addr=192.168.41.2,_netdev)
192.168.41.2:/mnt/Main-HDD/nfs/docker-volumes/emby-series on /mnt/nfs/emby-series type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,timeo=600,retrans=3,sec=sys,clientaddr=192.168.42.2,local_lock=none,addr=192.168.41.2,_netdev)
192.168.41.2:/mnt/Main-HDD/nfs/docker-volumes/nextcloud on /mnt/nfs/nextcloud type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,timeo=600,retrans=3,sec=sys,clientaddr=192.168.42.2,local_lock=none,addr=192.168.41.2,_netdev)

or

dockeruser@docker-host:~$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=8136700k,nr_inodes=2034175,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1635524k,mode=755,inode64)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
/dev/mapper/ubuntu--vg-ubuntu--lv on / type ext4 (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=4581)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,nosuid,nodev,relatime,pagesize=2M)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
/dev/sda2 on /boot type ext4 (rw,relatime)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
192.168.41.2:/mnt/Main-HDD/nfs/docker-volumes/immich on /mnt/nfs/immich type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,timeo=600,retrans=3,sec=sys,clientaddr=192.168.42.2,local_lock=none,addr=192.168.41.2,_netdev)
192.168.41.2:/mnt/Main-HDD/nfs/docker-volumes/overleaf on /mnt/nfs/overleaf type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,timeo=600,retrans=3,sec=sys,clientaddr=192.168.42.2,local_lock=none,addr=192.168.41.2,_netdev)
192.168.41.2:/mnt/Main-HDD/nfs/docker-volumes/emby-movies on /mnt/nfs/emby-movies type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,timeo=600,retrans=3,sec=sys,clientaddr=192.168.42.2,local_lock=none,addr=192.168.41.2,_netdev)
192.168.41.2:/mnt/Main-HDD/nfs/docker-volumes/emby-series on /mnt/nfs/emby-series type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,timeo=600,retrans=3,sec=sys,clientaddr=192.168.42.2,local_lock=none,addr=192.168.41.2,_netdev)
192.168.41.2:/mnt/Main-HDD/nfs/docker-volumes/nextcloud on /mnt/nfs/nextcloud type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,timeo=600,retrans=3,sec=sys,clientaddr=192.168.42.2,local_lock=none,addr=192.168.41.2,_netdev)
overlay on /var/lib/docker/overlay2/82f8ebdbbe825333c126c7316f61980c9b29d42bf38021ac428cf5eb32ae2c92/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/C7BH2X6VJFYVFQLQAMZW7LABVT:/var/lib/docker/overlay2/l/WBAXRDRNRMHEXH4PVVFGAKNZRF:/var/lib/docker/overlay2/l/L7SX5K5TUXWTEEXE4VUXJ32S2V:/var/lib/docker/overlay2/l/BECEYWNCXQWFXJNWQTQUKWRBOS:/var/lib/docker/overlay2/l/4OXP6HNM5LWWNEVWP2LC67H5KD,upperdir=/var/lib/docker/overlay2/82f8ebdbbe825333c126c7316f61980c9b29d42bf38021ac428cf5eb32ae2c92/diff,workdir=/var/lib/docker/overlay2/82f8ebdbbe825333c126c7316f61980c9b29d42bf38021ac428cf5eb32ae2c92/work,nouserxattr)
overlay on /var/lib/docker/overlay2/ed5886666a193cc1868c6ee943c43a551823d3755835890b77c1d03b1d4bb8d5/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/AIJCF6DJN5CQF3DHS5GLWYLJXX:/var/lib/docker/overlay2/l/DXHWJBICPOG2P57D4BHW5X7NIF:/var/lib/docker/overlay2/l/TG56YINWAFUKYLLP46QGKLJRRQ:/var/lib/docker/overlay2/l/5L7EJCNCAJYWPAQX7WI5DYT2Y3:/var/lib/docker/overlay2/l/KCRJVZUUDN6PHUCKMMZRSBZNEP:/var/lib/docker/overlay2/l/6RJ32DL2N7QEV5PJM3C26VPY54:/var/lib/docker/overlay2/l/IRVHKKXMPIK4EEVY5OOQPDH7BQ:/var/lib/docker/overlay2/l/VW7YV7DMZRBPTTBHNMOTGDQGU5:/var/lib/docker/overlay2/l/2EPQGHZ3SZFZOBIO6OLCB77BCM:/var/lib/docker/overlay2/l/ULZHO2GL5PVJ37KYLEURYYAZQQ:/var/lib/docker/overlay2/l/ZODCDVIFC2Z4TQZBJCXQG7MA3V:/var/lib/docker/overlay2/l/MEY5WJOE65XWFVGSWEWW2PCBAF:/var/lib/docker/overlay2/l/AM2ZNEDDFZ7XMLRVIAIC7OQ5HW:/var/lib/docker/overlay2/l/FJIFLZJHXZLFNH5XQXUI4AYBGG:/var/lib/docker/overlay2/l/CWGLVCU2LV6KFNCITHSRRG7DDJ:/var/lib/docker/overlay2/l/U6N2XWQMJUXDUWEHIWFE6RDU5J:/var/lib/docker/overlay2/l/LYVIE4IJDQPLSZQHURFQUQWU3D:/var/lib/docker/overlay2/l/VYFZM5W4KWTELPIWPSZBA3ZSNY:/var/lib/docker/overlay2/l/BIQ6X3DXSJMMCDKKRDQP4OXVYA:/var/lib/docker/overlay2/l/NOYO7W45V4K5MCM56FZJW2MJ4R:/var/lib/docker/overlay2/l/RGGSFG673MP4IU46I7WYI6FLYX,upperdir=/var/lib/docker/overlay2/ed5886666a193cc1868c6ee943c43a551823d3755835890b77c1d03b1d4bb8d5/diff,workdir=/var/lib/docker/overlay2/ed5886666a193cc1868c6ee943c43a551823d3755835890b77c1d03b1d4bb8d5/work,nouserxattr)
overlay on /var/lib/docker/overlay2/677f3248f104ef7004008c51134f0098730fdeaf794e0b2d4dd124ca82c90577/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/55IM4ZYLV6MDN6MKH46AIMPXGE:/var/lib/docker/overlay2/l/YNSQY5VRC65TFTO6TJNM7AUVUL:/var/lib/docker/overlay2/l/AFGYHRGJHODH5YTN7JHAMDVWTL:/var/lib/docker/overlay2/l/4RWOEOZE75TZIESTLYX4UFWBZ4:/var/lib/docker/overlay2/l/W2Q73AU7T5HFDXDV5GRAXRIVZF:/var/lib/docker/overlay2/l/UP5KB6TM5XF4BJANAFLV5H333G:/var/lib/docker/overlay2/l/64GM5T65WCAGID4LCNFOUAT72O:/var/lib/docker/overlay2/l/NK5RQI2JUBL5HFW3TLNXB3MECO:/var/lib/docker/overlay2/l/USDHC7LA5OBSILGK2GGIRHY3MQ:/var/lib/docker/overlay2/l/Y6GEXXKVNTBJINPF5T4V4IYKFB:/var/lib/docker/overlay2/l/A32WR2LEGQTE4WZLCP4UUTN7RD:/var/lib/docker/overlay2/l/RO4J7N3HVNKPC64INVTC4DY46D:/var/lib/docker/overlay2/l/UJTE5D3ORFCBVOA5JVJTC62CH4:/var/lib/docker/overlay2/l/NJV3R2PZKJWOHTYFH5OQX4HW7J:/var/lib/docker/overlay2/l/GJAYPDJNDLWXCUBL6M6R25JXHT:/var/lib/docker/overlay2/l/A5W6TU2LIGEBXLHM4OZ2PQM2ZU:/var/lib/docker/overlay2/l/UAXUQ4KJM3WOUHEAOZHEWWSSU5:/var/lib/docker/overlay2/l/GOIL26CVP6XK7VJERYRADSOE6D:/var/lib/docker/overlay2/l/4FW2XCCL2EFZSIARW2K7MNGMQZ:/var/lib/docker/overlay2/l/ICERZ7X6GX7BDBNOCK4VU5K3TZ,upperdir=/var/lib/docker/overlay2/677f3248f104ef7004008c51134f0098730fdeaf794e0b2d4dd124ca82c90577/diff,workdir=/var/lib/docker/overlay2/677f3248f104ef7004008c51134f0098730fdeaf794e0b2d4dd124ca82c90577/work,nouserxattr)
overlay on /var/lib/docker/overlay2/fb1777db974fa0fd287e723d3e2766b4ecea5e702881ed3caf428cd1049881d0/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/TOSCQQKYJMMKTB22NLMIIBMVRY:/var/lib/docker/overlay2/l/XX5CZ2ALR5NFIX5H76BYVP2EG3:/var/lib/docker/overlay2/l/7Y4KPXTWUYF67UWZG3RYSSQPIH:/var/lib/docker/overlay2/l/YFXGYQ7XVKULFUA5FOEOLHL35Y:/var/lib/docker/overlay2/l/EUONQKBTTF5BG7WY24EICUIW4P:/var/lib/docker/overlay2/l/GCOOREGFBP2HNLFBKJYES4Z6FH:/var/lib/docker/overlay2/l/WM3HDD46ZNFLRRF7GPXZDNT43M:/var/lib/docker/overlay2/l/PWNZNAZCE5622QPITVQ3SMAYLD:/var/lib/docker/overlay2/l/2O2WBEWGMREWQDAF2VQYWYGGIA:/var/lib/docker/overlay2/l/NPIT44OM4MPBPBP4PSH2YFMSUH:/var/lib/docker/overlay2/l/KPVBJCHBFCHMFVNCQVFWHZIYS5:/var/lib/docker/overlay2/l/4DAP3YEFE2ZFWLJZZJMJSTLDEL:/var/lib/docker/overlay2/l/SAG5Q2PXRVSJ4BKLDYXSBP2FMR:/var/lib/docker/overlay2/l/2S4SJOPFZTPBATD7DI2JMSWTQC:/var/lib/docker/overlay2/l/CQVWBXGHUJBDSIHPRGFYH72T2Y:/var/lib/docker/overlay2/l/J4HVLKKM2WJDFCUYXWDFFJV3DC:/var/lib/docker/overlay2/l/HX2AGN2XNL2YIIACPMRBDOYPW4:/var/lib/docker/overlay2/l/NA4CUV2IXIJ6OJXSMEUVSGSG2B:/var/lib/docker/overlay2/l/ICJ7YU7KHT32U52TAKKXUR7PQL:/var/lib/docker/overlay2/l/OII6JI4B4U2I4IORWI6VQDD6OP:/var/lib/docker/overlay2/l/BVO5PJCNKYSHE7AGE6JZK2KDEB:/var/lib/docker/overlay2/l/ZSJQSBD47KEQGMSEPA3XETBNUH:/var/lib/docker/overlay2/l/YDZNTRI2Y6XSX7NJGV3VLHXIJN:/var/lib/docker/overlay2/l/OAU7HIB2A62RXZ7WWJHGVNPKYZ,upperdir=/var/lib/docker/overlay2/fb1777db974fa0fd287e723d3e2766b4ecea5e702881ed3caf428cd1049881d0/diff,workdir=/var/lib/docker/overlay2/fb1777db974fa0fd287e723d3e2766b4ecea5e702881ed3caf428cd1049881d0/work,nouserxattr)
overlay on /var/lib/docker/overlay2/15631e08b23526d5aef5750b57aea919f495dad4ac4bab6ac7823896208dab15/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/FYVWNFWGCQYCJCUHOYS4TDSCVD:/var/lib/docker/overlay2/l/M4XR5VUM635O7OPRG32XVAHGTI:/var/lib/docker/overlay2/l/WI3IPKNPV3RP6QYEYPSPOV3YGP:/var/lib/docker/overlay2/l/TTYS36LB2A3LNQN3MGODY4YTW3:/var/lib/docker/overlay2/l/AAMW3JZ2UGTW2L2FEXQ7WD5Z3Y:/var/lib/docker/overlay2/l/JBNLHCA6IF6MVJLRDLVSI2TRLO:/var/lib/docker/overlay2/l/Q3X5Y3POQHPKNTHAOUEU4J7PRB:/var/lib/docker/overlay2/l/OZ73ZLJQD4YIESW5MNJ3675PFD:/var/lib/docker/overlay2/l/3RIZIHZBPPSZ5VFFWS4DHPCES7:/var/lib/docker/overlay2/l/BV7AY3NH4DAPTX3UXLSKY2YVXE:/var/lib/docker/overlay2/l/JIVPHG26R2NAQ4DMOEG47QVRZK:/var/lib/docker/overlay2/l/6T6BG5TN6SDRWGGMHPDYVYZFIS:/var/lib/docker/overlay2/l/HFM6FUAUATNEGS4OBTKQ5C6KTM:/var/lib/docker/overlay2/l/PITSFOJHRIRXZQ63VYVJRRGEGG:/var/lib/docker/overlay2/l/ICERZ7X6GX7BDBNOCK4VU5K3TZ,upperdir=/var/lib/docker/overlay2/15631e08b23526d5aef5750b57aea919f495dad4ac4bab6ac7823896208dab15/diff,workdir=/var/lib/docker/overlay2/15631e08b23526d5aef5750b57aea919f495dad4ac4bab6ac7823896208dab15/work,nouserxattr)
overlay on /var/lib/docker/overlay2/5803fdeac5f8783c6cbf6e9f7aa3d30f88c2c601925568c6ae2aea17580434db/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/O6KREUBYLJ3J5EE2BCME5CPO7A:/var/lib/docker/overlay2/l/BJ3DLIWUNN6LTGNNEZNWRHAK3M:/var/lib/docker/overlay2/l/ROFAEHMV4PHKTDABTFNOTVIY3C:/var/lib/docker/overlay2/l/TINWRAFZB4IYDCXTZMF6J6A4ZE:/var/lib/docker/overlay2/l/GX6MZX24VWQGNSRIDTPZJP5SX2:/var/lib/docker/overlay2/l/BVWRDETKU3XIXTMBIUS4K63E55:/var/lib/docker/overlay2/l/YXBCP4JEMYAHGZMG2LKBUYGPH2:/var/lib/docker/overlay2/l/YQPYQ4SOGELBFP5POVDT2BZHFT:/var/lib/docker/overlay2/l/YNSVPNHMJESTNWYCIEJF2ACQLF:/var/lib/docker/overlay2/l/MG6HSYOZ3L5LZIERCXCGSON4QU:/var/lib/docker/overlay2/l/AG5B5SJOMHZNJHTKICJW7MKBDQ:/var/lib/docker/overlay2/l/J5GW2KBCNN65SSUC6AJN7KH4DR:/var/lib/docker/overlay2/l/BUNXJX3J47SOWGU3F73623SIIJ:/var/lib/docker/overlay2/l/UVBSRLCF7NKEEC42EFLWIFOU3T:/var/lib/docker/overlay2/l/P4ZQKO3VO4NQHQDMY75C6BMKEJ:/var/lib/docker/overlay2/l/KQ72WP7GXDB4RNPT6C5QM4NWMW:/var/lib/docker/overlay2/l/JFAQAAZSPPA35DHGEW6HCCGAAB,upperdir=/var/lib/docker/overlay2/5803fdeac5f8783c6cbf6e9f7aa3d30f88c2c601925568c6ae2aea17580434db/diff,workdir=/var/lib/docker/overlay2/5803fdeac5f8783c6cbf6e9f7aa3d30f88c2c601925568c6ae2aea17580434db/work,nouserxattr)
overlay on /var/lib/docker/overlay2/c08e3990d41c8538030d7c6876f5cea42eb0a0221f4d83bfee10e8fc94c29df6/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/EQ5PEKTCID3YNCILUQY6WH4LFD:/var/lib/docker/overlay2/l/NW3BO45SMVCXCWJSZXFVZXL6Q6:/var/lib/docker/overlay2/l/HCIVEFBSTSF6TLF3QLET2UIT7T:/var/lib/docker/overlay2/l/JLCUBGJ4MWV2JGM6DDKCRFOR3O:/var/lib/docker/overlay2/l/ICERZ7X6GX7BDBNOCK4VU5K3TZ,upperdir=/var/lib/docker/overlay2/c08e3990d41c8538030d7c6876f5cea42eb0a0221f4d83bfee10e8fc94c29df6/diff,workdir=/var/lib/docker/overlay2/c08e3990d41c8538030d7c6876f5cea42eb0a0221f4d83bfee10e8fc94c29df6/work,nouserxattr)
overlay on /var/lib/docker/overlay2/5b4160ec6a044f4920a2e066ace50696058a119c37f1522f095d187d2ac6269c/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/SR7YRSPGVKMEXGQCYRL2WSATKF:/var/lib/docker/overlay2/l/X6FPAJIF23SSHXQK4HD4PT4VXQ:/var/lib/docker/overlay2/l/FBGNK7TNHY4PQIXNWJR4NX4RZH:/var/lib/docker/overlay2/l/BR6RWXLK3EHFT3E5BLCDFF7TS3:/var/lib/docker/overlay2/l/SCFKV5KAIIF44LMGI4UESR7AYV:/var/lib/docker/overlay2/l/Y2KZXVXJFHQ4IKMOVZIWNX7JPM:/var/lib/docker/overlay2/l/TTZFBSL7C3ZKQMTIV3R5ZNDTPJ:/var/lib/docker/overlay2/l/H7EC6PPF4LZVM7VU3W24354T25:/var/lib/docker/overlay2/l/XZS3WYFLWGTGGNLY4M4RGV6SRV:/var/lib/docker/overlay2/l/WNORWWJMXKEULRMLSQ37CWQLK2:/var/lib/docker/overlay2/l/77CEJU54HZCIG64VUHS2E3B46F:/var/lib/docker/overlay2/l/6RYCSQEKVVFQDDRSE7PFPZO7EU:/var/lib/docker/overlay2/l/GA2DNMZ6ZSN5HOKPGWLZWZQPYL:/var/lib/docker/overlay2/l/6HVYMSYFBILDPOZ3P4XKRE2OQO:/var/lib/docker/overlay2/l/GJIBFZW3KKDOQMQ25IPFXE4QYX:/var/lib/docker/overlay2/l/UBATFDSUHDF7YXLM6P2HB53A7O:/var/lib/docker/overlay2/l/VU5GFIGIIUOOGMVPA3OEFPB4PW:/var/lib/docker/overlay2/l/REJEPKSWRD3UBC6T5FV3DX5QES:/var/lib/docker/overlay2/l/USJPUNPQXT3XUPRY3YKJACMYLX:/var/lib/docker/overlay2/l/Z62WQXCWZ7YBK7HSCFRDR4QD55:/var/lib/docker/overlay2/l/4KJDR27OD6HPPZOB4NEIL5WS26:/var/lib/docker/overlay2/l/LURZLXK2WJ2FAVUDTHHIIMPOPH:/var/lib/docker/overlay2/l/ICERZ7X6GX7BDBNOCK4VU5K3TZ,upperdir=/var/lib/docker/overlay2/5b4160ec6a044f4920a2e066ace50696058a119c37f1522f095d187d2ac6269c/diff,workdir=/var/lib/docker/overlay2/5b4160ec6a044f4920a2e066ace50696058a119c37f1522f095d187d2ac6269c/work,nouserxattr)
overlay on /var/lib/docker/overlay2/512011eb3758fa24c33c941b8177f509a6b6e28fb0b90ded0839dcbdc74abf6a/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/7PBN6AVQUJX6ULDASM5WU4DHJB:/var/lib/docker/overlay2/l/HIRRHCDCFQKPLRJFM332OJGYCA:/var/lib/docker/overlay2/l/KFJT3YBG3274SUEYGPE4EJOWMO:/var/lib/docker/overlay2/l/GWQI4SKBQJXYWMJSFJUDDIROEN:/var/lib/docker/overlay2/l/J44WAYZW2DY5O6L4OC65IMGBRM:/var/lib/docker/overlay2/l/6MSYSRPV3ZCALVPN6JDRGYEKLI:/var/lib/docker/overlay2/l/2BFXSBJCB7Y45ZMUP5QPXJZO73:/var/lib/docker/overlay2/l/WCTOXCGSEFBF73CV4FHAKX3DZD:/var/lib/docker/overlay2/l/KBNMFDHK3TQDLADP64KDO74ZY6,upperdir=/var/lib/docker/overlay2/512011eb3758fa24c33c941b8177f509a6b6e28fb0b90ded0839dcbdc74abf6a/diff,workdir=/var/lib/docker/overlay2/512011eb3758fa24c33c941b8177f509a6b6e28fb0b90ded0839dcbdc74abf6a/work,nouserxattr)
overlay on /var/lib/docker/overlay2/02d81caa22b58339b0770eb37e6efb037ab29cd8d7b840e95d7ce08b1817cb43/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/UOLIARIRNM6O4L7X7MK5QZHJHZ:/var/lib/docker/overlay2/l/IEL3MKZPAKZNHUISBJYYCRPSII:/var/lib/docker/overlay2/l/Y63T5HQETZSYOWOBYKZIMZ6T6U:/var/lib/docker/overlay2/l/565TW4KNUXZLOQDSUWH6I37C6S:/var/lib/docker/overlay2/l/VK3SJXEAP6AUMV36GLHGZ5HNEX:/var/lib/docker/overlay2/l/M7DEQ5OH6IRN3X46JY2OWBICKV:/var/lib/docker/overlay2/l/GNPCMX2CPFKXGKDK6FQAPPBLGY:/var/lib/docker/overlay2/l/PKB3BNWRFKWDHXLGL4T5JZD3RN:/var/lib/docker/overlay2/l/2NYY2MOF5VDHK634DTO54MURBA:/var/lib/docker/overlay2/l/BI6YTMAZKJHMERPNAG2V5YT3SY:/var/lib/docker/overlay2/l/ICERZ7X6GX7BDBNOCK4VU5K3TZ,upperdir=/var/lib/docker/overlay2/02d81caa22b58339b0770eb37e6efb037ab29cd8d7b840e95d7ce08b1817cb43/diff,workdir=/var/lib/docker/overlay2/02d81caa22b58339b0770eb37e6efb037ab29cd8d7b840e95d7ce08b1817cb43/work,nouserxattr)
overlay on /var/lib/docker/overlay2/cb3a69da2f1d7703b798eb05c66439c163ab00822fe4a2a2c119dcbc5087379a/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/3B435E3HNMKAQZ3PTM4JYF3PSX:/var/lib/docker/overlay2/l/4FSVY5OJDCR5MXDKUMPZNIEUXP:/var/lib/docker/overlay2/l/YT6B3NLSRYJB6VIIZNDAYKM4VX:/var/lib/docker/overlay2/l/QYXRXYGQCAUU64WFCGTUVDUP44:/var/lib/docker/overlay2/l/Z2TJU67O5UNSIBEM2CUJHL2AVI:/var/lib/docker/overlay2/l/ICERZ7X6GX7BDBNOCK4VU5K3TZ,upperdir=/var/lib/docker/overlay2/cb3a69da2f1d7703b798eb05c66439c163ab00822fe4a2a2c119dcbc5087379a/diff,workdir=/var/lib/docker/overlay2/cb3a69da2f1d7703b798eb05c66439c163ab00822fe4a2a2c119dcbc5087379a/work,nouserxattr)
overlay on /var/lib/docker/overlay2/bb7f0c70e63275fdde409d88aa43d0252a9cf65b5762600e4bcd67042d90c115/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/2P3TNF4AVFUC7QWCMW4FRYPTLZ:/var/lib/docker/overlay2/l/HCC2M2T3IU5RJRGOGU46R7OZAD:/var/lib/docker/overlay2/l/2R5IDFVGJYY6BZLS32YUCLJQX5:/var/lib/docker/overlay2/l/G35N2NLE3OHHDJYWY4ELEULXOF:/var/lib/docker/overlay2/l/5FGEV3A6HSIMDN5R2Q2PZ2HBIL:/var/lib/docker/overlay2/l/5KYKAG4DMPX5O3BS5BN54CNO4B:/var/lib/docker/overlay2/l/3ASM3T7EMY2JUWVWJYRWSSUJRT:/var/lib/docker/overlay2/l/K724BFCDCQT4A3TRLM3WYBNVVV:/var/lib/docker/overlay2/l/EZXDT3PSIRBMNUJYIPH4ZSIBIR:/var/lib/docker/overlay2/l/ZCNEGAECE4YLHA5Z5XHNVTZYGX:/var/lib/docker/overlay2/l/BGX33MCBLYFLRMZ5VWWCYERXQL:/var/lib/docker/overlay2/l/XBU3QFUDOFT5WGF6MBS5NN3U77:/var/lib/docker/overlay2/l/RFDLS6YKCQ4ZXJXGB2KTQD3MHB:/var/lib/docker/overlay2/l/LNFHT36TS74TWCDWXZCF4HBLMZ:/var/lib/docker/overlay2/l/ICERZ7X6GX7BDBNOCK4VU5K3TZ,upperdir=/var/lib/docker/overlay2/bb7f0c70e63275fdde409d88aa43d0252a9cf65b5762600e4bcd67042d90c115/diff,workdir=/var/lib/docker/overlay2/bb7f0c70e63275fdde409d88aa43d0252a9cf65b5762600e4bcd67042d90c115/work,nouserxattr)
overlay on /var/lib/docker/overlay2/938581b609a28a034712ff9fabd045dc92d05c4634357047889ee20767b16f96/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/IBJXG2AYIK2E77ARYKH7PFFMJ5:/var/lib/docker/overlay2/l/6L4SFZH362ZXJQJRJDI5CDOKWJ:/var/lib/docker/overlay2/l/ESJIO3XPLLEVY46UFP33PXL4GZ:/var/lib/docker/overlay2/l/INVIWEB46WAXWQTVDQVMIY5ZXL:/var/lib/docker/overlay2/l/YR3TRLZZ6TOB3MSBXDDO3CTX4X:/var/lib/docker/overlay2/l/QX5QXPW5FIR4YY7BL3U3IBZ3ZA:/var/lib/docker/overlay2/l/KC6545WKBMTRZE2ABCCTNCE4VB:/var/lib/docker/overlay2/l/4QSOXFDL47BDW3K2LM7S4UJZRB,upperdir=/var/lib/docker/overlay2/938581b609a28a034712ff9fabd045dc92d05c4634357047889ee20767b16f96/diff,workdir=/var/lib/docker/overlay2/938581b609a28a034712ff9fabd045dc92d05c4634357047889ee20767b16f96/work,nouserxattr)
nsfs on /run/docker/netns/8135f7f9c02a type nsfs (rw)
nsfs on /run/docker/netns/75f0c10eb5ce type nsfs (rw)
nsfs on /run/docker/netns/cccbccfccfb8 type nsfs (rw)
nsfs on /run/docker/netns/270c1241d708 type nsfs (rw)
nsfs on /run/docker/netns/71d8b9b25051 type nsfs (rw)
nsfs on /run/docker/netns/4c3518f35600 type nsfs (rw)
nsfs on /run/docker/netns/93e5dd535dd0 type nsfs (rw)
nsfs on /run/docker/netns/a94108669794 type nsfs (rw)
nsfs on /run/docker/netns/f5b3624e585e type nsfs (rw)
nsfs on /run/docker/netns/d2735fb157b9 type nsfs (rw)
nsfs on /run/docker/netns/cfb920b5ad4d type nsfs (rw)
nsfs on /run/docker/netns/b57b85fbc275 type nsfs (rw)
nsfs on /run/docker/netns/8433b8d9ad03 type nsfs (rw)
overlay on /var/lib/docker/overlay2/9396d74521d25e784faff2d78946d205546c6791ce8520deae27c8b10d92a47b/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/YBWBA3W4KNOAY7DRWNVLN3R6NK:/var/lib/docker/overlay2/l/OXZOTOCFC756BTLTKNYVNZ2ADZ:/var/lib/docker/overlay2/l/LW73XA5B6EHUXLNXJONN3NMCGU:/var/lib/docker/overlay2/l/6MTNUWZZLKBAGEF5HTLYSZSLU2:/var/lib/docker/overlay2/l/OSKS2QW2E52DL7IUWSV7PARIOG:/var/lib/docker/overlay2/l/ORDDKX5L5MW2ZLPXC5KQMY3YRE:/var/lib/docker/overlay2/l/BLRJQDUOWBLJH657WRDAW2KJGV:/var/lib/docker/overlay2/l/CERBNXD27MLZ4COUT6ATBIL64R:/var/lib/docker/overlay2/l/J33L2IJ7AGW5OF6PWZHPXRJX2B,upperdir=/var/lib/docker/overlay2/9396d74521d25e784faff2d78946d205546c6791ce8520deae27c8b10d92a47b/diff,workdir=/var/lib/docker/overlay2/9396d74521d25e784faff2d78946d205546c6791ce8520deae27c8b10d92a47b/work,nouserxattr)
nsfs on /run/docker/netns/c51f59081508 type nsfs (rw)
overlay on /var/lib/docker/overlay2/b6f606e5e9b93d036f14c14a8c44f1a1b1c05d481242e2cc311cd6c195dbc49c/merged type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/PFW2MWPLE7PVNL7SPWMQRMLE76:/var/lib/docker/overlay2/l/WOP2GMWKHMNYIWHCSRCNYZ4VJY:/var/lib/docker/overlay2/l/IP6GDWEUHFZHFTTACT7W5BWPOR:/var/lib/docker/overlay2/l/NWHS4NDAFVRI3UUEQWDFC2AGNH:/var/lib/docker/overlay2/l/BKWVKLAHEMZHJRSZJVPUIUAH2P:/var/lib/docker/overlay2/l/UIXUWIZ62FA4OK2OESVIPH65CH:/var/lib/docker/overlay2/l/NYSG3AXUZAHMVMGJ7O2FOBAEBQ:/var/lib/docker/overlay2/l/MFILZEIQXMR245IGTRBN4OPPRJ:/var/lib/docker/overlay2/l/PYJTBPU7IXKN54H4OB76C2PEHK,upperdir=/var/lib/docker/overlay2/b6f606e5e9b93d036f14c14a8c44f1a1b1c05d481242e2cc311cd6c195dbc49c/diff,workdir=/var/lib/docker/overlay2/b6f606e5e9b93d036f14c14a8c44f1a1b1c05d481242e2cc311cd6c195dbc49c/work,nouserxattr)
nsfs on /run/docker/netns/603b0184ebf7 type nsfs (rw)
overlay on /var/lib/docker/overlay2/a2690c25ea13429fd17387eab87e2b8764555ad842f6beab49757d096688fd1d/merged type overlay (rw,relatime,lowerdir=l/CATHZXM3Q6XECNCCP2HAUDCS2G:l/ARUDTKZNEBJE7GDRRDMIDKLF5Q:l/JFRPEQPX4U2IQ6WQRY3LFL2VGC:l/ZXD4H2IBDDFV6M7OHSNFSIPEOL:l/E57H3BRFD3MLSEYCOTP527WTVM:l/FIXS2I4X22RSMFNGGPQJYMQNZH:l/7CGFGFC4J4L3FW6ASBLFC7FPKD:l/5XV64MNVQ5R4CMOLHRBPPPGWXY:l/AMEYUHOJRPF5U7XE6YPMLFI3AZ:l/KWBKP6PNIWMWTGZ3IU4BMJEQ5H:l/3WTPVCE3EYT2YO7OIKA2K26LQB:l/QTABKZBPHDBG5UUJYT7SLDVKN4:l/M3TVM4HRTAWVBGMNTR5POGIQXX:l/EHLA7SBZ4WLREV2L4OWBU3URIC:l/I2CPH2S4M7CXRDE4IVWPJXIPOU:l/CRBSAYNZSK3HBFOEEMO7HFRYXK:l/FJFIIR2QMEDUERDOODFTFVUMN2:l/6RPHGVF3LGMGE7R2V5ULEADSDN:l/2X5XWXICO6CPWPS7ZZRGBQTQEV:l/S5CWDVM4IDOKWGNNGVXJOHSFQU:l/S65KAQN4YQYTFLY4SBHKFLK45Y:l/S3HCYBB3WYONINDIQQ3DIQYX5I:l/4VNWPUJE7N6M6EODVRL6AQB7UQ:l/TAJPGFXMVZGJZFTYEDXWUMYGDO:l/2UHQ5DUUBH2WK4RWFXC6MSLR2Z:l/TNOH5JSGO3CIJSAMDVIEOBD7UP:l/KS324FLCZ6VMV6WV6AQCGOBXEP:l/Y2VFXJXLJCSPIK4CTVOKGDVZFL:l/DRRJILLJRGROCWZHWMMKLNXFQZ:l/DI3UWOXUCOYRS6WOVZKQFVYYOQ:l/VRDU6GHAJUGBBRD2UWP7UHLZOG:l/3M7276NBPMAIJHS4ZKRRSB4W2F:l/2TKFGATO22PMNFJDIVM46JBY35:l/WN6WZAZFZUDJMTL23V45T4452E:l/F7ZU4NLOABFHQIBBM76D5PY6ZP:l/XJAGPWFII5M5SBUAUXGCTQXOQG:l/A3WW2ZIEPNCCAWFFM6SLVABPQJ:l/OJQX4CWSYA6NXR62U3XZTLM4CO:l/AG6EVCZPU6GCPWQHOFWIYALPXN:l/GNES6BIA24ARYRPTTE37TJKBVT:l/BJGQFGYUWCR7ZU5UZFXYPVAOV7:l/47YQ5XUDF47JQ5NCZCLT2JF7XM:l/EEH5OEMYP3GPGHNNQ2N7TKBJDH:l/DXE7YFEEQCTFBXWRVLWFALWNID:l/DDG63XB724DKG7VLMEIKUF77PL:l/FJGHZG4VN7QUNYKNSYB3IIJA7D:l/UDGPA6LBO6NNDWKQJW3VGBCJN7:l/IVYG4ZGH2SCYIQG57F6W4VUQ7E:l/PRVJ5NUAJAYBYJVCVPSQNLRGAJ:l/PQI7YL2SQ6JVKGTGNYQXFUAO54:l/6HDX5TLRTZXGDHN5XXLWJVPH7E:l/T52FH7IILBHVCDAXKVKF62V5ZO:l/DG47WPFKOLZ345P5WGYZMGYH2X:l/ZKPD4HJXUE4QK4WUKK6UUM742C:l/RBOEIU7PUB32G5ZEDQOLNKQVRW:l/ZKT32EW3KSVCVICK3UIU5UEMCY:l/K3TTH6LM63LDM3XTWUMWQMVCAD:l/LUTQFNX2NITQF4C4IBC5QFZRPR:l/SUFR23PYSUKG2BWPC5ENA25LCZ:l/W3TCIWUCRIOXKDGUNO6BH3WP3Z:l/N6ZZPIC4NS2UQB5WFPSNHFNU3K:l/L6UABFT4PBD4SMN2QBHQZELA6Z:l/2R6ATMP5A3RJEOVLNQ7W7KCS7K:l/6WGNZWIEOX6VPQNBIRW43OGHPW:l/A6EYBOZWFLF5KIOPUCSNQ3S4BV:l/4EUWFTGQWG334AD3DMQKTU2YPC:l/F5AZIQR6NWL6DZOPDK5KSDLB6M:l/AONSKPPJ46OMHZEAUY5JWU3IC7:l/H56DIVWEIIAVSXDMMGJORQQ55V:l/PCFQBNM5V353BDUUNQUASOYZRX:l/I3CC3ET5675SOUCX5XEIYCZLHC:l/A7XGEEMG5IQ677B66DSX6Y6AJ4:l/T7N32FUJYBKZF7JUAY6225BY5U:l/255QBCZ3RQQWUUDB66UZOQDZEC:l/7TK3IGZ7U7PXNKPZKS5CDI2E2P:l/XA4HHK7APDIJGAOIPPSWD4KPGW,upperdir=a2690c25ea13429fd17387eab87e2b8764555ad842f6beab49757d096688fd1d/diff,workdir=a2690c25ea13429fd17387eab87e2b8764555ad842f6beab49757d096688fd1d/work,nouserxattr)
nsfs on /run/docker/netns/c35754ca6636 type nsfs (rw)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1635520k,nr_inodes=408880,mode=700,uid=1000,gid=1000,inode64)

 

Posted
7 hours ago, visproduction said:

I did find this mentioned in troubeshooting - Mounting:

I looked into it and ran the command that was mentioned for troubleshooting, but it didn’t give any results.

On 12/17/2025 at 4:34 PM, pepeze12 said:
nfsstat -c

Client rpc stats:
calls      retrans    authrefrsh
2536       0          2537 

 

7 hours ago, visproduction said:

Permission Issues: Ensure that the exported directory on the server has the correct permissions and that the client has the necessary access rights.

The setup worked fine for two days and then suddenly stopped working, which is why I don’t think it’s a permissions issue.

 

Posted

Yes, the mount output for the NFS volumes you posted is what I was asking for.

Did you change mount options from hard to soft? Were you already having problems losing the path in the container when you did this? Hard is better if you intend to write to that filesystem AND if there are hiccups the client would wait indefinitely instead of timing out with an error. If anything you'd then know that something about the connectivity to the volume isn't right.

 

Posted

Also - which container image are you using and have you tried a different one?

Posted
10 hours ago, Q-Droid said:

Did you change mount options from hard to soft?

Yes, but I’ve had this problem for over a year and finally had enough, so I started looking for help here. I don’t know anymore whether switching it to hard made it worse or if it stayed the same.

10 hours ago, Q-Droid said:

Were you already having problems losing the path in the container when you did this?

Yes, I already had the same issues before. As I explained, I don’t remember if it was worse, but it was definitely still a problem.

9 hours ago, Q-Droid said:

Also - which container image are you using and have you tried a different one?

I am using:

image: emby/embyserver:latest

I discussed this topic with ChatGPT, and it mentioned that periodic rescans might cause issues. I’ve noticed that running ls on the NFS mount sometimes takes a while before returning any output. I’m wondering if this delay could cause Emby’s automatic scans to time out and temporarily lose access to the path.

I disabled “Enable real-time monitoring” on one of my libraries to check whether this is the cause.

I’ve applied the NFS settings to all containers, but I don’t expect any improvement because the setup was already very similar before and the problems existed back then as well.

192.168.41.2:/mnt/Main-HDD/nfs/docker-volumes/emby-movies  /mnt/nfs/emby-movies  nfs  rw,hard,nfsvers=4.1,_netdev,noatime  0  0


 

Posted (edited)
5 hours ago, pepeze12 said:

I discussed this topic with ChatGPT, and it mentioned that periodic rescans might cause issues. I’ve noticed that running ls on the NFS mount sometimes takes a while before returning any output. I’m wondering if this delay could cause Emby’s automatic scans to time out and temporarily lose access to the path.

That response is one of the reasons I'm not a fan of AI tools. Scans could reveal a problem, not create it.

Problems when running basic host commands on the NFS mounts is a clear sign that something is not quite right. Are any of your VMs pausing or suspending somehow? Is your hypervisor host overcommitted and running out of resources?

I guess you could run with "hard" for a while and see what happens. I'm curious to see if the shares are lost or the container hangs now with the different mount option.

How are you managing your docker containers? Have you compared the volumes sections between them? I'm wondering if bind propagation options could help in this scenario.

 

Edited by Q-Droid
Posted

Sorry for the late reply, the holidays have been quite stressful. One of my boot disks failed or had a bad connection, and my server was rebooting every 12 hours over the last few days. But I’m using ZFS, so that shouldn’t be a problem for data stored on it.

I’m not sure whether that was the problem or if it’s something else. It has been working so far, but I don’t think that was the actual solution or the core problem with Emby. I have a boot order configured so that TrueNAS starts before the Docker host, so every time I rebooted the system, it worked. That shouldn’t be an issue.

On 12/20/2025 at 2:39 PM, Q-Droid said:

Are any of your VMs pausing or suspending somehow? Is your hypervisor host overcommitted and running out of resources?

My server has 64 GB of RAM and an AMD EPYC 4364P 8-core processor. It has an average load of 2–5%, and about 60% of the RAM is used. I’m only running these three VMs. The Docker host has 16 GB of RAM and 4 cores, and it’s not using all of that, at least if htop is telling the truth. I don’t think system load is the problem.

I will check the logs the next time Emby goes down. I have a feeling it might happen again today, and I hope I’ll see more in the logs now that I switched to the “hard” NFS option.

On 12/20/2025 at 2:39 PM, Q-Droid said:

How are you managing your docker containers? Have you compared the volumes sections between them? I'm wondering if bind propagation options could help in this scenario.

I’m managing everything via the CLI and Nano: yes, sorry, Nano, not vi 😄. I’m using Docker Compose.

Yesterday, after chatting with ChatGPT, I added this option to the Docker Compose file:

- /mnt/nfs:/mnt/nfs:rw,rshared

It’s running fine now, but this whole NFS topic is new to me, and I’m not very experienced with it. I didn’t know that scanning uses basic NFS properties.

On 12/20/2025 at 2:39 PM, Q-Droid said:

That response is one of the reasons I'm not a fan of AI tools.

My homelab is mainly for learning, and for me, ChatGPT is a good tool to learn quickly, combined with other sources to finetune things and experiment.

 

On 12/22/2025 at 7:19 AM, Luke said:

?

Luke, can you take a look at my private chat? It’s not related to the topic here, but you’ll understand once you read it. Thanks 😄

  • Like 1
visproduction
Posted (edited)

Interesting similar issues, possibly related, mounting inside firewall port error - (old post from 2008)?
https://www.linuxquestions.org/questions/linux-server-73/nfs-mount-timeout-4175590505/

and

https://serverfault.com/questions/482479/cant-mount-nfs-volume-time-out

Other related timeout issues with NFS mount from search:
https://duckduckgo.com/?q=nfs+mount+error+using+latest+timeout&ia=web

Edited by visproduction
Posted

Hi, did you figure anything out related to this?

Posted

Hey,

@visproduction you sent links regarding connection problems with NFS, but I don’t have any connection issues. I think Docker has a problem mounting the NFS share. According to the logs on the Docker host system, there were no connection interruptions to the NFS server.

It worked over the last few days after specifying the following:

On 12/23/2025 at 10:50 AM, pepeze12 said:
- /mnt/nfs:/mnt/nfs:rw,rshared

I’m not calling this the solution because I don’t understand the difference between not specifying it and specifying it. It has been working for a longer time now, but I can’t say whether it’s stable.

I want to look it up and understand the difference.

So for now, it’s only a partial solution, since it has been working longer so far.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...