Root filesystem on LVM on top of Software-Raid1?

Paul Howarth paul at city-fan.org
Tue Nov 29 09:07:44 UTC 2005


On Mon, 2005-11-28 at 14:09 -0800, Mark wrote:
> Hi,
> 
> I have the system root ("/") on a LVM volume that is running on a software raid1 partition (/dev/md0)
> I added 2 harddisks and created another raid1 partition on them (/dev/md1).
> Now I want to expand the LVM volume over /dev/md1. I did that and my volume shows 18GB, while my filesystem still shows the old size
> without the second raid array. I guess I need to use fsck or resize2fs, but the problem is that those tools do not work as long as
> the device is mounted.
> I can't unmount the filesystem either, because it is the root filesystem.
> 
> So I tried booting from the rescue CD, but when the OS comes up in rescue mode, it does not load the raid arrays and lvm volumes.

Even if you allow it to mount your existing filesystems?

I've done this in the past by allowing it to do the mounts, then
manually unmounting everything before doing the resize2fs.

Paul.
-- 
Paul Howarth <paul at city-fan.org>




More information about the users mailing list