/mnt2/* is empty (subfolders mounted on /)

Hi,

we just moved to a new flat and when starting up the NAS I found out that all my mounts are gone. I boot from a USB stick and maybe I switched the USB port; not sure if this might have caused the issue.

Anyway, all the folders in /mnt2 are now local directories of / according to df; mount is also not showing the shares.

[root@fileserver share]# mount | grep mnt2
/dev/sdd3 on /var/lib/backuppc type btrfs (rw,noatime,space_cache,subvolid=257,subvol=/root/mnt2/backuppc)
/dev/sda on /mnt2/big_data type btrfs (rw,relatime,ssd,space_cache,subvolid=5,subvol=/)
/dev/sdg on /mnt2/Backup type btrfs (rw,relatime,ssd,space_cache,subvolid=5,subvol=/)
/dev/sdd3 on /mnt2/rockstor_rockstor type btrfs (rw,relatime,space_cache,subvolid=5,subvol=/)
/dev/sdg on /mnt2/backuppc type btrfs (rw,relatime,ssd,space_cache,subvolid=257,subvol=/backuppc)
/dev/sdd3 on /mnt2/root type btrfs (rw,relatime,space_cache,subvolid=257,subvol=/root)
/dev/sda on /mnt2/rockons type btrfs (rw,relatime,ssd,space_cache,subvolid=258,subvol=/rockons)

[root@fileserver mnt2]# df -h /mnt2/*
Filesystem Size Used Avail Use% Mounted on
/dev/sdg 932G 273G 651G 30% /mnt2/Backup
/dev/sdg 932G 273G 651G 30% /mnt2/backuppc
/dev/sda 932G 131G 800G 15% /mnt2/big_data
/dev/sdd3 20G 19G 124M 100% /
/dev/sdd3 20G 19G 124M 100% /
/dev/sdd3 20G 19G 124M 100% /
/dev/sdd3 20G 19G 124M 100% /
/dev/sdd3 20G 19G 124M 100% /
/dev/sdd3 20G 19G 124M 100% /mnt2/rockstor_rockstor
/dev/sdd3 20G 19G 124M 100% /mnt2/root
/dev/sdd3 20G 19G 124M 100% /
[root@fileserver mnt2]# ls -l
total 48
drwxr-xr-x 1 root root 16 Aug 5 22:06 Backup
drwxr-xr-x 1 root root 66 Aug 5 22:26 backuppc
drwxr-xr-x 1 root root 122 Aug 21 15:29 big_data
drwxr-xr-x 1 greggy greggy 72 Aug 21 20:45 mac_backup (-> missing)
drwxr-xr-x 1 root root 0 Aug 3 21:55 owncloud-config (-> missing)
drwxr-xr-x 1 root root 0 Aug 3 21:55 owncloud-data (-> missing)
drwxr-xr-x 1 root root 0 Aug 3 21:55 owncloud-db (-> missing)
drwxr-xr-x 1 root root 0 Aug 3 21:53 rockons
drwxr-xr-x 1 root root 8 Aug 3 21:39 rockstor_rockstor
dr-xr-xr-x. 1 root root 204 Aug 21 20:44 root
drwxr-xr-x 1 root root 40 Aug 21 15:12 share (-> missing)

When I look into Rockstor at the usage of the filesystems, it is showing correctly and my data can be found in /mnt2/big_data (this is the pool).

How can I get those mount points fixed?

Thanks a lot,

Gregory

Ok, rebooting seems to have solved the issue, but this is not really a clean solution. I remember I had the same issue with the previous version of Rockstor.

@greggy Glad you are sorted again. I was just about to suggest you reboot. There is at least one ‘corner case’ that I am hoping we have now weeded out and fixed in the testing channel updates that can account for this behaviour if a certain drive renaming sequence happens.

What version of Rockstor did you see this behaviour on?

I’m currently running 3.8-14 with a yum update (before the issue) from today (21 aug 2016).

@greggy OK yes shortly after 3.8-14 release ie close to the beginning of the testing channel updates in 3.8-14.02 we changed the way drive names were represented internally. It is hoped that this addressed a long standing deep issue that can lead to what I think you experienced. We have yet to have confirmation that this reworking has in fact fixed the issue however so please do report back if you experience the same after the next stable release. Bit tricky to confirm as none of the core developers have any systems that reliable trigger this buggy behaviour but we are awaiting a few suspected prior reports of users with systems that were suspected as triggering this bug. Please see the related:

which is linked to in the referenced code changes above.

Hope your move went better than your initial Rockstor boot did :slight_smile: