[linux-lvm] Help recovering my volume groups

Gregory McLean gregm at comstar.net
Mon Jan 29 15:45:09 UTC 2001


On Mon, 29 Jan 2001, Patrick Caulfield wrote:

> On Sat, Jan 27, 2001 at 05:27:46PM -0500, Gregory McLean wrote:
> > 
[snip]
> 
> Are you running beta3 ? If not then an upgrade would be helpful.

No beta2 , I'll upgrade em. And patch the kernel tonight for this (not at
the affected machine right now)
> 
> If you are then we really need to find out what's happening here. 
> Do you have any snapshots defined ?

No, I haven't had a need for snapshots.
> 
> Can you do a pvdisplay on all the PVs and post the output, it might also 
> be helpful if you can dd if=/dev/hd?? of=pv-dump.txt bs=1024 count=4 and send
> those four files too so we can see what has actually happened to the on-disk
> metadata.
> 
> After than(but not before please!) you could try

To save the list bandwidth spammage:

http://tweetie.comstar.net/pvdump/

contains all the generated files so far (both the orginal 2) and the
requested ones.

> 
> vfcfgrestore mmedia /dev/hda7
> vfcfgrestore mmedia /dev/hda8
> vfcfgrestore mmedia /dev/hdb1
> vfcfgrestore mmedia /dev/hdc1
> vgchange -ay

Still didn't find any volume groups :(

I did manage to active the group with the following (hack):

small perlscript to put a \0 terminated mmedia name in /etc/lvmtab,
cp /etc/lvmconf/mmedia.conf /etc/lvmtab.d/mmedia
vgchange -ay

This got em activated

As you asked in your followup:

vgdisplay -D mmedia
vgdisplay -- volume group "mmedia" not found

I'll re-try tonight with the beta3 stuff.

Thanks,
  Greg
--
Gregory McLean     | "Why do they call it a TV set when you only get one?"
globix.net         | - George Carlin 
Core Engineer      |
Network Services   |
PGP Key: 0xE94D1363|
---------------This is my opinion, All MINE! I tell you-----------------




More information about the linux-lvm mailing list