On Wed, Jun 06 '01 at 23:46, Peter Kirk wrote: > > Well, as I don't know your current configuration to well, it's just > > pocking in the dark ... > Here it comes: > I have two disks, currently on hda and hdb. > hda: > 10MB of /boot > 1GB for SWAP > the lot (18GB) in LV with hdb > > hdb: > 19GB in LV with hda > > [ ... ] Sorry, but I was unable to come back to you any erlier. If you still don't have just tried it, I'd suggest you to simply do so :-) (but see the warning at the end). But only if your /boot contains an initrd, that runs vgscan and vgchange. If this is the case, you should be able to simply switch the drive to hdc. IF your system should not boot, because it can't find some LV, don't panik. In this case you've two options: - shutdown as clean as possible (CRTL-ALT-DELETE) and switch back. Your system will come up again. (savest version) - Hope that the boot throws you into a shell (to repair your system), mount the drive that contains /etc as RW (probably mount -o remount,rw /) and do a vgscan (this should fix the /etc/lvm* entries). Now all your LV should be detected again. Now your system should work as before. Everything basicaly depends on the quality of your initrd and you should be fine if you use the one provided by lvmcreate_initrd. For savety reasond you should make a backup of the /etc/lvm* files. (or better of all files, but this is most likely no an option) Goetz.
Description: PGP signature