How can I grab the filesystem from corrupted lvm (help recover data from lvm with one pv missing)
Yedidyah Bar-David
linux-il at didi.bardavid.org
Mon Oct 11 11:45:59 IST 2010
On Mon, Oct 11, 2010 at 11:41:38AM +0200, Boris shtrasman wrote:
> On Mon, Oct 11, 2010 at 11:33 AM, Yedidyah Bar-David <
> linux-il at didi.bardavid.org> wrote:
>
> > On Mon, Oct 11, 2010 at 10:36:33AM +0200, Boris shtrasman wrote:
> > > Hi,
> > > Yesterday my harddrive had an inconvenient event: when I was using a d-i
> > > from testing I accidentally overwritten on of the pv's connected to the
> > lvm.
> > > I started to panic and found myself making more damage by running
> > vgreduce
> > > --*remove*-*missing* since in one of the rescue files it noted this is
> > the
> > > way to fix it.
> > [snip]
> >
> > Did you try gpart?
> > --
> > Didi
> >
> >
> I hope I did not miss something
>
> gparted see the parttion /dev/sda7 and recognize it as lvm but nothing from
> there.
> except that I got LVM isn't yet supported.
>
> it looks like the metedata is corrupted but the actual information is there
> (as when you loose the the parrtion table from the mbr (446-510))
Not gparted, gpart:
http://www.brzitwa.de/mb/gpart/index.html
"Gpart is a tool which tries to guess the primary partition table of a
PC-type hard disk in case the primary partition table in sector 0 is
damaged, incorrect or deleted."
If you fail, and still want to resurrect specific files, you can also try
MagicRescue:
http://www.itu.dk/people/jobr/magicrescue/
--
Didi
More information about the Linux-il
mailing list