On 20 Mar 11:13, Chris G wrote:
On Thu, Mar 20, 2008 at 11:02:35AM +0000, David Reynolds wrote:
On 20 Mar 2008, at 9:15 am, Chris G wrote:
How can I sort this out? I have root access and everything, can even get to single user mode I guess. Do I need to do something desperate like boot the old installation (which is still possible), go to single user and rename the Volume Group? Or is there a simpler way?
It looks like vgrename will take a UUID, so you should be able to rename one of them that way I'd have thought..
Yes, you're absolutely right, worked perfectly by renaming the old Volume Group. It wasn't immediately obvious from the vgrename man page that I looked at that this was possible.
Thanks!
All I need now is to get the automounter working so I can have my home directory back and I'm just about thehre.
A what?! Err, just add it to fstab?
/dev/mapper/<volumegroupname>-<volumename> /mount/point filesystemtype fsoptions dump pass
e.g.
/dev/mapper/main-home /home xfs defaults 0 0
Works fine for us... and we have root on lvm :p (OK - boot isn't on lvm, but hey ;)
Cheers,