From: Thomas Berton <thomas.berton@howest.be>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Hard disk failure, restore problem
Date: Fri Mar 12 05:18:00 2004 [thread overview]
Message-ID: <40520E04.5090505@howest.be> (raw)
Hi,
I've recently encountered some problems with my LVM.
I had (and still have) a bad hd /dev/hda (used part. /dev/hda1)
I started:
pvmove /dev/hda1 /dev/hdf1
yet the hd gave an error and I had to reboot.
I have a metadata backup made before I've started the move.
The volume group name is bigspace, yet the 'dir' /dev/bigspace/bigspace1
is also gone...
now I got
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/hdg1" is in no VG [74.53 GB]
pvscan -- inactive PV "/dev/hde1" is in no VG [149.05 GB]
pvscan -- inactive PV "/dev/hdf1" is in no VG [149.05 GB]
pvscan -- inactive PV "/dev/hdc1" is in no VG [111.79 GB]
pvscan -- inactive PV "/dev/hdd1" is in no VG [74.53 GB]
pvscan -- inactive PV "/dev/hda1" is in no VG [74.53 GB]
pvscan -- inactive PV "/dev/hdb1" is in no VG [74.53 GB]
pvscan -- total: 7 [708 GB] / in use: 0 [0] / in no VG: 7 [708 GB]
yet if I do the restore I get
I also did a pvcreate -ff /dev/hdx1 for every disk... I've read
somewhere that should fix it. yet id did not.
pvscan -- inactive PV "/dev/hda1" is associated to unknown VG
"bigspace" (run vgscan)
vgscan gives
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of
volume group "bigspace" from physical volume(s)
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume
group
there is a LOT of data on this array of disk (as you can imagine)
sometimes, hda is working good, so i hope it want to work long enough to
restore the data.
My guess now is to make a new vg and add those disks... but I want to be
sure, so I don't lose the data.
Any suggestions to recover the data or to replace the broken harddisk
with a new one with as little data loss as possible.
Regards,
Thomas.
next reply other threads:[~2004-03-12 10:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-12 5:18 Thomas Berton [this message]
2004-03-15 12:47 ` [linux-lvm] Hard disk failure, restore problem Heinz Mauelshagen
2004-03-15 20:52 ` Thomas Berton
2004-03-17 14:34 ` Heinz 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=40520E04.5090505@howest.be \
--to=thomas.berton@howest.be \
--cc=linux-lvm@redhat.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.