[CentOS] LVM recovery questions

Thu Jul 5 19:46:34 UTC 2007
timspam at meanor.net <timspam at meanor.net>

Were hda and hdb part of the same volume group? Or did hdb belong to a separate volume group?  If hdb was in a separate volume group, you should be able to do a "vgscan" followed by "vgchange -a y".  Those commands will scan your disks for any volume groups and activate them (see the man pages for details).  Then mount the lvm that contains the samba partition and your data should be there.

-Tim



>
>
> Hi,
>
>I have a centos 4 box i use for a file server (nfs and samba).  It has 
>two hdd: hda is for the standard install; hdb is for /export/samba/netdisk0
>
>hda is lost - it just clicks now
>
>i think hdb is still good
>
>i can't figure out how i can remount the hdb disk in a new machine 
>and retrieve the info from it;  i've scanned the LVM howto and googled 
>some LVM topics, but nothing seems to address my particular need
>
>i was oblivious to LVM until now, so i did not save anything from the 
>/etc dir on the hda disk
>
>can someone help me get a clue?
>
>thanks much,
>--
>mike
>
>       Choose the right car based on your needs.  Check out Yahoo! Autos new Car Finder tool.