Re: PV Move

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux