From: "Sébastien Riccio" <bastian@web-services.com>
To: linux-lvm@sistina.com
Subject: [linux-lvm] vgcfgrestore error !
Date: Tue Nov 20 12:40:02 2001 [thread overview]
Message-ID: <00a701c171f3$aece6cc0$0a298dc3@madjik> (raw)
In-Reply-To: 20011119125632.A12388@sistina.com
Hello !
I got strang stuff going on with my lvm groups...
It crashed after a reboot and i also lost lvm files in /etc.
Now my group is unrecognized...
look at this : (the vg name is lithium)
the devices are /dev/hdf1 /dev/hdg1 /dev/hdh1 /dev/hdc1 /dev/hdb1
vgimport -f lithium /dev/hdf1
vgimport -- ERROR "pv_read_all_pv_of_vg(): PV number" reading data of volume
group "l"
vgimport -f lithium /dev/hdh1
vgimport -- ERROR: wrong number of physical volumes to import volume group
"lithium"
It seems that volume group name that vgimport reports for /dev/hdf1 is "l"
(as you can see with the vgimport utility outpout)
and the rests of the disks report it as "lithium", which is the correct
name.
Now if try to import the vg with all the devices, it says that /dev/hdf1 is
not in the same volume group than /dev/hdg1
But if i pvdisplay hdf1 and hdg1 :
--- Physical volume ---
PV Name /dev/hdf1
VG Name lithium
PV Size 38.18 GB / NOT usable 1.44 MB [LVM: 159.00 KB]
PV# 1
PV Status available
Allocatable yes (but full)
Cur LV 1
PE Size (KByte) 4096
Total PE 9773
Free PE 0
Allocated PE 9773
PV UUID RxtFHo-8a4T-2HgW-UaRb-ECvU-tZaG-ZfKDDN
PV Name /dev/hdg1
VG Name lithium
PV Size 38.30 GB / NOT usable 3.99 MB [LVM: 159.00 KB]
PV# 2
PV Status available
Allocatable yes (but full)
Cur LV 1
PE Size (KByte) 4096
Total PE 9803
Free PE 0
Allocated PE 9803
PV UUID 15PNMd-VnLP-XbWe-2cyU-A0Ia-xCxI-COXaMG
How is it possible that group names match with pvdisplay, but vgimport tells
me hdf1 is in group "l" ?????
Can you help ?
Thanks !
prev parent reply other threads:[~2001-11-20 12:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-19 4:57 [linux-lvm] vgcfgrestore error ! Igor Dumaire
2001-11-19 6:02 ` Heinz J . Mauelshagen
2001-11-19 6:12 ` Igor Dumaire
2001-11-19 6:17 ` Igor Dumaire
2001-11-19 8:23 ` Heinz J . Mauelshagen
2001-11-19 9:21 ` Igor Dumaire
2001-11-20 5:25 ` Heinz J . Mauelshagen
2001-11-20 5:40 ` Igor Dumaire
2001-11-23 7:41 ` Heinz J . Mauelshagen
2001-11-20 12:54 ` Igor Dumaire
2001-11-20 13:24 ` Igor Dumaire
2001-11-20 12:40 ` Sébastien Riccio [this message]
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='00a701c171f3$aece6cc0$0a298dc3@madjik' \
--to=bastian@web-services.com \
--cc=linux-lvm@sistina.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.