All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] vgcfgrestore error !
@ 2001-11-19  4:57 Igor Dumaire
  2001-11-19  6:02 ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 12+ messages in thread
From: Igor Dumaire @ 2001-11-19  4:57 UTC (permalink / raw)
  To: list LVM

Hi,

After a reboot I have lost a volume (/dev/lvm1) but not an other (/dev/lvm2)
(vgscan doesn't see lvm1 !)

I am trying to restore it, using vgcfgrestore, but I have the message below :

# vgcfgrestore -n lvm1 /dev/lvm1
vgcfgrestore -- can't restore part of active volume group "lvm1"
vgcfgrestore [-d|--debug] [-f|--file VGConfPath] [-l[l]|--list [--list]]
        [-n|--name VolumeGroupName] [-h|--help]
        [-o|--oldpath OldPhysicalVolumePath] [-t|--test] [-v|--verbose]
        [--version] [PhysicalVolumePath]

# vgcfgrestore -n lvm1 /dev/lvmOLD
vgcfgrestore -- invalid physical volume "/dev/lvmOLD"
vgcfgrestore [-d|--debug] [-f|--file VGConfPath] [-l[l]|--list [--list]]
        [-n|--name VolumeGroupName] [-h|--help]
        [-o|--oldpath OldPhysicalVolumePath] [-t|--test] [-v|--verbose]
        [--version] [PhysicalVolumePath]

WHY this message !
What do I do ?

# lvmdiskscan
lvmdiskscan -- reading all disks / partitions (this may take a while...)
lvmdiskscan -- /dev/hda1 [      70.57 MB] Primary  LINUX native partition [0x83]
lvmdiskscan -- /dev/hda2 [      19.07 GB] DOS extended partition [0x05]
lvmdiskscan -- /dev/hda5 [       2.01 GB] Extended LINUX native partition [0x83]
lvmdiskscan -- /dev/hda6 [       1.00 GB] Extended LINUX native partition [0x83]
lvmdiskscan -- /dev/hda7 [       1.00 GB] Extended LINUX native partition [0x83]
lvmdiskscan -- /dev/hda8 [     517.69 MB] Extended LINUX native partition [0x83]
lvmdiskscan -- /dev/hda9 [      14.55 GB] Extended LINUX native partition [0x83]
lvmdiskscan -- /dev/hdc1 [      57.27 GB] Primary  LVM partition [0x8E]
lvmdiskscan -- /dev/hdd1 [      57.27 GB] Primary  LVM partition [0x8E]
lvmdiskscan -- /dev/hde1 [      57.27 GB] Primary  LVM partition [0x8E]
lvmdiskscan -- /dev/hdf1 [      57.27 GB] Primary  LVM partition [0x8E]
lvmdiskscan -- /dev/hdg1 [      57.27 GB] Primary  LVM partition [0x8E]
lvmdiskscan -- /dev/hdh1 [      57.27 GB] Primary  LVM partition [0x8E]
lvmdiskscan -- 7 disks
lvmdiskscan -- 0 whole disks
lvmdiskscan -- 0 loop devices
lvmdiskscan -- 0 multiple devices
lvmdiskscan -- 0 network block devices
lvmdiskscan -- 13 partitions
lvmdiskscan -- 6 LVM physical volume partitions

# vgdisplay
--- Volume group ---
VG Name               lvm2
VG Access             read/write
VG Status             available/resizable
VG #                  0
MAX LV                255
Cur LV                1
Open LV               1
MAX LV Size           255.99 GB
Max PV                255
Cur PV                3
Act PV                3
VG Size               171.79 GB
PE Size               4.00 MB
Total PE              43977
Alloc PE / Size       43776 / 171.00 GB
Free  PE / Size       201 / 804.00 MB
VG UUID               Jp3gDv-ib7D-p5te-FFLZ-lNjI-5brK-fzjEM6
 
# vgdisplay lvm1
vgdisplay -- volume group "lvm1" not found


Thanks for your help.

-- 
Igor Dumaire

www.LTUtech.com - Making Sense of Visual Content
------------------------------------------------

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2001-11-23  7:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.