Weblog entry #8 for eric

[LVM] VG disappear
Posted by eric on Tue 18 Jul 2006 at 12:32
Tags: none.
I got 2 VG on LVM2 on a testing/unstable system, and one of these disappeared and now i can't reuse it.
I've made some vgscan and vgchange but nothing! and my hard disks are ok, i can fdisk them and see the LVM partitions... but no way lvdisplay detects this VG...
Very strange, and so annoying...

I think i'll need to use the information contained in /etc/lvm/backup and /etc/lvm/archive...

 

Comments on this Entry

Posted by Anonymous (213.164.xx.xx) on Tue 18 Jul 2006 at 12:39
What does vgscan -aly say?

[ Parent | Reply to this comment ]

Posted by eric (194.2.xx.xx) on Tue 18 Jul 2006 at 13:02
[ Send Message | View Weblogs ]
# vgscan
Reading all physical volumes. This may take a while...
Found volume group "domains" using metadata type lvm2

# vgchange -aly
10 logical volume(s) in volume group "domains" now active

still can't see my VG "share". I have tried some restore following this guide and the LVM howto but no success
# pvcreate --uuid "zAdS7Z-Pzzu-0De8-TmMq-U89C-3ZLa-btqnje" --restorefile /etc/lvm/backup/share /dev/hdc1
Couldn't find device with uuid 'zAdS7Z-Pzzu-0De8-TmMq-U89C-3ZLa-btqnje'.
Device /dev/hdc1 not found (or ignored by filtering).
I've tried with a file in /etc/lvm/backup and also with one in /etc/lvm/archive... no results!
I'm stuck now... what can i do?

:eric:
http://blog.sietch-tabr.com

[ Parent | Reply to this comment ]

Posted by eric (194.2.xx.xx) on Tue 18 Jul 2006 at 13:15
[ Send Message | View Weblogs ]
Ok, problem seems to be that LVM don't see my hdc1 partition.

If i made a pvscan -vv I see it checks for lvm metadata on all my devices (/dev/hda, /dev/hdb, /dev/hdc!!!, /dev/hda1, /dev/hdb1....) but not /dev/hdc1... it seems that it can't see it.

I think I'll try to boot on SystemRescueCD to see if i got the same problem.

:eric:
http://blog.sietch-tabr.com

[ Parent | Reply to this comment ]

Posted by eric (194.2.xx.xx) on Tue 18 Jul 2006 at 13:47
[ Send Message | View Weblogs ]
I booted on SystemRescueCD and my two VG appeared. On the next reboot on Debian, there are still there.

So... I dont know why, and what happened, but the problem is solved. Maybe is a hardware problem (i have to disconnect hdd hard drive to connect a cdrom), but not sure.

:eric:
http://blog.sietch-tabr.com

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search