Linux LVM users
 help / color / mirror / Atom feed
From: Melinda Taylor <melinda@phys.unsw.edu.au>
To: linux-lvm@sistina.com
Subject: [linux-lvm] LVM recovery
Date: Wed Jul 16 19:39:02 2003	[thread overview]
Message-ID: <1058402110.1257.21.camel@neko> (raw)
In-Reply-To: <BDEMIPDEGABMNEFIHCPDMEHAFCAA.bill--f.juq41dsj@tao-group.com>

Hi All,

I haven't yet recieved any advice on how to recover any of the data on
my remaining 2 of 4 disks but i think I know what to do.....think.....

I originally setup the system with the following steps:

- 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
- pvcreate /dev/sda2 ; pvcreate /dev/sdb1; pvcreate /dev/sdc2; pvcreate
/dev/sdd2
- vgcreate vg01 /dev/sda2 /dev/sdb1 /dev/sdc2 /dev/sdd2
- check no of LE pvdata -E /dev/sdc2 (5710 LE)
 lvcreate -l 5711 -n lv03 vg01 /dev/sdc2
- Make ext3 fs on each LV
 mkfs.ext3 /dev/vg01/lv01

/dev/sda2 and /dev/sdb1 are kaput (both drives died within days of
eachother).

I believe I had 4 logical volumes.

/dev/vg01/lv01
/dev/vg01/lv02
/dev/vg01/lv03
/dev/vg01/lv04

in my volume group.

So I presume this means each LV resided on a separate drive and probably
lv01 and lv02 were the 2 on the 2 dead disk drives.

    * PVs on four SCSI devices
    * A VG called "vg01" comprised of said PVs

If I reinstall lvm on my newly installed system can I recover lv03 and
lv04?

I have had a search and see something called importvg which I think may
be what I need.

Had anyone ever had any experience recovering a volume group with
missing disks?

I have backups of my lvm config but it seems like lvmtab etc are all
binary files, are they of any use to me?

Many Thanks,

melinda

  reply	other threads:[~2003-07-16 19:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-12 22:19 [linux-lvm] LVM disk died Melinda Taylor
2003-07-13  3:04 ` Gert van der Knokke
2003-07-13  6:06   ` Melinda Taylor
2003-07-13 12:24 ` [linux-lvm] Enough rope to hang self (was: LVM disk died) William Blunn
2003-07-16 19:39   ` Melinda Taylor [this message]
2003-07-16 23:25     ` [linux-lvm] LVM recovery Melinda Taylor
2003-07-16 23:37       ` Melinda Taylor
2003-07-17  2:05     ` Emmanuel Varagnat
2003-07-20 21:00       ` Melinda Taylor
2003-07-21 12:25         ` Alasdair G Kergon
2003-07-30  5:27 ` [linux-lvm] LVM disk died Emmanuel Varagnat

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=1058402110.1257.21.camel@neko \
    --to=melinda@phys.unsw.edu.au \
    --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