xfs
[Top] [All Lists]

Re: Snapshots with external logs

To: Mike Young <myoung@xxxxxxxxxxxxxxxxxxx>
Subject: Re: Snapshots with external logs
From: Greg Freemyer <freemyer-ml@xxxxxxxxxxxxxxxxx>
Date: Mon, 02 Feb 2004 18:51:57 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <200402022328.PAA11677@xxxxxxxxxxxx>
References: <200402022328.PAA11677@xxxxxxxxxxxx>
Reply-to: freemyer-ml@xxxxxxxxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Mon, 2004-02-02 at 18:28, Mike Young wrote:
> Hi,
> 
>  
> 
> I was wondering if anyone using the external logs also utilizes snapshots.
> I'm trying to figure out how to do this so I can recover properly in the
> case of rollback.  Any help on this is greatly appreciated.
> 
>  
> 
> Thanks,
> 
>  
> 
> Mike
> 

How are you doing snapshot rollbacks?  I have never been exposed to that
concept.

Does anyone know if xfs_freeze flushes the log to disk?

If xfs_freeze does cause the log to be flushed to disk, you don't need
to snapshot the log.  You just rollback the snapshot of the data volume,
and clear the log volume.

FYI: The vfs_lock kernel patch invokes the same logic as xfs_freeze, so
it too flushes the disk if I am right.

Greg
-- 
Greg Freemyer





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