From: Ulrich Wiederhold <U.Wiederhold@gmx.net>
To: linux-lvm@sistina.com
Subject: [linux-lvm] vgcfgbackup
Date: Tue, 21 Aug 2001 00:43:15 +0200 [thread overview]
Message-ID: <20010821004315.B5358@sky.net> (raw)
Hello,
looking for a solution in the mailinglist-archive I found something, so
I reinstalled an older lvm-version:
~ $ dpkg --list | grep lvm
ii lvm-common 1.2 The Logical Volume Manager for Linux
ii lvm10 0.9.1-final-1 The Logical Volume Manager for Linux
I did a
home:# vgcfgrestore -l -n vg01
--- Volume group ---
VG Name vg01
VG Access read/write
VG Status NOT available/resizable
VG # 0
MAX LV 256
Cur LV 3
Open LV 0
MAX LV Size 255.99 GB
Max PV 256
Cur PV 5
Act PV 5
VG Size 49.15 GB
PE Size 4 MB
Total PE 12583
Alloc PE / Size 12583 / 49.15 GB
Free PE / Size 0 / 0
VG UUID p8KJS0-eei7-s10H-61hT-7uJS-Euiq-bXhlNs
And restored the vg01 using "vgcfgrestore -f /etc/lvmconf/vg01.conf -n vg01 /dev/XXX"
for every pv I use, output is like
home:# vgcfgrestore -f /etc/lvmconf/vg01.conf -n vg01 /dev/hda2
vgcfgrestore -- VGDA for "vg01" successfully restored to physical volume
"/dev/hda2"
vgcfgrestore -- you may not have an actual backup of restored volume
group "vg01"
What should I do now?
vgchange still won´t find a volume group, vgcfgbackup show this:
home:# vgcfgbackup -v vg01
vgcfgbackup -- using volume group(s) on command line
vgcfgbackup -- locking logical volume manager
vgcfgbackup -- checking volume group name "vg01"
vgcfgbackup -- checking existence of volume group "vg01"
vgcfgbackup -- ERROR: volume group "vg01" has an invalid number of
physical volumes
vgcfgbackup -- ERROR "vg_cfgbackup(): vg_check_exist" backing up volume
group vg01
and:
home:# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/sdb1" of VG "vg01" [8.51 GB / 0 free]
pvscan -- inactive PV "/dev/sdc1" of VG "vg01" [4.23 GB / 0 free]
pvscan -- inactive PV "/dev/hda2" of VG "vg01" [19.1 GB / 0 free]
pvscan -- inactive PV "/dev/hdb1" of VG "vg01" [7.87 GB / 0 free]
pvscan -- inactive PV "/dev/hdd1" of VG "vg01" [9.44 GB / 0 free]
pvscan -- total: 5 [49.17 GB] / in use: 5 [49.17 GB] / in no VG: 0 [0]
How can I continue?
Thanks for your hints.
Uli
P.S.: I haven´t written the last email to this list because I need an information about the meaning
of unstable.
--
'The box said, 'Requires Windows 95 or better', so i installed Linux - TKK 5
next reply other threads:[~2001-08-20 22:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-20 22:43 Ulrich Wiederhold [this message]
2001-08-21 10:54 ` [linux-lvm] vgcfgbackup Ulrich Wiederhold
2001-08-27 17:39 ` AJ Lewis
-- strict thread matches above, loose matches on Subject: below --
2000-05-23 15:29 Jan Niehusmann
2000-05-23 15:21 Jan Niehusmann
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=20010821004315.B5358@sky.net \
--to=u.wiederhold@gmx.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox