WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Bad experience in mounting a domU disk

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Bad experience in mounting a domU disk
From: Rafał Kupka <rkupka+Listy.Xen@xxxxxxxxxxxxx>
Date: Wed, 4 Jun 2008 15:39:16 +0200
Delivery-date: Wed, 04 Jun 2008 06:39:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <94e2f00b0806040200n1ee67933gec32a454f7f5804b@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: xen-users@xxxxxxxxxxxxxxxxxxx
References: <94e2f00b0806040200n1ee67933gec32a454f7f5804b@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17+20080114 (2008-01-14)
On Wed, Jun 04, 2008 at 11:00:43AM +0200, Alain Barthe wrote:
Hello,

> I don't understand how a read-only mount can corrupt a filesystem. Does it
> mean that something is written on the device, even if it is read-only ? Or
> does the read-only mount disturb the regular disk activity that is mounted
> rw elsewhere ?

Many journalled filesystems do replay journal even if mounted with 'ro'
option. XFS has norecovery option to truly read-only disk access.
Similar option has been recently added to ext3.

I think that the best approach is to take LVM snapshot of domU
filesystem and then mount (with journal replayed) that snapshot.

Regards,
Kupson
-- 
Great software without the knowledge to run it is pretty useless.
(Linux Gazette #1)

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users