Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   can I use 2 HDD's with the same LVM labels at the same time? (http://www.linux-archive.org/centos/190557-can-i-use-2-hdds-same-lvm-labels-same-time.html)

Ignacio Vazquez-Abrams 11-09-2008 09:08 PM

can I use 2 HDD's with the same LVM labels at the same time?
 
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.

--
Ignacio Vazquez-Abrams <ivazqueznet@gmail.com>

PLEASE don't CC me; I'm already subscribed
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Ignacio Vazquez-Abrams 11-10-2008 06:28 AM

can I use 2 HDD's with the same LVM labels at the same time?
 
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@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@saturn:[~]$ lvscan
> ACTIVE '/dev/System/root' [10.00 GB] inherit
[snip]

> 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@gmail.com>

PLEASE don't CC me; I'm already subscribed
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 01:24 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.