How can I mount an old LVM drive into a new system so I can view the old files? I want to mount it as /mnt/backup
fdisk -l
Disk /dev/sda: 160.0 GB, 160000000000 bytes 255 heads, 63 sectors/track, 19452 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 19452 156143767+ 8e Linux LVM
Disk /dev/sdb: 160.0 GB, 160000000000 bytes 255 heads, 63 sectors/track, 19452 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/sdb1 * 1 13 104391 83 Linux /dev/sdb2 14 19452 156143767+ 8e Linux LVM
when I do
mount -t ext3 /dev/sdb2 /mnt/backup mount: wrong fs type, bad option, bad superblock on /dev/sdb2, or too many mounted file systems
any help would be greatly appreciated!
Chuck
Chuck Wow wrote:
How can I mount an old LVM drive into a new system so I can view the old files? I want to mount it as /mnt/backup
fdisk -l
You need to activate the volume group before you can mount the LVs on it. The system should do this automatically on boot but sometimes you have to run it manually.
vgscan vgchange -a y
mount -t ext3 /dev/my_volume_group/foo /mnt/backup