[linux-lvm] vg OK --> reboot --> vg KO
Hector Villalobos
hector at snocap.com
Sat Mar 26 00:59:33 UTC 2005
Have you checked that on startup your are running the boot scripts for
lvm.
Look here
http://www.tldp.org/HOWTO/LVM-HOWTO/initscriptredhat.html
Good Luck.
-----Original Message-----
From: linux-lvm-bounces at redhat.com [mailto:linux-lvm-bounces at redhat.com]
On Behalf Of talosso at gmail.com
Sent: Friday, March 25, 2005 5:18 AM
To: linux-lvm at redhat.com
Subject: [linux-lvm] vg OK --> reboot --> vg KO
Hi guys,
I got stuck in a painful problem with lvm.
I have 4 SATA HD handled by lvm as physical volumes into one large
logical volume.
Everything worked nice, until the last reboot.
A couple of info on the configuration:
root # lvmdiskscan
/dev/cdrom [ 492.05 MB]
/dev/hda1 [ 190.94 MB]
/dev/sda1 [ 189.92 GB]
/dev/hda2 [ 17.51 GB]
/dev/hda3 [ 973.05 MB]
/dev/sdb1 [ 189.92 GB]
/dev/sdc [ 189.92 GB] LVM physical volume
/dev/sdd [ 189.92 GB] LVM physical volume
1 disk
5 partitions
2 LVM physical volume whole disks
0 LVM physical volumes
Ok, /dev/hda is the system disk and it's not managed by lvm, thus the
four HD are the /dev/sd*. As you can see the first two devices have one
partition each, while the last two don't have it. The big lvm volume
group (disks_vg) was created at first using the two disks /dev/sda and
/dev/sdb, where I create the two physical volumes.
Later the other two disks has been added to the volume group and
accordingly the logical volume has been extended.
Well, this was the story and everything worked fine.
Then I rebooted and after that I find out that my volume group has not
been created...
root # vgdisplay -v
Finding all volume groups
Finding volume group "disks_vg"
Couldn't find device with uuid 'XBrEsM-mSRT-vuDl-XwxU-Ae5Q-kIQr-nkm4gi'.
Couldn't find all physical volumes for volume group disks_vg.
Couldn't find device with uuid 'XBrEsM-mSRT-vuDl-XwxU-Ae5Q-kIQr-nkm4gi'.
Couldn't find all physical volumes for volume group disks_vg.
Volume group "disks_vg" doesn't exist
and when I check the physical volumes I get the following message:
root # pvdisplay -v
Scanning for physical volume names
Couldn't find device with uuid
'XBrEsM-mSRT-vuDl-XwxU-Ae5Q-kIQr-nkm4gi'.
Couldn't find device with uuid
'ChG7VP-E1Bn-EUY3-krvx-2NJu-iHiC-0ByaEZ'.
Couldn't find device with uuid
'XBrEsM-mSRT-vuDl-XwxU-Ae5Q-kIQr-nkm4gi'.
Couldn't find device with uuid
'ChG7VP-E1Bn-EUY3-krvx-2NJu-iHiC-0ByaEZ'.
--- Physical volume ---
PV Name unknown device
VG Name disks_vg
PV Size 189.92 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 48620
Free PE 0
Allocated PE 48620
PV UUID XBrEsM-mSRT-vuDl-XwxU-Ae5Q-kIQr-nkm4gi
--- Physical volume ---
PV Name unknown device
VG Name disks_vg
PV Size 189.92 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 48620
Free PE 0
Allocated PE 48620
PV UUID ChG7VP-E1Bn-EUY3-krvx-2NJu-iHiC-0ByaEZ
--- Physical volume ---
PV Name /dev/sdc
VG Name disks_vg
PV Size 189.92 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 48620
Free PE 0
Allocated PE 48620
PV UUID Sh64Kk-w7Ac-FFpj-v2ck-3XKT-sdbc-VuYozC
--- Physical volume ---
PV Name /dev/sdd
VG Name disks_vg
PV Size 189.92 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 48620
Free PE 0
Allocated PE 48620
PV UUID hilXy6-nvxA-xMxQ-Wrht-gRM6-ltfU-4gt8SJ
I think that the volume is still recoverable (that is what I need) and
that something damaged the first bytes of the first two physical
volumes... but after all I'm not so sure.
Can anybody help me recovering the LVM volume and thus my data?
Thanks a lot
Best regards.
Livio
_______________________________________________
linux-lvm mailing list
linux-lvm at redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
This e-mail and any attachments are for the authorized use by the intended recipient only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachments and all copies and inform the sender. Thank you.
More information about the linux-lvm
mailing list