[CentOS] can I use 2 HDD's with the same LVM labels at the same time?

Ignacio Vazquez-Abrams ivazqueznet at gmail.com
Mon Nov 10 07:28:35 UTC 2008

On Mon, 2008-11-10 at 00:25 +0200, Rudi Ahlers wrote:
> On Mon, Nov 10, 2008 at 12:08 AM, Ignacio Vazquez-Abrams
> <ivazqueznet at gmail.com> wrote:
> > On Sun, 2008-11-09 at 23:30 +0200, Rudi Ahlers wrote:
> >> I need to add a drive with the same LVM labels (i.e. system) to a
> >> machine with a drive with the same label. How can I access the data on
> >> both drive's LVM partitions at the same time?
> >
> > You can't. Use vgrename on one of them.
> This is what I have:

> root at saturn:[~]$ lvscan
>   ACTIVE            '/dev/System/root' [10.00 GB] inherit

> Basically, most HDD's are setup the same, but I want to add another
> HDD to the same server, and use data on both HDD's.
> So, do I rename System with vgrename then?

Yes. Don't forget to edit grub.conf and fstab and recreate your initrd.

Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>

PLEASE don't CC me; I'm already subscribed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20081110/d86591ea/attachment.sig>

More information about the CentOS mailing list