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

William L. Maltby CentOS4Bill at triad.rr.com
Mon Nov 10 09:47:39 UTC 2008


On Sun, 2008-11-09 at 23:51 -0800, nate wrote:
> Rudi Ahlers wrote:
> 
> > 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?
> 
> If your wanting to add a new disk to the same volume
> group and use it then no you don't need to rename
> anything, you can use the vgextend command after
> running pvcreate on the new disk to extend the
> existing volume group to the new disk.
> 
> If your wanting to add an existing disk to a system
> that already has a conflicting volume group name in
> it, then yes you'll need to vgrename one of them so
> they do not conflict.

Hmmm. I've not seen vgexport/vgimport mentioned. Will this be needed?
I'm not sure for this particular situation.

> 
> nate
> <snip sig stuff>

-- 
Bill



More information about the CentOS mailing list