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

Re: [linux-lvm] Two physical volumes disappeared



I believe I figured out what the problem was, though I cannot say I
understand it.

On Mon, Sep 19, 2005 at 04:22:12PM -0700, Marc Singer wrote:
> On reboot, I've found that two physical volumes, the only two volumes
> in a volume group, are no longer recognized.  Is there something I can
> do to recover aside from rebuilding the VG?
> 
> There are two IDE drives, hdb and hdd, that were in the VG.  Here's a
> dump of the start of hdb:
> 
>   000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
>   *
>   0001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 01  ................
>   0001c0  01 00 8e fe ff ff 3f 00  00 00 82 e4 50 09 00 00  ...þÿÿ?....äP...
>   0001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
>   *
>   0001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  ..............Uª

This partition table is bogus.  I'm not sure what put it here as this
PV was working fine recently.

I had to reboot the machine to a rescue CD in order to repair an MD
device.  I suspect that the rescue cd, Knoppix, decided to write a
partition table for me.  Seems wierd, but I cannot explain it any
other way.

Once I cleared the first block of this device and the second one in
the VG, I was able to reenable the VG and reactivate the LVs.

Happy ending.  :-)

>   000200  4c 41 42 45 4c 4f 4e 45  01 00 00 00 00 00 00 00  LABELONE........
>   000210  ce 01 f0 6f 20 00 00 00  4c 56 4d 32 20 30 30 31  Î.ðo ...LVM2 001
>   000220  55 61 6b 63 33 45 56 31  6d 47 30 45 66 70 4b 64  Uakc3EV1mG0EfpKd
>   000230  4d 65 69 62 36 57 6b 4e  51 37 53 42 30 33 56 30  Meib6WkNQ7SB03V0
>   000240  00 60 ee a1 12 00 00 00  00 00 03 00 00 00 00 00  .`î¡............
>   000250  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
>   000260  00 00 00 00 00 00 00 00  00 08 00 00 00 00 00 00  ................
>   000270  00 f8 02 00 00 00 00 00  00 00 00 00 00 00 00 00  .ø..............
>   000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
>   *
>   000800  37 e1 0e 18 20 4c 56 4d  32 20 78 5b 35 41 25 72  7á.. LVM2 x[5A%r
>   000810  30 4e 2a 3e 01 00 00 00  00 08 00 00 00 00 00 00  0N*>............
>   000820  00 f8 02 00 00 00 00 00  00 34 00 00 00 00 00 00  .ø.......4......
>   000830  a4 05 00 00 00 00 00 00  fd dd 68 4f 00 00 00 00  ¤.......ýÝhO....
>   000840  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
>   *
>   000a00  63 61 63 68 65 20 7b 0a  69 64 20 3d 20 22 78 46  cache {.id = "xF
>   000a10  53 4b 50 64 2d 76 4b 48  79 2d 64 36 48 51 2d 77  SKPd-vKHy-d6HQ-w
> 
> It looks like the right data is there, but pvdisplay says that it
> doesn't recognize it.  Is there something I can do to diagnose the
> failure?
> 
> _______________________________________________
> 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/


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