Upgraded 6.6 to 7 can't mount old drive

Issues related to hardware problems
Post Reply
Rickinfl
Posts: 2
Joined: 2014/01/27 17:37:59

Upgraded 6.6 to 7 can't mount old drive

Post by Rickinfl » 2015/02/22 21:25:50

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

User avatar
TrevorH
Forum Moderator
Posts: 29493
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

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

Post by TrevorH » 2015/02/22 21:51:32

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
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - Hardware Support”