On Sun, Oct 12, 2008 at 07:14:25PM +0100, MJ Ray wrote:
Chris G cl@isbd.net wrote:
The disk I want to remove is /dev/sda which is (mostly) that /f7 mount point /dev/VolGroup00/LogVol00 (and also some of the swap). The two drives I'm leaving are currently /dev/sdb and /dev/sdc. [...] However will the resulting changed names of the underlying physical drives that (I presume) will occur when I remove /dev/sda cause any problems? I.e. will it stop the system booting/running?
It might. I suspect it depends on your LVM configuration - whether they're pointing to things like sdb and sdc, or labels or nodes in disk/by-id or disk/by-uuid.
I *think* they're pointing to /dev/sda, /dev/sdb etc., at least that's what it looks like when looking at "Logical Volume Management".
Actually, I think your system will probably boot because of LABEL=/boot but it might need grub-tweaking to find the right root.
If so would it just be a matter of booting off a CD and going into single user mode to sort things out or is it messier than that?
Yes, booting off a CD and editing things should sort things out, but make sure the CD has copies of the LVM utilities available.
Worst case, couldn't you reconnect the drive in the old place?
Yes, of course.