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

Re: Recovering an lvm partition



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 28 May 2007 11:08:18 -0400
Roberto C. Sánchez <roberto@connexer.com> wrote:

> On Mon, May 28, 2007 at 10:01:32AM -0500, Jacob S wrote:
> > 
> > I managed to fix that part of it, eventually, using vgreduce
> > - --removemissing vg_name. However, now lvdisplay shows that there
> > is no logical volume on that vg. Nothing has been done to erase the
> > filesystem and data, so I am hoping I can recover it. But before I
> > simply do an lvcreate and try to get the same settings it had
> > previously, does anyone know of something like vgcfgrestore that
> > would restore the lv from the /etc/lvm/vg_name00000.log config
> > file? 
> > 
> Hmm.  I've never run unto this.  Any chance you have a recent backup?
> If not, are you able to look in the shell history and see the exact
> sequence of commands that this unnamed person used to add the new pv?

No backups... err, oh, happy day! I just found out my backups were
working. I thought that partition had gotten full.

No sequence of commands in the shell history, unfortunately. 

But now that I know I have pretty good backups, I will just experiment
and see if I can get it working again. If I make any startling
discoveries I will be sure and report them to the list. :-)

Thanks,
Jacob
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGWwYFkpJ43hY3cTURAhYqAKCwIyxnRpN2ZPs/SekHpHhmdtiI1wCfXKtu
w3jM/K6P4OBbrFNN+FC9SP4=
=30Xu
-----END PGP SIGNATURE-----

Reply to: