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

Re: [linux-lvm] lvm and renaming of drives



On Thu, Jul 08, 2004 at 10:54:46AM -0400, Erik Ohrnberger wrote:
> > very brief characteristics:
> >   large fileserver
> >   RHEL v3 AS (2.4.21-based kernel)
> >
> > I have a large RAID device on an external SCSI chain.  Currently the 2
> > drives I've carved out of this device are /dev/sdj and /dev/sdk.
> > Whenever I add a new drive to the internal SCSI chain on the machine the
> > external devices drive letters increment (1 new internal -> /dev/sdk and
> > /dev/sdl).  My question is, if I make /dev/sdk a physical volume what
> > happens when I add a new internal drive?  Will LVM recognize that
> > /dev/sdk is now /dev/sdl and activate the volume group/logical volumes
> > without any problem?  I assume this isn't a problem with DM and 2.6, but
> > I'm not there yet.
> >
> > Thanks,
> > Tim
> >
> >
> > --
> 
> <snip>
> 
> IMHO: I think you should do an volumn group export, add the drive, and
> then a volumn group import.  I think that this is needed to make sure that
> the LVM service finds the volume set again, after the device letters are
> bumped.

Actually, it is not necessary to do a vgexport.  You just need to run vgscan
when the drive letters change.

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----------------------------------------
"In this time of war against Osama bin Laden and the oppressive
Taliban regime, we are thankful that OUR leader isn't the spoiled son
of a powerful politician from a wealthy oil family who is supported by
religious fundamentalists, operates through clandestine organizations,
has no respect for the democratic electoral process, bombs innocents,
and uses war to deny people their civil liberties." --The Boondocks
-----End Obligatory Humorous Quote------------------------------------------

Attachment: pgp00005.pgp
Description: PGP signature


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