[linux-lvm] Any way to recover "logical volumes"

Dan Elder dan at absolutelynew.com
Thu Jan 5 18:45:39 UTC 2006


when I run those I get the following:

[root at localhost dev]# lvscan
  Volume group "VolGroup00" is exported
[root at localhost dev]# vgscan
  Reading all physical volumes.  This may take a while...
  Found exported volume group "VolGroup00" using metadata type lvm2

But I don't know what steps to take after that to get to the data on the
disks.


when I posted this originally I noticed the following:

>  PV /dev/sda1   VG VolGroup00   lvm2 [372.59 GB / 372.59 GB free]
>  PV /dev/sdb1   VG VolGroup00   lvm2 [372.59 GB / 372.59 GB free]

which is reading each disk as if it does not have any data on it, am I
reading this right? could the data have also been wiped out?


-----Original Message-----
From: linux-lvm-bounces at redhat.com
[mailto:linux-lvm-bounces at redhat.com]On Behalf Of Michael Loftis
Sent: Thursday, January 05, 2006 10:31 AM
To: LVM general discussion and development
Subject: Re: [linux-lvm] Any way to recover "logical volumes"


vgscan
lvscan

which your startup scripts should be doing for you.  pvscan just
finds/shows pv's

--On January 5, 2006 10:08:01 AM -0800 Dan Elder <dan at absolutelynew.com>
wrote:

> Hi All, yesterday my main system drive crashed, leaving me with two 400GB
> LVM drives with data on them that I need to access. When I run pvscan I
> get the following info on a brand new system install with the LVM drives
> attached:
>
>  PV /dev/sda1   VG VolGroup00   lvm2 [372.59 GB / 372.59 GB free]
>  PV /dev/sdb1   VG VolGroup00   lvm2 [372.59 GB / 372.59 GB free]
>  Total: 2 [745.19 GB] / in use: 2 [745.19 GB] / in no VG: 0 [0   ]
>
>
> so I'm guessing(and hoping) that the data is still there, but I can't
> figure out the proper way to access or mount this. The VG says there are
> 0 logical volumes, is there a way to add the existing disks to this VG as
> logical volumes? I've been reading all of the howto's & forums & haven't
> found anything that works yet.
>
> Thanks in advance
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>



--
"Genius might be described as a supreme capacity for getting its possessors
into trouble of all kinds."
-- Samuel Butler

_______________________________________________
linux-lvm mailing list
linux-lvm at redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




More information about the linux-lvm mailing list