Mounting an LVM file system

So after recovering a box which had a controller failure we needed to mount the old fs to recover some stuff. when trying to mount /dev/sdc2 we got: mount: unknown filesystem type ‘LVM2_member’ fix is easy : modprobe dm-mod vgchange -ay lvscan now yields: ACTIVE '/dev/VolGroup/lv_root' [50.00 GiB] inherit ACTIVE '/dev/VolGroup/lv_home' [178.46 GiB] inherit ACTIVE…

How to add a disk to LVM

Suppose the Disk is /dev/sdb, the second scsi disk, fdisk /dev/sdb create as many partitions as you need using command n Label them with command t as 8e for making it Linux LVM Write and Exit with the command w. Format the partitions you require using mkfs command mkfs -t ext3 -c /dev/sdb1 LVM commands…