Remove unnecessary "disks" from System > Status

Sonarr version (exact version): 2.0.0.5223
Mono version (if Sonarr is not running on Windows): 5.10.1.47
OS: docker (Linuxservers’)
Description of issue:

I see the following locations in my sonarr docker (also radarr), under System > Status:

/
/tv
/config
/downloads

These are normal, it’s the root of the disk, a mount where sorted series live, a mount for downloaded files (shared with download clients) and a mount for the config so settings survive a docker reboot…

But then, these are also in there:

/etc/resolv.conf
/etc/hostname
/etc/hosts

I don’t know if it’s something docker-specific, mono, sonarr, … but hiding these in the table would make more sense.

Sonarr has pulled in the available volumes and shown those, though I’m not against showing only the relative volumes. @Taloth what do you think?

Yeah, as I say, I just thought it’s odd, maybe confusing for other people. I’ve only gotten around to finally asking about it, they’ve been there “forever” (aka since I moved everything to docker). Shows how important I think it is :smile:
But it’s a nice-to-have…

Thirrian, post the complete output of /proc/mounts and /proc/filesystems, from within the container obviously.

@markus101 We can probably filter out /etc/ like the others, but I prefer to check the ProcMounts first, see if it has a useful fs type we can filter on.

PS: Yes, those are docker specific since docker uses those to do it’s dns magic.

Can i suggest that it stays as is but allows you to hide / unhide instead

Wow, this took entirely too long to provide, sorry @Taloth
I forgot all about it…

root@Sonarr:/# cat /proc/mounts
rootfs / rootfs rw 0 0
none / aufs rw,relatime,si=8345bbae2f2995b8,dio,dirperm1 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666 0 0
sysfs /sys sysfs ro,nosuid,nodev,noexec,relatime 0 0
tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,relatime,mode=755 0 0
cgroup /sys/fs/cgroup/cpuset cgroup ro,nosuid,nodev,noexec,relatime,cpuset,release_agent=/run/cgmanager/agents/cgm-release-agent.cpuset,clone_children 0 0
cgroup /sys/fs/cgroup/cpu cgroup ro,nosuid,nodev,noexec,relatime,cpu,release_agent=/run/cgmanager/agents/cgm-release-agent.cpu 0 0
cgroup /sys/fs/cgroup/cpuacct cgroup ro,nosuid,nodev,noexec,relatime,cpuacct,release_agent=/run/cgmanager/agents/cgm-release-agent.cpuacct 0 0
cgroup /sys/fs/cgroup/memory cgroup ro,nosuid,nodev,noexec,relatime,memory,release_agent=/run/cgmanager/agents/cgm-release-agent.memory 0 0
cgroup /sys/fs/cgroup/devices cgroup ro,nosuid,nodev,noexec,relatime,devices,release_agent=/run/cgmanager/agents/cgm-release-agent.devices 0 0
cgroup /sys/fs/cgroup/freezer cgroup ro,nosuid,nodev,noexec,relatime,freezer,release_agent=/run/cgmanager/agents/cgm-release-agent.freezer 0 0
cgroup /sys/fs/cgroup/blkio cgroup ro,nosuid,nodev,noexec,relatime,blkio,release_agent=/run/cgmanager/agents/cgm-release-agent.blkio 0 0
mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
/dev/vg1000/lv /tv ext4 rw,relatime,journal_checksum,synoacl,data=writeback,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
/dev/vg1000/lv /config ext4 rw,relatime,journal_checksum,synoacl,data=writeback,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
/dev/vg1000/lv /downloads ext4 rw,relatime,journal_checksum,synoacl,data=writeback,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
/dev/vg1000/lv /etc/resolv.conf ext4 rw,relatime,journal_checksum,synoacl,data=writeback,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
/dev/vg1000/lv /etc/hostname ext4 rw,relatime,journal_checksum,synoacl,data=writeback,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
/dev/vg1000/lv /etc/hosts ext4 rw,relatime,journal_checksum,synoacl,data=writeback,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=65536k 0 0
none /dev/console devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
proc /proc/bus proc ro,nosuid,nodev,noexec,relatime 0 0
proc /proc/fs proc ro,nosuid,nodev,noexec,relatime 0 0
proc /proc/irq proc ro,nosuid,nodev,noexec,relatime 0 0
proc /proc/sys proc ro,nosuid,nodev,noexec,relatime 0 0
proc /proc/sysrq-trigger proc ro,nosuid,nodev,noexec,relatime 0 0
tmpfs /proc/kcore tmpfs rw,nosuid,mode=755 0 0
tmpfs /proc/timer_list tmpfs rw,nosuid,mode=755 0 0
tmpfs /proc/sched_debug tmpfs rw,nosuid,mode=755 0 0
tmpfs /sys/firmware tmpfs ro,relatime 0 0
root@Sonarr:/# cat /proc/filesystems
nodev   sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   cgroup
nodev   cpuset
nodev   tmpfs
nodev   devtmpfs
nodev   binfmt_misc
nodev   configfs
nodev   debugfs
nodev   securityfs
nodev   sockfs
nodev   pipefs
nodev   anon_inodefs
nodev   rpc_pipefs
nodev   devpts
        ext3
        ext2
        ext4
nodev   ramfs
nodev   nfs
nodev   nfs4
nodev   mqueue
nodev   ecryptfs
        vfat
        fuseblk
nodev   fuse
nodev   fusectl
        hfsplus
        btrfs
        exfat
        iso9660
        udf
nodev   cifs
nodev   aufs

No difference between the /etc/* and /tv mount, so we’ll have to filter on the path.

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