[linux-lvm] hopefully not terminal. (fwd)
Matthew Johnson
mjj29 at cam.ac.uk
Tue Mar 23 12:46:23 UTC 2004
Bouncing this with the correct from address to get to the list, I hope
---------- Forwarded message ----------
Date: Mon, 22 Mar 2004 19:51:17 +0000 (GMT)
From: Matthew Johnson <mjj29 at srcf.ucam.org>
To: linux-lvm at redhat.com
Subject: hopefully not terminal.
Right, I appear to have just done raidhotadd /dev/md1 /dev/md3, in
stead of /dev/md1 /dev/hdh3. Oops. It doesn't complain that md3 is
active either. More oops.
md3 and md4 are in a linear lvm (lvm1 on 2.4.20ish kernel) of 222Gb in size, and md1 is a 100Mb
raid5 partition (/). This means that the first 50Mb has probably been
overwritten.
This didn't cause the machine to die horribly, only not to come back up.
Given I have probably only overwritten about 0.05% of the data, I hope it
can mostly be restored. However, vgscan and vgchange -ay refuse to do
anything, and vgcfgrestore reports unhelpfully that "physical volume
/dev/md3 doesn't belong to volume group vg0"
Any ideas how to fix this without wiping the whole thing (I have
backups of critical stuff, but not all of it by a long way). I'm in the
irc channel as "mjj29", if I'm around when everyone else is.
Oh, I have no /usr/, /var/ or /home/ atm, so I hope no solutions need
them (-;
Matt
More information about the linux-lvm
mailing list