System suddenly changing disk order from BIOS order
FedoraThis forum is for the discussion of the Fedora Project.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
sda has 2 primary partitions, sda1 300MB /boot ext4, sda2 rest of drive as the first VG in LV with full encryption (LUKS). The VG is subdivided with 9 LVs including the first of 2 swap files, swap01 which is additionally encrypted.
sdb has 1 primary partition setup as a 2nd VG and LUKS, using the full 500GB I had created 3 LVs, again one is swap02 and also additionally encrypted.
sdc has 1 primary partition setup as a 3rd VG and LUKS and 1 LV using the full 500GB of the drive.
I had decided that I wanted to move VG3 to a new 1TB. I removed /dev/sdc from LVM (vgremove, lvremove, and pvremove) leaving it as just a LUKS volume. My intent is to reuse it by expanding VG2 to use both sdb and sdc. The 1TB (WD1001FALS) is sdd and the 500GB that was sdd now is sde on a different host adapter. For some reason, all of a sudden sdb and sdc seem to have flip-flopped. What I have now is:
I have tried sapping the cables around, but only the BIOS sees the change, F12 still puts the 630AS drive as sdb and the 410AS drive as sdc. What gives? I don't want to attempt the expanding of the LUKS/LVM VG2 from what was sdb to include sdc if it's backwards.
The problem is with the drive that I removed from LVM. However I just did a swap again where the 2nd drive is switched with the 3rd drive and this time on the bootup the drives show up they way I need them to. So I have no idea what is happening. Also in LVM dm-0 is gone dm-1 is /dev/sdd1, dm-2 is /dev/sda2, and dm-3 is /dev/sdb1.