How to mout LVM?
Clodoaldo
clodoaldo.pinto.neto at gmail.com
Mon Nov 20 11:53:53 UTC 2006
I'm running FC5 with default partitions.
I installed a new disk in IDE 0 and moved the old disk to IDE 1.
Then installed FC6 on the new disk with default partitions and left
the old disk untouched. Now i can't mount the old disk to copy data.
As the server must keep running with the old data I reverted the IDE
cables and booted to FC5.
I need to learn how to mount the other disk so I can migrate to FC6. I
suspect it is already mounted, in which case i'm afraid i can produce
a mess.
I have read this but it looks like it is not the case:
http://www.die.net/doc/linux/HOWTO/LVM-HOWTO-16.html
# vgs
VG #PV #LV #SN Attr VSize VFree
VolGroup00 1 2 0 wz--n- 76.22G 32.00M
VolGroup01 1 2 0 wz--n- 74.41G 32.00M
# pvscan
PV /dev/hdc2 VG VolGroup01 lvm2 [74.41 GB / 32.00 MB free]
PV /dev/hda2 VG VolGroup00 lvm2 [76.22 GB / 32.00 MB free]
Total: 2 [150.62 GB] / in use: 2 [150.62 GB] / in no VG: 0 [0 ]
# fdisk -l
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 9964 79931407+ 8e Linux LVM
Disk /dev/hdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 13 104391 83 Linux
/dev/hdc2 14 9729 78043770 8e Linux LVM
Disk /dev/dm-0: 80.7 GB, 80765517824 bytes
255 heads, 63 sectors/track, 9819 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 1040 MB, 1040187392 bytes
255 heads, 63 sectors/track, 126 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-1 doesn't contain a valid partition table
--
Clodoaldo Pinto Neto
More information about the users
mailing list