[Gllug] LVM & RAID
Daniel P. Berrange
dan at berrange.com
Sat Mar 4 16:36:07 UTC 2006
On Sat, Mar 04, 2006 at 04:13:02AM +0000, Tethys wrote:
>
> Mike Brodbelt writes:
>
> >I'm about to set up a machine and would like to use both LVM and md on
> >it. The machine will have two disks, and I want them set up as a mirror
> >set, with LVM layered on top of this. I've not had cause to setup a
> >machine with both before, and there seem to be several setup options -
> >I'm curious if any of the LVM fans on the list have any specific
> >suggestions, and reasons. I tend to build by own kernels and avoid using
> >an initrd, so I'm currently tending towards keeping the root filesystem
> >outside LVM. Any particular upsides or downsides to doing this?
>
> Nope, there's no reason to keep the root filesystem out of LVM. The
> only filesystem you need to do that with is /boot. I've had root in
> LVM on all of my machines for years now. I also have a machine running
> with ext3 on LVM on RAID1, and haven't run into any problems. It all
> Just Works(tm). I'm using an FC4 kernel. I don't know if there are any
> relevant differences between that and the Linus and/or Debian kernels.
> YMMV.
Indeed, the Fedora / RHEL default installation setup puts both root and swap
on LVM, just leaving /boot on regular partition. It 'just works'.
> My guess would be that you'd need to keep /boot out of any RAID devices
> you create, too. Mine is. I guess it's possible that grub groks Linux
> software RAID these days, though.
I've had /boot on an MD software RAID partition before, however, its
not an entirely straightforward thing to setup - last time I checked,
Anaconda didn't install grub in the MBR properly on MD devices, but
if you hack around with the tools, it is possible to do.
Regards,
Dan.
--
|=- GPG key: http://www.berrange.com/~dan/gpgkey.txt -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- berrange at redhat.com - Daniel Berrange - dan at berrange.com -=|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20060304/170de072/attachment.pgp>
-------------- next part --------------
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list