Restoring LVM configuration

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

 



Hi,

Through a number of steps in an attempt to upgrade my server I ended up losing the
lvm.conf configuration file and my backup of it.

Part of the problem occured when I moved the disks from one controller to another on my
server.  For some reason the partition information was lost.  This was recovered without
too many troubles leaving me with a boot (ext2) and lvm2 partitions on one drive and a
lvm2 partition on the other.

I noticed on the LVM how-to that you might be able to recreate the configuration using
pvcreate after looking at /etc/lvm/archive/VolumeGroupName_XXXXX.vg but I am unable to in
this case because the root file system was part of the LVM itself.  (If I could mount it
to find out the configuration then I wouldn't be having such a problem!)

Ideally I would like to be able to create a configuration using Knoppix so that I could
mount the drives and write it onto them.  

The next best thing for me would be to find some way to get the files off of the drives
and onto a spare drive (basically recreate my backup) without losing file names/directory
structure.

Thanks.


_______________________________________________
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