LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-16-2010, 07:57 PM   #1
hscast
Member
 
Registered: Mar 2005
Location: Atlanta, Ga.
Distribution: Fedora
Posts: 71

Rep: Reputation: 15
System suddenly changing disk order from BIOS order


When I first installed F12 I had as follows:
BIOS Drive udev assigned

SATA0 WD500AAKS /dev/sda
SATA1 ST3500630AS /dev/sdb
SATA2 ST3500410AS /dev/sdc
SATA3 ST3500418AS /dev/sdd

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:

BIOS Drive udev assigned

SATA0 WD500AAKS /dev/sda
SATA1 ST3500630AS /dev/sdc
SATA2 ST3500410AS /dev/sdb
SATA3 WD1001FALS /dev/sdd

SATA4 ST3500418AS /dev/sde

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.
 
Old 02-16-2010, 08:36 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Shouldn't the LVM meta-data handle all that for you ?. I'm presuming it does if you can still see all your data o.k. with the drives "moved".

I don't use LVM (or LUKS) BTW, so treat all advice appropriately, and subject to my sigline ...
 
Old 02-16-2010, 09:09 PM   #3
hscast
Member
 
Registered: Mar 2005
Location: Atlanta, Ga.
Distribution: Fedora
Posts: 71

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can I set the cups output order to always print in reverse order Thane Ubuntu 3 07-09-2018 09:49 PM
IBM NetVista no boot order in BIOS true_atlantis Linux - Hardware 5 04-04-2008 12:01 PM
nv_sata driver order doesn't agree with BIOS tvynr Linux - Hardware 9 11-01-2006 07:29 PM
Determine BIOS Drive Order tvynr Linux - Hardware 3 09-27-2006 03:23 PM
USB boot order BIOS settings NovaBurst Linux - Hardware 1 03-27-2005 11:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration