[linux-lvm] Recognizing VG in another machine

Garcia JR garciajr at gmail.com
Tue Feb 14 00:40:54 UTC 2006


Hi PPL, little question.

Supposing i have 1 HD with 2 pvs (hda1 and hda3) in VG named VG01 and LV
named lv01 working successfully in MACHINE1.

root at solid:/etc/lvmconf# lvscan
lvscan -- ACTIVE            "/dev/vg01/lv01" [704 MB]
lvscan -- 1 logical volumes with 704 MB total in 1 volume group
lvscan -- 1 active logical volumes

root at solid:/etc/lvmconf# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE   PV "/dev/hda1" of VG "vg01" [1.41 GB / 1.41 GB free]
pvscan -- ACTIVE   PV "/dev/hda3" of VG "vg01" [1.41 GB / 736 MB free]
pvscan -- total: 2 [2.91 GB] / in use: 2 [2.91 GB] / in no VG: 0 [0]

Supposing again: MACHINE1 is down and I need to put VG above in another
server, named MACHINE2. I Will remove HD from MACHINE1 and put in MACHINE2.

What the nexts steps i will have to follow to make VG be recognized by
MACHINE2 exactly how was in MACHINE1 without lose data?

regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20060213/7e574a3b/attachment.htm>


More information about the linux-lvm mailing list