"lost" my LVM volume

Colin Brace cb at lim.nl
Tue Jul 18 10:26:48 UTC 2006


On 7/18/06, Paul Howarth <paul at city-fan.org> wrote:

> In what way did your partition get "hosed"?

Carelessness on my part. I was configuring a new drive and I
accidentally ran mkfs on an existing partition rather than the new one
I had created moments before.

> It looks like the filesystem on the logical volume got hosed too.

Indeed. I am perplexed though, as the instructions given on that Red
Hat page seem to offer a way of restoring the undamaged partitions.It
says specifically:

"Assuming a physical volume has been lost that was a part of a volume
group (for what ever reason), the following procedure can be followed.
The procedure will add another physical volume to the volume group to
restore the volume group status and access any data that may be able
to be recovered."

and

"This will not recover the data lost on the physical partition that
failed, it is simply a way to rebuild the volume group without losing
your entire configuration."

I can restore the contents of the LVM from backups, but it concerns
>500 GB, so I'd rather not I if I don't need to. Surely is must be
(should have been?) possible to restore the physical volume(s) that
didn't get damaged. If not, I'll have to seriously consider whether
using LVM is worth the trouble.

-- 
  Colin Brace
  Amsterdam




More information about the users mailing list