Re: LVM and hardware device re-ordering?

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

 



On Fri, Apr 30, 2004 at 08:55:32AM -0700, Don Buchholz wrote:
> The one nagging question in my mind is:
> 
>  How resilient is LVM to a sudden renumbering of
>  physical hard disks?
> 
> Assume no disks have actually failed, just that a new disk
> gets added and suddenly all the LVM drives get notched up
> a drive letter. 

It's fine.  Each disk (PV) is labeled with a UUID, which uniquely identifies
it to the system.  'vgscan' identifies this after a new disk is added that
changes your drive numbering.  Most distros run vgscan in the lvm startup
scripts to cope with this on reboot after a hardware addition.  If you're
doing a hot-add, you'll have to run this by hand I think.  OTOH, if your vg
is activated and being used, the renumbering should not affect it at all.
It's only the activation that needs the identifier, and the worst case
scenario is that the activation will fail without a vgscan with a complaint
about a missing PV.

Regards,
-- 
AJ Lewis                                   Voice:  612-638-0500
Red Hat Inc.                               E-Mail: alewis@redhat.com
720 Washington Ave. SE, Suite 200
Minneapolis, MN 55414

Current GPG fingerprint = FE77 4B43 6A9B F982 A731  02FA 2BF5 7574 294A AA5A
Grab the key at: http://people.redhat.com/alewis/gpg.html or one of the
many keyservers out there...
-----Begin Obligatory Humorous Quote----------------------------------------
Computers make very fast, very accurate mistakes.
-----End Obligatory Humorous Quote------------------------------------------

Attachment: pgp00591.pgp
Description: PGP signature

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.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