Need help with mounting problem

Hi,

I used the storage plugin to move /srv to a SATA-SSD. Afterwards I created the directory /srv/home/renne/Videos/. If a SATA-HDD is mounted to /srv/home/renne/Videos/ all directories in /srv/ except /srv/home and /srv/lxc directories vanish until /srv/home/renne/Videos/ is unmounted and the Turris Omnia is rebooted.

Does anyone have an idea what’s going wrong here or how to debug this?

suppose the sata-hdd should be mounted to the top/parent directory (/srv)

Before enabling /srv/home/renne/Videos/mount point:

root@turris:~# mount
/dev/mmcblk0p1 on / type btrfs (rw,noatime,ssd,space_cache,commit=5,subvolid=269,subvol=/@)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
none on /sys/fs/cgroup type cgroup (rw,relatime,cpuset,cpu,cpuacct,blkio,memory,devices,freezer,net_cls,pids,clone_children)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
/dev/sda on /srv type btrfs (rw,noatime,nodatasum,nodatacow,ssd,space_cache,subvolid=257,subvol=/@)
mountd(pid2610) on /tmp/run/mountd type autofs (rw,relatime,fd=5,pgrp=2607,timeout=60,minproto=5,maxproto=5,indirect)
/dev/sde1 on /tmp/run/mountd/sde1 type ext2 (rw,relatime,errors=continue)

root@turris:~# ls -ahl /srv/
drwxr-xr-x    1 root     root          38 Oct  3 21:11 .
drwxr-xr-x    1 root     root         152 Oct  3 20:41 ..
drwxr-xr-x    1 root     root           0 Jun 18 12:36 @
drwxr-xr-x    1 root     root          10 Oct  3 20:41 home
drwxr-xr-x    1 root     root          10 Oct  3 21:11 log
drwxr-xr-x    1 root     root          62 Oct  2 19:56 lxc
drwx------    1 mysql    root         306 Oct  7 17:24 mysql
drwxr-xr-x    1 root     root          18 Jul 24 20:00 www

root@turris:~# ls -ahl /srv/home/renne/Videos/
drwx------    1 renne    renne          0 Oct  3 21:35 .
drwxr-x---    1 renne    renne         12 Oct  3 20:49

After enabling /srv/home/renne/Videos/mount point in LUCI:

root@turris:~# mount
/dev/mmcblk0p1 on / type btrfs (rw,noatime,ssd,space_cache,commit=5,subvolid=269,subvol=/@)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
none on /sys/fs/cgroup type cgroup (rw,relatime,cpuset,cpu,cpuacct,blkio,memory,devices,freezer,net_cls,pids,clone_children)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
mountd(pid2610) on /tmp/run/mountd type autofs (rw,relatime,fd=5,pgrp=2607,timeout=60,minproto=5,maxproto=5,indirect)
/dev/sdb on /srv/home/renne/Videos type btrfs (rw,relatime,space_cache,subvolid=5,subvol=/)

root@turris:~# ls -ahl /srv/
drwxr-xr-x    1 root     root          14 Oct  3 20:52 .
drwxr-xr-x    1 root     root         152 Oct  3 20:41 ..
drwxr-xr-x    1 root     root          10 Oct  3 20:52 home
drwxr-xr-x    1 root     root          62 Oct  3 14:06 lxc

root@turris:~# ls -ahl /srv/home/renne/Videos/
drwxr-xr-x    1 renne    media        100 Oct  3 17:13 .
drwxr-xr-x    1 root     root          12 Oct  3 21:37 ..
drwxr-x---    1 renne    media          0 Jun 18 12:36 @
drwxr-x---    1 renne    media        134 Aug 18 13:01 Filme
drwxr-x---    1 renne    media       1.4K Sep 26 22:31 Movies
drwxr-x---    1 renne    media        212 Jan 22  2017 Musikvideos
drwxr-x---    1 renne    media          0 Oct  3 16:51 Serien
drwxr-x---    1 renne    media        368 Oct  3 16:51 Shows
drwxr-x---    1 renne    media        372 Jan 25  2017 VideoCalibration

/dev/sda on /srv type btrfs (rw,noatime,nodatasum,nodatacow,ssd,space_cache,subvolid=257,subvol=/@) seems to vanish when /srv/home/renne/Videos/ is enabled.

not sure it works that you got 2 different hdd/partitions (sda / sdb) mounted to the same root point /srv. One is probably cancelling out the other one judging by the output of mount.

Do not know where home andlxc are mapped to but neither seems to be on sda or sdb but on the router’s internal drive or else should not show up in both mount scenarios.