Mounting an LVM Volume
I have a 1TB USB disk that I use for storage.
OS is Redhat 5.6 FS Type is ext3 I used Redhat's LVM to build the Logical volume, and all is normally well. now my /dev/TSMVG/TSMLV is missing, and the LVM GUI shows /dev/sdc1 as an uninitialized entry. I doubt anything is really "wrong" with the disk itself, and just want to get it to where I can mount it. I plugged the disk into a CentOS laptop to verify that it functions - and ran fdisk just to print the partition table. It gave me: Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 121602 976762583+ 8e Linux LVM Where can I go from here? I really don't want to lose all the data. |
|
Does the LVM show up in any of the LVM tools scans? (vgscan, lvscan, lv/pv/vgdisplay etc)
If it doesn't show up in lvscan, since its on a USB device, you may need to manually activate the VG. Code:
# vgchange -a y $lvname Unfortunately, i cant help with the LVM GUI, I have no experience with it. |
Well I feel silly, but figured I would post my resolution.
I'm not command-line savvy on LVM for Linux. On AIX that's another issue, I'm mostly kung-fu-master over there. I simply rebooted the server, making sure the USB disk was powered on prior. That made sure LVM did the correct scan and built the special devices. All is fine now. I just need to learn more about Linux/LVM. |
All times are GMT -5. The time now is 09:02 PM. |