From: <talosso@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] vg OK --> reboot --> vg KO
Date: Fri, 25 Mar 2005 14:17:40 +0100 [thread overview]
Message-ID: <bf024e90050325051721be1579@mail.gmail.com> (raw)
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
next reply other threads:[~2005-03-25 13:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-25 13:17 talosso [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-03-26 0:59 [linux-lvm] vg OK --> reboot --> vg KO Hector Villalobos
2005-03-30 12:36 ` talosso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bf024e90050325051721be1579@mail.gmail.com \
--to=talosso@gmail.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.