Re: Serious problem and I don't know where to turn.

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

 



WarlockD wrote:

[root@server ~]# lvscan -a

  ACTIVE            '/dev/VolGroup00/LogVol00' [147.00 GB] inherit

  ACTIVE            '/dev/VolGroup00/LogVol01' [1.94 GB] inherit

[root@server ~]# vgscan

  Reading all physical volumes.  This may take a while...

  Found volume group "VolGroup00" using metadata type lvm2

  Found volume group "ANIME" using metadata type lvm2

So the vg "ANIME" is found, but is not activated? That kind of makes sense because it is missing the pv on the deleted /dev/sdb2 partition. According to the vgreduce man pages you can:

vgreduce --removemissing ANIME

to remove all  missing physical volumes from the volume group and make the volume group consistent again. It's a good idea to run this option with --test  first to find out what it would remove before running it for real. There is also "--partial" option you can use to activate vgs and lvs even if they are missing data. Read the man pages and be very careful before you proceed.

Basicly, I have a volume called “ANIME-logical” I am trying to restore, but I don’t have the metadata.  Is there a way I can get to it?


Without the metadata that's going to be tough. If the filesystem is all continuous on your RAID5 partition, technically you should be able to mount it if you can create a device pointing at the right start, and with the right size. Good luck figuring that out.

Another approach could be to recreate the /dev/sdb2 partition in exactly the same way you did before. The metadata might still be there, and the vg might come up.

Sincerely,

Richard van den Berg
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux