* [linux-lvm] Data recover on error deleted PV/VG
@ 2006-03-29 22:40 Thomas
2006-04-02 3:13 ` [linux-lvm] " Thomas
0 siblings, 1 reply; 2+ messages in thread
From: Thomas @ 2006-03-29 22:40 UTC (permalink / raw)
To: linux-lvm
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [linux-lvm] Re: Data recover on error deleted PV/VG
2006-03-29 22:40 [linux-lvm] Data recover on error deleted PV/VG Thomas
@ 2006-04-02 3:13 ` Thomas
0 siblings, 0 replies; 2+ messages in thread
From: Thomas @ 2006-04-02 3:13 UTC (permalink / raw)
To: linux-lvm
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/
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-02 3:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-29 22:40 [linux-lvm] Data recover on error deleted PV/VG Thomas
2006-04-02 3:13 ` [linux-lvm] " Thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).