<div dir="ltr">/dev/sda8 had been wiped out totally <br>The other restore fails :<br><br>vgcfgrestore -f fileserver fileserver <br><br>File descriptor 13 (socket:[7450]) leaked on vgcfgrestore invocation. Parent PID 3952: bash<br>
Couldn't find device with uuid fVkJmY-pdwD-bub8-URE8-lNc2-eyhr-IIxIez.<br> Cannot restore Volume Group fileserver with 1 PVs marked as missing.<br> Restore failed.<br><br>Today ill try to create again an image of the drive (dd all the drive ) in order not make any more damage by restore attempts, <br>
Yesterday I found out that the harddrive going to die (errors from the kernel).<br><br><br><div class="gmail_quote">2010/10/12 Etzion Bar-Noy <span dir="ltr"><<a href="mailto:ezaton@tournament.org.il">ezaton@tournament.org.il</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Bad. Depends on the amount of damage you have created, the following procedure would work:<div>
I believe the failure is in /dev/sda8, around 30GB, based on your fileserver lvm backup file. Upload an older one for me to be sure.<br>
<div>pvcreate -u GBsXFQ-RdXS-iMhp-Phle-iqfM-5571-aJgQAa /dev/sda8</div><div><br></div><div>(if successful), try the following:</div><div>in /etc/lvm/backup, find a file describing a good configuration, before you attempted to force-remove the PV. You can perform the following action then:</div>
<div>vgcfgrestore -f <the file you have found, and hopefully uploaded here> fileserver</div><div><br></div><div>If successful, run:</div><div>vgchange -ay fileserver</div><div>and you should be able to mount whatever LV you did not run over with zeros. </div>
<div><br></div><div>Good luck</div><div>Ez<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Mon, Oct 11, 2010 at 11:20 PM, Oron Peled <span dir="ltr"><<a href="mailto:oron@actcom.co.il" target="_blank">oron@actcom.co.il</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
<div>On Monday, 11 בOctober 2010 11:50:45 Boris shtrasman wrote:<br>
> On Mon, Oct 11, 2010 at 11:45 AM, Yedidyah Bar-David <<br>
</div><div>> > Not gparted, gpart:<br>
> > <a href="http://www.brzitwa.de/mb/gpart/index.html" target="_blank">http://www.brzitwa.de/mb/gpart/index.html</a><br>
> > "Gpart is a tool which tries to guess the primary partition table of a<br>
> > PC-type hard disk in case the primary partition table in sector 0 is<br>
> > damaged, incorrect or deleted."<br>
> ><br>
> > If you fail, and still want to resurrect specific files, you can also try<br>
> > MagicRescue:<br>
> > <a href="http://www.itu.dk/people/jobr/magicrescue/" target="_blank">http://www.itu.dk/people/jobr/magicrescue/</a><br>
><br>
</div><div>> looks promising thank you<br>
> And i was dding file by file :-( from the disk ..<br>
><br>
<br>
</div>Just take notice that sequencial logical volume (partition) may be not<br>
sequencial on the physical volume (There's a logical extent to physical<br>
extent mapping).<br>
<br>
However, there is a good chance most/all of your partition is<br>
sequencial, especially if you created the volume group and the logical<br>
volumes when the disk was empty (e.g: during installation) without<br>
requiring a striped logical volume (it's not the default).<br>
<br>
Good luck,<br>
<font color="#888888"><br>
--<br>
Oron Peled Voice: +972-4-8228492<br>
<a href="mailto:oron@actcom.co.il" target="_blank">oron@actcom.co.il</a> <a href="http://users.actcom.co.il/%7Eoron" target="_blank">http://users.actcom.co.il/~oron</a><br>
"... one of the main causes of the fall of the Roman Empire was that,<br>
lacking zero, they had no way to indicate successful termination of their<br>
C programs."<br>
-- Robert Firth<br>
</font></div></div><div><div></div><div><br>
_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il" target="_blank">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
</div></div></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>-- <br> -- Boris Shtrasman ------------<br>|Gnu/Linux Software developer |<br>| IM : <a href="mailto:borissh@jabber.org">borissh@jabber.org</a> |<br>| URL : <a href="http://myrtfm.blogspot.com">myrtfm.blogspot.com</a>|<br>
_______________________________<br> <br>
</div>