Page 1 of 1

Upgraded 6.6 to 7 can't mount old drive

Posted: 2015/02/22 21:25:50
by Rickinfl
Hi,

I had a Centos 6.6 box running with all my data on another drive mounted to a folder. I install Centos 7 and re attached the hard drive, but it will not mount.

I run: fdisk -l and see it as /dev/sda2

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 156301311 77637632 8e Linux LVM

when I try and mount it.... mount /dev/sda2 /Media it fails with this error:

mount: unknown filesystem type 'LVM2_member'

Not sure what to do from here searched the internet and really didn't get a straight answer on how to fix it.

Thanks,
Rick

Re: Upgraded 6.6 to 7 can't mount old drive

Posted: 2015/02/22 21:51:32
by TrevorH
It's an LVM PV so you need to activate it and then look for the LVs on it. Run vgscan and/or vgchange -a y and see if the LVs now show up in the output from lvs