LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 06-04-2007, 09:00 AM   #1
QuantSuff
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Rep: Reputation: 0
RHEL3 - removing disks shifts LVM dev names downward?


Red Hat 3 (no udev, no devlabel)

If I have an LV with these member PV's:

--- Physical volumes ---
PV Name (#) /dev/sdj1 (1)
PV Status available / allocatable
Total PE / Free PE 268 / 0

PV Name (#) /dev/sdk1 (2)
PV Status available / allocatable
Total PE / Free PE 268 / 0

PV Name (#) /dev/sdn1 (3)
PV Status available / allocatable
Total PE / Free PE 267 / 0



If I remove the non-LVM disk /dev/sdm from the server,

1. at reboot, do you think that /dev/sdn will "move down" to be named /dev/sdm?

2. If so, will this break the LV?

LVM knows the PV UUID, so does it matter?

# pvdisplay /dev/sdn1
--- Physical volume ---
PV Name /dev/sdn1
VG Name u02vg
PV Size 8.40 GB [17623304 secs] / NOT usable 32.19 MB [LVM: 129 KB]
PV# 3
PV Status NOT available
Allocatable yes (but full)
Cur LV 1
PE Size (KByte) 32768
Total PE 267
Free PE 0
Allocated PE 267
PV UUID 1LU9sk-9876-gdLi-D4Pw-LMNO-ABCD-123456
 
Old 06-04-2007, 09:46 AM   #2
kromberg
Member
 
Registered: Feb 2007
Location: Colorado
Distribution: FC6, FC7 x86_64
Posts: 218

Rep: Reputation: 30
The device names in the volume group does not matter at all. It is the PV UUID that are very important to the volume group. Those are unique identifiers that gets associated to each physical device. Even is the /dev/ names change because drives are added and/or removed the PV UUID are still attached to the drives. That way the volume group knows what drives belong to it even though the /dev/ names change around.

Keith
 
Old 06-04-2007, 11:58 AM   #3
QuantSuff
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Original Poster
Rep: Reputation: 0
I was hoping that's how it would work.
If anyone else has firsthand experience confirming this, I'd certainly like to know. I'll set up a test instance, but wanted to make sure I was on the right track. Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
RHEL3 /dev/console seems dead cambie Linux - Enterprise 1 02-23-2007 07:25 PM
moving disks with software raid and LVM mastrboy Linux - General 8 09-30-2006 09:33 AM
Does making lvm on logical disks struck XP from installation? nirmaltom Linux - Software 2 07-29-2006 06:35 AM
Should I use JBOD or LVM? (spanning disks) sillygates Linux - Hardware 2 07-20-2006 08:07 PM
Manage disks on an existing system with LVM doris Linux - Hardware 1 03-02-2005 02:37 PM


All times are GMT -5. The time now is 07:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration