xfs
[Top] [All Lists]

RE: Snapshots with external logs

To: Mike Young <myoung@xxxxxxxxxxxxxxxxxxx>
Subject: RE: Snapshots with external logs
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Mon, 2 Feb 2004 19:38:26 -0600 (CST)
Cc: freemyer-ml@xxxxxxxxxxxxxxxxx, <linux-xfs@xxxxxxxxxxx>
In-reply-to: <200402030026.QAA17886@xxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
freeze does indeed flush the log; in fact it also
writes an unmount record to disk.  If you're snapshotting
off to some other device and want to mount it, just have
any old device around that is at least as big as your log,
and dd zeros into it to zero the whole log space.  Then you
can mount it up.  If I'm understanding what you're
asking...

-Eric

On Mon, 2 Feb 2004, Mike Young wrote:

> Hi Greg,
> 
> Thanks for the quick response.
> 
> I'm using LVM for the snapshot and rollback.  You're right it is doing an
> xfs_freeze, which does flush the log to disk.  So, without the log present,
> I'm sure I'm going to have to use some option at mount time to create a new
> log.  Is this a correct assumption?  Do you know what the option will be so
> I can just automate the mount?
> 
> Thanks,
> 


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