Take the 2-minute tour ×

I have Fedora 11 installed on a machine where the harddrive is failing, each time I boot it up it reports several errors. My plan is to do a fresh install of Fedora 12 on a new (larger SATA) harddrive then copy any data that remains uncorrupted off the old drive by plugging it in to the IDE port. Are there any config files I need to get off the failing harddrive so that I can mount the volume set once I have the new system set up, or will it get recognised automatically?

Any other gotchas I should watch out for? For example, I assume I should create the volume set on my fresh install with a different name?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

I am not sure how you rescan the drive in a new installation, check the lvm docs. If you move the volume group to another machine, it will be scanned at boot.

But the config is saved in metadata at the start of each PV as you add it, that's how you can move volume groups between machines and they can still be used.

Yes, use a different name for your new volume group :-)


share|improve this answer
In the end the main problem I had was that my motherboard refused to boot off the SATA drive if there was an IDE drive plugged in, but booting into the old system was able to move all my files across to the new drive. Although I now suspect the disk problems being highlighted when I booted up were due to the over zealous nature of SMART tool in Fedora 11: bugzilla.redhat.com/show_bug.cgi?id=498115 –  robertc Jan 6 '10 at 16:24

I would suggest booting to a LiveCD that supports LVM (Most newer distros do out of the box, like ubuntu) then drop to the console and see what you can see. You might need to start or restart lvm '/etc/init.d/lvm restart'.

I've also ran into a number of odd issues where having any files in /etc/lvm have made it impossible for LVM to find your existing setup or create a new one. Removing /etc/lvm and running /etc/init.d/lvm restart has cleared up this situation for me.

As someone else stated the information for your LVM is stored on the devices themselves so you don't need to worry about saving anything in /etc/lvm or in the case of a LiveCD it really doesn't matter at all if you remove it.

share|improve this answer

Your Answer


