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.
Thanks,
I did the vgscan after the hdb hdd was added to a fresh system; the hdb disk was not identified as having a volume group
maybe i lost both disks - hda and hdb - doesn't seem likely; more likely that i don't know enough about lvm to get this disk back into a file system
sigh - i don't really need lvm; waaaaaaa; i wish that system was using pre-lvm partitions; i'd be recovered by now
are there stages for grieving over the loss of a hdd?
thanks again, mike
timspam@meanor.net wrote: 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.
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
--------------------------------- Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
On Friday 06 July 2007, Michael Mueller wrote:
Thanks,
I did the vgscan after the hdb hdd was added to a fresh system; the hdb disk was not identified as having a volume group
maybe i lost both disks - hda and hdb - doesn't seem likely; more likely that i don't know enough about lvm to get this disk back into a file system
I was almost about to give up on this tread (since you havn't really provided any useful info except for "it doesn't work"). But then I guess I woke up on the right side of the bed or something... ;-)
Lets start at the beginning (you havn't done so yet).
1) please do give us the output of "fdisk -l", this answers does hdb show up, and how is it partitioned.
2) please also include the output of "lvmdiskscan ; pvscan ; pvdisplay", this will tell us if any chunks of lvm data was found.
3) same as 2 for "vgscan ; vgdisplay" but don't bother if 2 didn't find any pvs.
4) same as 3 for "lvscan ; lvdisplay -m" but don't bother if 3 didn't find any vgs.
With this info I'm sure you'll get better advice/help.
/Peter
sigh - i don't really need lvm; waaaaaaa; i wish that system was using pre-lvm partitions; i'd be recovered by now
are there stages for grieving over the loss of a hdd?
thanks again, mike