Option/Extra disk

Issues related to hardware problems
User avatar
TrevorH
Forum Moderator
Posts: 22600
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Option/Extra disk

Postby TrevorH » 2018/04/24 14:59:13

Same problem but different. If you took all the defaults then the volume group names will be the same on both installs and will conflict with each other.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Centie140
Posts: 7
Joined: 2018/04/20 18:44:43

Re: Option/Extra disk

Postby Centie140 » 2018/04/25 15:17:10

I put the trashed disk on a SATA to USB cable and could only mount the root partition. /home would not mount. Kept complaining about an unknown filesystem type. Did a little research on LVM and poked around with pvs and lvdisplay and eventually vgrename.

I found that both the new disk and the trashed disk had LVM Volume Group names named 'centos'

I used vgrename - it would not let me rename the VG on the trashed disk - so I changed the new disk VG to 'centos2'

That of course rendered the new disk unbootable because it would only look for 'centos'

I'm doing yet another fresh install and sidestepping LVM in favor of standard partitioning. After it's ready I'll try a few more times to recover /home on the trashed disk and post the results.

Centie140
Posts: 7
Joined: 2018/04/20 18:44:43

Re: Option/Extra disk

Postby Centie140 » 2018/04/25 17:25:42

Fresh(er) install with standard partitioning. Plugged in the original trashed disk on a SATA to USB cable and could mount all volumes without problem.

Thanks tunk and TrevorH :D