[linux-lvm] PV Move

Joe Thornber thornber at sistina.com
Thu Aug 7 13:02:02 UTC 2003


On Thu, Aug 07, 2003 at 06:37:35PM +0100, Rupert Hair wrote:
> I have just received a nice new disk and I would like to use it to
> replace one of my PVs.  This would be no problem (it is well documented
> in the HOWTO) but I would like to put the new disk in place of the old
> one on the IDE cable.  (i.e. one of my PVs is currently /dev/hdd1 and I
> would like to copy the data from that onto the new disk and then put the
> new disk on /dev/hdd)
> 
> So my question is really can I change where LVM is expecting to find a
> PV?

LVM identifies PVs by the metadata on the disk, not its location in
the /dev/ tree.  As such you are free to move disks around as much as
you want, just run vgscan after moving them.

- Joe




More information about the linux-lvm mailing list