[linux-lvm] lvm and renaming of drives

Erik Ohrnberger Erik at server.echohome.org
Thu Jul 8 14:54:46 UTC 2004


> 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.





More information about the linux-lvm mailing list