[linux-lvm] Recovery of data in LVM from a corrupt disk

Alasdair G Kergon agk at redhat.com
Wed Dec 21 14:09:51 UTC 2005


On Wed, Dec 21, 2005 at 11:36:10AM +0000, Andy Smith wrote:
> Perhaps you could boot off a rescue cd or knoppix or something, edit
> the lvm.conf to tell it to only consider /dev/hdc or wherever you
> have the old disk connected, do the vgscan to pick up the old vg,
> and then vgrename to try and rename it.
 
And you can set the LVM_SYSTEM_DIR environment variable to tell
lvm2 to read its lvm.conf file from a different directory to
avoid editing the system one.

Alasdair
-- 
agk at redhat.com




More information about the linux-lvm mailing list