-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 28 May 2007 09:51:47 -0700 Andrew Sackville-West <[EMAIL PROTECTED]> wrote:
> On Mon, May 28, 2007 at 11:40:33AM -0500, Jacob S wrote: > > On Mon, 28 May 2007 11:08:18 -0400 > > Roberto C. Sánchez <[EMAIL PROTECTED]> 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. :-) > > if you really want to be able to play with it and have the disk space, > dd the partitions onto other disks so you can recreate the situation > multiple times... Unfortunately I did not have that much free disk space laying around. (It is an 80GB lvm that is totally full.) However, lvcreate did sucessfully create a logical volume of the right size and I could then mount it without a problem. I made sure to specify the right lv size and not to format it and all the data appears to still be there. Thanks, Jacob -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGW1pzkpJ43hY3cTURArhsAJ9i/CMfvQHwE7IGZWT9mYIAc884dQCgvXpx PA8Hz2t7AWXyhuUANbiIQfE= =oRRV -----END PGP SIGNATURE-----

