[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] hopefully not terminal. (fwd)



On Tue, 23 Mar 2004, Matthew Johnson wrote:

> Bouncing this with the correct from address to get to the list, I hope

Many thanks to Heinz, the lvm part is now back working. Now to get back
my /usr partition....

for reference for anyone who manages to find this post through google,
   you want:

pvcreate -ff /dev/md/3
vgcfgrestore -n vg0 /dev/md/3
vgscan
vgchange -ay

Thanks again!

Matt

>
> ---------- Forwarded message ----------
> Date: Mon, 22 Mar 2004 19:51:17 +0000 (GMT)
> From: Matthew Johnson <mjj29 srcf ucam org>
> To: linux-lvm 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
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm redhat com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]