[CentOS] LVM recovery questions
William L. Maltby
CentOS4Bill at triad.rr.com
Fri Jul 6 12:34:14 UTC 2007
On Thu, 2007-07-05 at 15:42 -0700, Michael Mueller wrote:
>
>
> Garrick Staples <garrick at usc.edu> wrote:
> On Thu, Jul 05, 2007 at 12:05:14PM -0700, Michael Mueller
> alleged:
> > <snip>
> # lvm pvscan <-- should see hdb as a PV in a VG
> # lvm vgscan
> # lvm lvscan <-- tells you the LV name that has the fs
> # lvm lvchange -a y /dev/$VGNAME/$LVNAME <-- activates the LV
> # mount /dev/$VGNAME/$LVNAME
>
> Thanks for the suggestions.
>
> I loaded a new hdd hda with 4.3 single cd server; then i
> powered down and connected the hdb from the failed system and
> rebooted; the hdb was not found using the commands above so i
> was not able to mount
>
> --
> Mike
These are done without the drive mounted. Also, pvscan -v might be
useful. The fdisk -l that someone suggested will probably the first and
most useful step. It will tell you whether hdb was a standard ext* or
LVM partition.
> <snip>
HTH
--
Bill
More information about the CentOS
mailing list