Linux LVM users
 help / color / mirror / Atom feed
From: Ulrich Wiederhold <U.Wiederhold@gmx.net>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Problems after restarting my debian
Date: Fri, 12 Oct 2001 22:17:59 +0200	[thread overview]
Message-ID: <20011012221759.B416@sky.net> (raw)
In-Reply-To: <20011011163029.B8752@sistina.com>

* Heinz J . Mauelshagen <mauelshagen@sistina.com> [011011 16:30]:
> 
> Ulrich,
> 
> please use LVM 1.0.1 rc4.
> 
Hey,
ok. I did. I use 2.4.12 with xfs and LVM 1.0.1 rc4 now, but it´s still
not working.

I did:
home:/home/fzzgrr# pvscan 
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/hdd1" of VG "vg01" [9.44 GB / 0 free]
pvscan -- inactive PV "/dev/hda2" of VG "vg01" [19.10 GB / 0 free]
pvscan -- inactive PV "/dev/hdb1" of VG "vg01" [7.87 GB / 0 free]
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 -- total: 5 [49.17 GB] / in use: 5 [49.17 GB] / in no VG: 0 [0]

I did a
home:/home/fzzgrr# vgcfgrestore -f /etc/lvmconf/vg01.conf -n vg01 /dev/hdd1

on every partition displayed with pvscan (all I used for vg01).

I got:
home:/home/fzzgrr# vgcfgrestore -f /etc/lvmconf/vg01.conf -n vg01 /dev/hdd1                                        
vgcfgrestore -- VGDA for "vg01" successfully restored to physical volume "/dev/hdd1"
vgcfgrestore -- you may not have an actual backup of restored volume group "vg01"


Then:
home:/home/fzzgrr# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume
group

home:/home/fzzgrr# vgchange -a y
vgchange -- no volume groups found

So I tryed to make an actual backup using
home:/home/fzzgrr# 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


I don´t know how to continue, because I always used this number of
physical volumes for vg01. The backup "vg01.conf" was created after my
last mounting in August.

Uli

-- 
'The box said, 'Requires Windows 95 or better', so i installed Linux - TKK 5

  reply	other threads:[~2001-10-12 20:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-10 23:14 [linux-lvm] Problems after restarting my debian Ulrich Wiederhold
2001-10-11 14:30 ` Heinz J . Mauelshagen
2001-10-12 20:17   ` Ulrich Wiederhold [this message]
2001-10-13 23:27     ` Ulrich Wiederhold
2001-10-15  9:55       ` Heinz J . Mauelshagen
2001-10-15 20:45         ` Ulrich Wiederhold
2001-10-16  9:01           ` Heinz J . Mauelshagen

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=20011012221759.B416@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