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

[linux-lvm] Re: Data recover on error deleted PV/VG



Finally, I use RIP (R)ecovery (I)s (P)ossible! (v15.2).
And command hexdump /dev/hda2 and /dev/hdb1 to collect the old LVM config
information.
They are nearly 1200.
Use the information to create a metadata file.
Use cfgrestore to recover.
Then mount back the lost LogVol00.

Just my two cents.

"Thomas" <thomas meiwing com> ¦b¶l¥ó news:e0f2dq$eck$1 sea gmane org ¤¤¼¶¼g
...
> Hi all,
>
> My story is:
>
> 1 x 20G (hda) + 1 x 40G (hdb) running more than half year.
> The two hard disk formed with a LVM2, (100M swap) on hda1 and 19.9G
> (hda2) + 40G (hdb1).
> All LVM mounted as / (root). Yesterday, I add a 40G (hdd).
> Used fdisk with 8e type to format the new 40g (hdd)
> Used lvm extend command to add +20G /dev/VolGroup00/VolLog00 and +10G
> /dev/VolGroup00/VolLog01
> After that, I wanted to remove the VolLog01 but failed and said it is
using.
> Then I tried to use fdisk again to format the 40g (hdd).
> After reboot the server, kernel panic even un-plug 40g (hdd).
>
> Should I just try to re-create hda2+hdb1's LV with command "lvcreate -n
> VolLog00 -l <max size> VolGroup00" ?
>
> I can provide more information if needed.
>
> Thanks in advance.
>
> Lion
>
> _______________________________________________
> 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/
>




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