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

On Wednesday 04 June 2008 16:47:07 Alain Barthe wrote:
> 2008/6/4 Rafał Kupka
> <rkupka+Listy.Xen@xxxxxxxxxxxxx<rkupka%2BListy.Xen@xxxxxxxxxxxxx>
>
> > On Wed, Jun 04, 2008 at 11:00:43AM +0200, Alain Barthe wrote:
> >
> > 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.
>
> Thanks Rafal and Javier for your explanation, I begin to understand what
> happened.
>
> The ext3 fs has the option "noload" to disable the load of the journal. I
> looked for something like "nocache" to disable the cache, but it appears
> not to exist.
>
> My goal in mounting the filesystem of a alive domU is to monitor it
> (content of key files, free space, etc) in a non intrusive manner. Dealing
> with LVM snapshot is not obvious as we have no place enough for that.
>
> Does somebody have a similar need ?

if the filesystem is ext3, mount it ext2 and read-only.. It won't replay the 
journal as ext2 doesn't have any journal support...

Best regards,
Nuno Fernandes

>
> Thanks again.
>
> Alain.



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

<Prev in Thread] Current Thread [Next in Thread>