FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 11-09-2008, 08:30 PM
"Rudi Ahlers"
 
Default can I use 2 HDD's with the same LVM labels at the same time?

Hi all,

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?

--

Kind Regards
Rudi Ahlers
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 11-09-2008, 09:25 PM
"Rudi Ahlers"
 
Default can I use 2 HDD's with the same LVM labels at the same time?

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


This is what I have:

sh-3.2# root@saturn:[~]$ pvscan
PV /dev/md1 VG System lvm2 [148.94 GB / 8.94 GB free]
Total: 1 [148.94 GB] / in use: 1 [148.94 GB] / in no VG: 0 [0 ]
root@saturn:[~]$ vgscan
Reading all physical volumes. This may take a while...
l Found volume group "System" using metadata type lvm2
root@saturn:[~]$ lvscan
ACTIVE '/dev/System/root' [10.00 GB] inherit
ACTIVE '/dev/System/swap' [4.00 GB] inherit
ACTIVE '/dev/System/home' [10.00 GB] inherit
ACTIVE '/dev/System/data' [20.00 GB] inherit
ACTIVE '/dev/System/andrew_vmswap' [1.00 GB] inherit
ACTIVE '/dev/System/andrew_rootimg' [20.00 GB] inherit
ACTIVE '/dev/System/wiseguy' [11.00 GB] inherit
ACTIVE '/dev/System/pluto_rootimg' [20.00 GB] inherit
ACTIVE '/dev/System/wiseguy_vmswap' [1.00 GB] inherit
ACTIVE '/dev/System/wiseguy_rootimg' [20.00 GB] inherit
ACTIVE '/dev/System/keith_vmswap' [1.00 GB] inherit
ACTIVE '/dev/System/keith_rootimg' [20.00 GB] inherit
ACTIVE '/dev/System/pluto_vmswap' [2.00 GB] inherit
root@saturn:[~]$





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

Kind Regards
Rudi Ahlers
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 11:53 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org