All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Dumaire <Igor.Dumaire@LTUtech.com>
To: list LVM <linux-lvm@sistina.com>
Subject: [linux-lvm] vgcfgrestore error !
Date: Mon Nov 19 04:57:02 2001	[thread overview]
Message-ID: <3BF8E5DE.ABAEB618@LTUtech.com> (raw)

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
------------------------------------------------

             reply	other threads:[~2001-11-19  4:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-19  4:57 Igor Dumaire [this message]
2001-11-19  6:02 ` [linux-lvm] vgcfgrestore error ! 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

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=3BF8E5DE.ABAEB618@LTUtech.com \
    --to=igor.dumaire@ltutech.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.