Recovering data from a a possibly good LVM physical volume - Redhat

This is a discussion on Recovering data from a a possibly good LVM physical volume - Redhat ; Hi there, At this moment, I have following configuration. I would like to recover data from hda3 (which was a fedora 4 vloumn). I now install a new core without lvm. hda2 as boot. hdb10 as root hdb7 as home ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Recovering data from a a possibly good LVM physical volume

  1. Recovering data from a a possibly good LVM physical volume

    Hi there,
    At this moment, I have following configuration.
    I would like to recover data from hda3 (which was a fedora 4 vloumn).

    I now install a new core without lvm.

    hda2 as boot.
    hdb10 as root
    hdb7 as home
    hdb8 as opt

    Disk /dev/hda: 60.0 GB, 60022480896 bytes
    255 heads, 63 sectors/track, 7297 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 3824 30716248+ 7 HPFS/NTFS
    /dev/hda2 3825 3837 104422+ 83 Linux
    /dev/hda3 3838 7297 27792450 8e Linux LVM

    Disk /dev/hdb: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb1 * 1 4035 32411106 c W95 FAT32 (LBA)
    /dev/hdb2 4036 19457 123877215 f W95 Ext'd (LBA)
    /dev/hdb5 4036 8086 32539626 b W95 FAT32
    /dev/hdb6 16179 19457 26338536 7 HPFS/NTFS
    /dev/hdb7 8087 10045 15735636 83 Linux
    /dev/hdb8 10046 10698 5245191 83 Linux
    /dev/hdb9 10699 10960 2104483+ 82 Linux swap / Solaris
    /dev/hdb10 10961 13571 20972826 83 Linux

    Thanks,
    Sid

  2. Re: Recovering data from a a possibly good LVM physical volume

    Siddharth Patel wrote:
    > Hi there,
    > At this moment, I have following configuration.
    > I would like to recover data from hda3 (which was a fedora 4 vloumn).
    >
    > I now install a new core without lvm.
    >
    > hda2 as boot.
    > hdb10 as root
    > hdb7 as home
    > hdb8 as opt
    >
    > Disk /dev/hda: 60.0 GB, 60022480896 bytes
    > 255 heads, 63 sectors/track, 7297 cylinders
    > Units = cylinders of 16065 * 512 = 8225280 bytes
    >
    > Device Boot Start End Blocks Id System
    > /dev/hda1 * 1 3824 30716248+ 7 HPFS/NTFS
    > /dev/hda2 3825 3837 104422+ 83 Linux
    > /dev/hda3 3838 7297 27792450 8e Linux LVM
    >
    > Disk /dev/hdb: 160.0 GB, 160041885696 bytes
    > 255 heads, 63 sectors/track, 19457 cylinders
    > Units = cylinders of 16065 * 512 = 8225280 bytes
    >
    > Device Boot Start End Blocks Id System
    > /dev/hdb1 * 1 4035 32411106 c W95 FAT32 (LBA)
    > /dev/hdb2 4036 19457 123877215 f W95 Ext'd (LBA)
    > /dev/hdb5 4036 8086 32539626 b W95 FAT32
    > /dev/hdb6 16179 19457 26338536 7 HPFS/NTFS
    > /dev/hdb7 8087 10045 15735636 83 Linux
    > /dev/hdb8 10046 10698 5245191 83 Linux
    > /dev/hdb9 10699 10960 2104483+ 82 Linux swap /
    > Solaris
    > /dev/hdb10 10961 13571 20972826 83 Linux
    >
    > Thanks,
    > Sid

    Sid,


    1) vgscan
    2) vgdisplay -v|more
    {write down the volumegroup(s) and the logical volumegroups}
    3) mount each logicalvolume on a mountpoint
    4) if you want to keep using the logical volumes, add them to your
    /etc/fstab like the /dev/hda2, /dev/hdb10, /dev/hdb7 and /dev/hdb8
    entries. The devicefile for a logical volume is of the form:
    /dev/Volgroup00/LogVol00


    Kind regrads,


    Jan Gerrit Kootstra RHCE

+ Reply to Thread