From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LcOoF-00030A-Mp for qemu-devel@nongnu.org; Wed, 25 Feb 2009 13:48:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LcOoE-0002wV-0Q for qemu-devel@nongnu.org; Wed, 25 Feb 2009 13:48:43 -0500 Received: from [199.232.76.173] (port=39070 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LcOoD-0002wI-US for qemu-devel@nongnu.org; Wed, 25 Feb 2009 13:48:41 -0500 Received: from mail2.shareable.org ([80.68.89.115]:48954) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LcOoD-0000rt-Ej for qemu-devel@nongnu.org; Wed, 25 Feb 2009 13:48:41 -0500 Date: Wed, 25 Feb 2009 18:48:39 +0000 From: Jamie Lokier Subject: Re: [Qemu-devel] [6388] Stop VM on ENOSPC error. Message-ID: <20090225184839.GC16453@shareable.org> References: <49A577FD.60701@codemonkey.ws> <20090225170422.GD8810@redhat.com> <20090225173429.GV24969@redhat.com> <49A58E64.3020303@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49A58E64.3020303@codemonkey.ws> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Anthony Liguori wrote: > >The idea is that if the guest at least sees the I/O error, then it won't > >continue writing as if everything were OK. It may not be able to continue > >normal operation, but it can at least mark the FS read-only and avoid > >ongoing damage. > > This simply doesn't happen in practice. The FS needs to write data to > the disk in order to remount it read-only. Once all writes start > failing, the errors are cascading. ext2/3/4 have documented errors=remount-ro / errors=panic mount options. Don't they work? (I know that journal integrity is not _exactly_ maintained when write errors occur at awkward times, as described in my previous mail, but apart from that don't the above options work?) -- Jamie