[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: raid1 mdadm v's lvm



On Thu, Oct 18, 2007 at 09:34:13AM -0400, Douglas A. Tutty wrote:
> On Thu, Oct 18, 2007 at 01:39:21PM +0200, Martin Marcher wrote:
> > 2007/10/18, Andy Smith <andy@lug.org.uk>:
> > > On Wed, Oct 17, 2007 at 08:53:09PM +1000, Alex Samad wrote:
> > > > Interesting, I have a habit though of keeping root out of LVM,
> > > > very easy to get access to root in emergency  when its a raid1
> > > > parition
> > >
> > > Agree.
> > 
> > Only partly, with a somewhat recent boot CD you won't have any
> > problems mounting LVM on RAID or doing the necessary recovery tasks.
> > The debian Etch (even netinst iirc) has all the necessary tools.
> > 
> > > However, I personally use a much smaller root, say 1G or less, and
> > > then have /usr, /var (and possibly some others depending on the
> > > purpose of the machine) inside LVM.
> > 
> > For that reason i keep as much as possible in LVM. Maintenance just is
> > easier when you find you ran out of space on some partition and simply
> > can lvresize it. But I guess that is just personal preference
> 
> The other issue is that if you look at the filesystem dependancies in
> the boot-up scripts, on Debian you can't finish single-user mode without
> needing all filesystems.  I'm rather perturbed about it since before
> raid1/LVM (i.e. Etch) I had need of a properly funcitoning single-user
> mode and if I hadn't had busybox-static installed I would have been SOL
> since the box can't boot a LiveCD.  The invention of LiveCDs seems to
> have caused whoever sets up the boot-up policy to forget about such
> niceties as a properly functioning stand-alone single mode.
agree

> 
> The Etch install CD does have a nice rescue mode that finds LVM and raid
> arrays, if your box has enough ram to activate it.  I have only one that
> does.
> 
> > 
> > > I have avoided LVM mirroring because as far as I am aware the
> > > machine would not come up entirely without human intervention if a
> > > drive would be lost - please correct me if I am wrong there..
> > 
> > IMHO lvm mirroring is useless. if I do LVM (on servers) I have
> > multiple drives and i tend to trust mdadm more in this field than LVM
> > (don't ask me why - I couldn't logically say why).
> 
> The advantage I see to LVM mirroring is the ability to create mirrored
> filesystems on the fly and to resize them.  Can't do that with mdadm
> raid1.  I don't use LVM mirroring since it isn't part of Etch's install
> system.
mdadm has --grow and you can mdadm --create on a live system


> 
> Doug.
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

Attachment: signature.asc
Description: Digital signature


Reply to: