Page 1 of 1
Hdd order

Posted:
Sat Jun 27, 2015 1:54 pm
by samrise
Hi!
Just did a clean install of fvdw-sl-16 using 5.5 console and i had to switch slot 5 hd to slot 1 to make it work. Seems like 5.5 console is changing disks order and assuming slot 5 is sda. The first time i try to do this clean install, after all was done and booted, i was still using old firmware. Then i noticed that my install attempt was present on /dev/sde. I deleted all partitions on sda and sde just to make sure, did a new install and after reboot it didnt boot. So i moved disk on slot 5 (sde) to slot 1 and voilá.
Re: Hdd order

Posted:
Sun Jun 28, 2015 8:55 am
by fvdw
Thanks for this feedback,
:scratch will have a look at the standalone kernel. It should use a memory map to set the device names to the bus slots just like the normal kernel.
Re: Hdd order

Posted:
Mon Jun 29, 2015 9:34 pm
by fvdw
I checked the code but it should be ok
Would it be possible for you to load the standalone kernel as supplied in fvdw-sl console 5.5 and post the output of the command
- Code: Select all
dmesg
This output will show to which bus number the kernel assigns the drive letters
thkx
Re: Hdd order

Posted:
Mon Aug 10, 2015 4:58 pm
by samrise
I completly forget about this. I had to load standalone kernel trying to deal with some raid5 problems. Dmesg can be found here:
viewtopic.php?p=19405#p19405- Code: Select all
root@(none):/ # cat /proc/partitions
major minor #blocks name
8 0 976762584 sde
8 4 1 sde4
8 5 835380 sde5
8 6 64260 sde6
8 7 514080 sde7
8 8 973474740 sde8
8 16 976762584 sdd
8 20 1 sdd4
8 21 835380 sdd5
8 22 64260 sdd6
8 23 514080 sdd7
8 24 973474740 sdd8
8 32 976762584 sdc
8 36 1 sdc4
8 37 835380 sdc5
8 38 64260 sdc6
8 39 514080 sdc7
8 40 973474740 sdc8
8 48 976762584 sdb
8 52 1 sdb4
8 53 835380 sdb5
8 54 64260 sdb6
8 55 514080 sdb7
8 56 973474740 sdb8
8 64 976762584 sda
8 65 514080 sda1
8 66 514080 sda2
8 67 514080 sda3
8 68 1 sda4
8 69 835380 sda5
8 70 64260 sda6
8 71 514080 sda7
8 72 973482772 sda8
root@(none):/ #
sde contains firmware, but when it boots sde becomes sda.
Re: Hdd order

Posted:
Mon Aug 10, 2015 5:05 pm
by Jocko
Indeed Lacie uses a custom settings for block dev.
So from your output, the kernel fails to restore the disk map (sde => sda,...) and something must be deepen on this side.
Re: Hdd order

Posted:
Mon Aug 10, 2015 5:53 pm
by samrise
Maybe this helps also:
- Code: Select all
root@(none):/ # fdisk -l
Disk /dev/sde: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sde1 9 72 514080 83 Linux
/dev/sde2 73 136 514080 83 Linux
/dev/sde3 137 200 514080 82 Linux swap
/dev/sde4 201 121601 975153532+ 5 Extended
/dev/sde5 209 312 835380 83 Linux
/dev/sde6 321 328 64260 83 Linux
/dev/sde7 337 400 514080 83 Linux
/dev/sde8 409 121601 973482772+ fd Linux raid autodetect
Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd4 201 121600 975145500 5 Extended
/dev/sdd5 209 312 835380 83 Linux
/dev/sdd6 321 328 64260 83 Linux
/dev/sdd7 337 400 514080 83 Linux
/dev/sdd8 409 121600 973474740 fd Linux raid autodetect
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc4 201 121600 975145500 5 Extended
/dev/sdc5 209 312 835380 83 Linux
/dev/sdc6 321 328 64260 83 Linux
/dev/sdc7 337 400 514080 83 Linux
/dev/sdc8 409 121600 973474740 fd Linux raid autodetect
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb4 201 121600 975145500 5 Extended
/dev/sdb5 209 312 835380 83 Linux
/dev/sdb6 321 328 64260 83 Linux
/dev/sdb7 337 400 514080 83 Linux
/dev/sdb8 409 121600 973474740 fd Linux raid autodetect
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda4 201 121600 975145500 5 Extended
/dev/sda5 209 312 835380 83 Linux
/dev/sda6 321 328 64260 83 Linux
/dev/sda7 337 400 514080 83 Linux
/dev/sda8 409 121600 973474740 fd Linux raid autodetect