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?