[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49E4D16C.7030809@msgid.tls.msk.ru>
Date: Tue, 14 Apr 2009 22:09:48 +0400
From: Michael Tokarev <mjt@....msk.ru>
To: Andi Kleen <andi@...stfloor.org>
CC: Mark Lord <lkml@....ca>,
Anton Ertl <anton@...s.complang.tuwien.ac.at>,
linux-kernel@...r.kernel.org
Subject: Re: Out-of-order writing by disk drives
Andi Kleen wrote:
[]
> Where I see it as a problem is with virtualization; LVM seems to be the
> most sane way to manage file systems for lots of VMs and you likely
> want barriers there too.
Virtualisation is the best fit for partitionable raid1 arrays.
It is, in fact, what we have here -- I tested LVM but rejected
it because of this very issue - it does not support barriers.
And used partitions inside RAID1 arrays instead. It is not
that easy as with lvm (requires some work with numbers instead
of names, but that's again not that problematic if you think
about /dev/disk/by-name/...), and does not support resizing,
but again, this is not really a very necessary feature here
(easy to copy data to a new, larger place).
And by the way, here, extlinux comes very very handy. Inside
guests I don't use partitions but "whole disks", including
boot disk (/dev/vda for kvm). ext3fs on it, and extlinux to
boot it (works flawlessly on a partition-less device)
/mjt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists