Re: Recovery from a failed motherboard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom Epperly wrote:
I am wondering if there is a way I can plug these two physical disks
into another Linux box and access the file system that's on the
logical volume group. I looked at the LVM FAQ about moving groups, but
it assumes you can run commands on the old system before moving to the
new system. In this case, the old system is gone.
That is not a problem, it just helps if you export them first, as then they will not clash with any existing volume group, if you have different volume group names, just plug them into the new machine. On booting you might just get lucky and it will activate the volume group. If you have the same names, your need to boot from a rescue disk, then rename the volume group to something else (vgrename). Then they should work fine with the alternative system. If you don't have root on LVM your alternative systems "rescue" mode might be enough to bring things online.

If you do boot from a rescue disk you can use
pvscan
vgscan
vgchange -a y

To bring up the disks if it does not do it automatically. You need to do a vgchange -a n before you can rename a volume group.

You rescue disk may require you to type

lvm pvscan
lvm vgscan

etc. Some

James

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux