[linux-lvm] disk naming

Patrick Caulfield caulfield at sistina.com
Sat Jan 4 03:59:02 UTC 2003


On Sat, Jan 04, 2003 at 01:17:43AM -0600, Steven Lembark wrote:
> 
> >NOPE, NOPE, NOPE.
> >
> >LVM writes a UUID to each disk and uses that as the PV identifier. it
> >does NOT matter what it is called to the kernel. (as long as the device
> >actually visible  to the code).*
> >
> >I regularly plug and unplug disks around LVM systems and it works just
> >fine.
> 
> And you move the SCSI cards around so that their bus
> addresses are changed w/o having any effect on LVM?
 
No, but that makes no difference either. Linux allocates the first disk as sda
and the second as sdb regardless of whether they are on the same controller or
not.

LVM uses the UUID to identify PVs, NOT major/minor numbers or names (didn't I
just say that?)


-- 

patrick





More information about the linux-lvm mailing list