Continuing the discussion from Problems if device name changes:
Hi @suman, my motherboard likes to change the order of disks on every reboot, and it seems that Rockstor still isn’t happy about that. Most of my shares except /mnt2/rockstor_rockstor are not mounted on reboot. Is there something I can do to narrow down the issue? Also, could Rockstor maybe rely on /dev/disk/by-id instead of /dev/sdx?
Rockstor first attempts to mount pools by /dev/disk/by-label/[pool_name] and only if that path doesn’t exist, it tries to mount by /dev/[disk_one_in_the_pool]. Perhaps we can improve this logic.
When the problem occurs on your machine, how does the /dev/disk directory tree look like? Is it possible that by-label directory is not populated but by-id directory is? Yes, please do help us narrow it down and fix it
Hmm, right now the tree looks all normal to me (after manually mounting the missing shares):
[root@box disk]# ls by-id
[root@box disk]# ls by-label
media personal rockstor_rockstor scratch
[root@box disk]# ls by-path
[root@box disk]# ls by-uuid
Tell me what to do and I will experiment more later
There’s also this minor annoyance that because my system disk is partitioned and others are not, in the WebUI I always see some phantom disks appear on reboot like /dev/sda2, /dev/sdg2…, which could be avoided if sdX aren’t used at all