DiskProvider issue

Sonarr version 2.0.0.4689:
Mono version 4.2.3:
OS: Western digital - MyCloud Docker

Full log file

Description of issue:

I have installed docker build on WD Mycloud PR2100 Docker support comes by default on WD Mycloud i guess its comes preinstalled in their latest update, all i had to do is pull and setup the sonarr build using the following SSH commands :

sudo docker pull linuxserver/sonarr
sudo docker create --name=sonarr
--restart=always 
-p 8989:8989 
-e PUID=1004 
-e PGID=1000 
-v /dev/rtc:/dev/rtc:ro 
-v /shares/Public/sonarr/config:/config 
-v /shares/TV/Series:/tv 
-v /shares/Public/sonarr/downloads:/downloads 
linuxserver/sonarr

all folders mentioned above are set to public access and I have created a separate user for sonarr that have Read & Write access to above folders.

Everything is working fine sonar is connected to my plex server , my series folder, the download client and downloading and copying works seamlessly but I keep getting the following disturbing errors :

Couldn't get free space for /mnt/HD/HD_a2/Nas_Prog/_docker/devicemapper: No such file or directory

System.InvalidOperationException: No such file or directory ---> Mono.Unix.UnixIOException: No such file or directory [ENOENT].
  --- End of inner exception stack trace ---
  at Mono.Unix.UnixDriveInfo.Refresh (Boolean throwException) <0x407f41d0 + 0x000e3> in <filename unknown>:0 
  at Mono.Unix.UnixDriveInfo.Refresh () <0x407f41a0 + 0x00013> in <filename unknown>:0 
  at Mono.Unix.UnixDriveInfo.get_AvailableFreeSpace () <0x407f4120 + 0x0000f> in <filename unknown>:0 
  at NzbDrone.Mono.Disk.ProcMount.get_AvailableFreeSpace () [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Mono\Disk\ProcMount.cs:23 
  at NzbDrone.Mono.Disk.DiskProvider.GetAvailableSpace (System.String path) [0x00079] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Mono\Disk\DiskProvider.cs:53

/mnt/HD/HD_a2/Nas_Prog/_docker/devicemapper
Is this a path you setup? It might be something internal to docker, though I haven’t seen it before, so maybe limited to this platform.

Please post ((trace logs)) that include this error.

I’ve noticed that once i access the settings page these errors shows up , bellow is the link of the trace file.

https://drive.google.com/open?id=0B-HC8dFMIGbKN25maVY1N3lPMUE

I wonder what /proc/mounts contains inside the docker.

Edit: And while we’re at it, Add Series -> Import Existing -> Recent Folders.

1 Like

This is whats inside the /proc/mounts

/mnt/HD/HD_a2/Public/sonarr/downloads$ cat /proc/mounts
rootfs / rootfs rw 0 0
sysfs /sys sysfs rw,relatime 0 0
mdev /dev tmpfs rw,relatime 0 0
proc /proc proc rw,relatime 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
squash /usr/local/tmp ramfs rw,relatime,size=100m 0 0
/dev/loop0 /usr/local/modules squashfs ro,relatime 0 0
tmpfs /usr/local/config tmpfs rw,relatime,size=8192k,nr_inodes=0 0 0
tmpfs /mnt tmpfs rw,relatime,size=1024k,nr_inodes=0 0 0
tmpfs /var/log tmpfs rw,relatime,size=40960k,nr_inodes=0 0 0
tmpfs /tmp tmpfs rw,relatime,size=102400k,nr_inodes=20000 0 0
tmpfs /tmp/wdnas_snap_config tmpfs rw,relatime,size=8192k,nr_inodes=0 0 0
/dev/sdb4 /mnt/HD_b4 ext4 rw,relatime,stripe=128,data=ordered 0 0
/dev/sda4 /mnt/HD_a4 ext4 rw,relatime,stripe=128,data=ordered 0 0
/dev/md1 /mnt/HD/HD_a2 ext4 rw,noatime,nodiratime,nobarrier,quota,usrquota,grpquota,stripe=128,data=ordered 0 0
cgroup /sys/fs/cgroup tmpfs rw,relatime,mode=755 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/cpu cgroup rw,relatime,cpu 0 0
cgroup /sys/fs/cgroup/cpuacct cgroup rw,relatime,cpuacct 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,relatime,devices 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,relatime,freezer 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,relatime,blkio 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,relatime,perf_event 0 0
/dev/md1 /mnt/HD/HD_a2/Nas_Prog/_docker/devicemapper ext4 rw,noatime,nodiratime,nobarrier,quota,usrquota,grpquota,stripe=128,data=ordered 0 0
/dev/mapper/docker-9:1-124264451-ad11ffb1b8031412414a4bc360bbe37c0398bc4236aacbeb0c11d55bfd2dbabc /mnt/HD/HD_a2/Nas_Prog/_docker/devicemapper/mnt/ad11ffb1b8031412414a4bc360bbe37c0398bc4236aacbeb0c11d55bfd2dbabc ext4 rw,relatime,data=ordered 0 0
proc /var/run/docker/netns/ad11ffb1b803 proc rw,relatime 0 0

Recent folders i am unable to locate that but the following is accessible from import series :
app
bin
config
defaults
dev
downloads
etc
home
lib
lib64
libexec
media
mnt
opt
proc
root
run
sbin
srv
sys
tmp
tv – where all my videos are located parameter in the create container -v /shares/TV/Series:/tv
usr
var

Did you run cat /proc/mounts inside the docker container? Coz based on that path I suspect you ran it outside, in the host.

with Recent folders i meant:

Yes your right i ran it outside of the container , following i ran from inside the container folder :

/mnt/HD/HD_a2/Nas_Prog/_docker/containers/ad11ffb1b8031412414a4bc360bbe37c0398bc4236aacbeb0c11d55bfd2dbabc$ cat /proc/mounts
rootfs / rootfs rw 0 0
sysfs /sys sysfs rw,relatime 0 0
mdev /dev tmpfs rw,relatime 0 0
proc /proc proc rw,relatime 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
squash /usr/local/tmp ramfs rw,relatime,size=100m 0 0
/dev/loop0 /usr/local/modules squashfs ro,relatime 0 0
tmpfs /usr/local/config tmpfs rw,relatime,size=8192k,nr_inodes=0 0 0
tmpfs /mnt tmpfs rw,relatime,size=1024k,nr_inodes=0 0 0
tmpfs /var/log tmpfs rw,relatime,size=40960k,nr_inodes=0 0 0
tmpfs /tmp tmpfs rw,relatime,size=102400k,nr_inodes=20000 0 0
tmpfs /tmp/wdnas_snap_config tmpfs rw,relatime,size=8192k,nr_inodes=0 0 0
/dev/sdb4 /mnt/HD_b4 ext4 rw,relatime,stripe=128,data=ordered 0 0
/dev/sda4 /mnt/HD_a4 ext4 rw,relatime,stripe=128,data=ordered 0 0
/dev/md1 /mnt/HD/HD_a2 ext4 rw,noatime,nodiratime,nobarrier,quota,usrquota,grpquota,stripe=128,data=ordered 0 0
cgroup /sys/fs/cgroup tmpfs rw,relatime,mode=755 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/cpu cgroup rw,relatime,cpu 0 0
cgroup /sys/fs/cgroup/cpuacct cgroup rw,relatime,cpuacct 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,relatime,devices 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,relatime,freezer 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,relatime,blkio 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,relatime,perf_event 0 0
/dev/md1 /mnt/HD/HD_a2/Nas_Prog/_docker/devicemapper ext4 rw,noatime,nodiratime,nobarrier,quota,usrquota,grpquota,stripe=128,data=ordered 0 0
/dev/mapper/docker-9:1-124264451-ad11ffb1b8031412414a4bc360bbe37c0398bc4236aacbeb0c11d55bfd2dbabc /mnt/HD/HD_a2/Nas_Prog/_docker/devicemapper/mnt/ad11ffb1b8031412414a4bc360bbe37c0398bc4236aacbeb0c11d55bfd2dbabc ext4 rw,relatime,data=ordered 0 0
proc /var/run/docker/netns/ad11ffb1b803 proc rw,relatime 0 0

Still facing the same error in the log, Anyone ?

@altajer Sorry for the late reply, I kinda missed it.

Seeing the line: /mnt/HD/HD_a2/Nas_Prog/_docker/containers/ad11ffb1b8031412414a4bc360bbe37c0398bc4236aacbeb0c11d55bfd2dbabc$ cat /proc/mounts
You’re simply running the command inside the folder not INSIDE THE CONTAINER.
docker exec ad11ffb cat /proc/mounts where ad11ffb is the container name/id, not sure if that’s ad11ffb.
docker exec runs the command inside the container, please read up on it to understand how that goes.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.