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
ata-HGST_HTS541010A9E680_J510007102240P
ata-Hitachi_HTS547575A9E384_J2540054GA581E
ata-ST9500325AS_5VE05S4Y
ata-TOSHIBA_MK1059GSM_Z179PAH3T
ata-WDC_WD20NPVX-00EA4T0_WD-WXA1AA4J7A8U
ata-WDC_WD30EZRX-00D8PB0_WD-WCC4N1258378
usb-TDK_LoR_Trans-It_Drive_07880E2B0166-0:0
usb-Verico_Evolution_Lite_09021000000000000000001200-0:0
usb-Verico_Evolution_Lite_09021000000000000000001200-0:0-part1
usb-Verico_Evolution_Lite_09021000000000000000001200-0:0-part2
wwn-0x50000393b2582e99
wwn-0x5000c500122f69bc
wwn-0x5000cca644c49f74
wwn-0x5000cca766c0f0bc
wwn-0x50014ee20a37d668
wwn-0x50014ee20b4c68cc
[root@box disk]# ls by-label
media personal rockstor_rockstor scratch
[root@box disk]# ls by-path
pci-0000:00:12.2-usb-0:5:1.0-scsi-0:0:0:0 pci-0000:00:13.2-usb-0:1:1.0-scsi-0:0:0:0-part1
pci-0000:00:13.2-usb-0:1:1.0-scsi-0:0:0:0 pci-0000:00:13.2-usb-0:1:1.0-scsi-0:0:0:0-part2
[root@box disk]# ls by-uuid
63de9949-561b-482e-ae40-0a9d2d647a1a f47ddf0b-d98e-4d4a-96ce-b988874cfa06
6ea88ba3-a330-410e-8239-d4dcec9715ae fcc5deac-fb8d-46fb-8971-e12567416c7c
92887720-fe80-49a7-9445-160f5b72a39f
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