xfs
[Top] [All Lists]

Re: synchronization of XFS

To: Stefan Smietanowski <stesmi@xxxxxxxxxx>
Subject: Re: synchronization of XFS
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Fri, 9 Apr 2004 10:51:48 -0500 (CDT)
Cc: "IKARASHI, Seiichi" <ikarashi@xxxxxxxxxxxxxxxx>, Chris Wedgwood <cw@xxxxxxxx>, Steve Lord <lord@xxxxxxx>, Christoph Hellwig <hch@xxxxxxxxxxxxx>, <linux-xfs@xxxxxxxxxxx>
In-reply-to: <4075FACC.3010105@xxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Fri, 9 Apr 2004, Stefan Smietanowski wrote:

> > import fsset
> > if fsset.isValidXFS(bootDev):
> >     // execute xfs_freeze -f for bootDev
> >     // execute xfs_freeze -u for bootDev
> 
> Excellent. I take it "if fsset.isValidXFS(bootDev)" is code and not
> pseudo-code. 

Correct - that reads the first few bytes and looks for 
the xfs magic number.

> I'll have to try that. I know the "execute xfs_freeze..."
> is pseudo-code.
> 
> Hmmm. Wait, I just thought of something actually.
> 
> Regardless of if I have that if there or not I only need to do
> xfs_freese -[fu] /boot actually since it just dawned on me what Chris W
> said. Doing xfs_freeze -f /boot will freeze the partition where /boot
> is located if /boot is a dir on /.

Yep, was going to suggest that.

> I'll try that if you wrote there and get back to you tomorrow.
> Right now it's pretty late .. 0320. ouch... Yup, definately tomorrow.

Great, thanks for doing all the work on this.  Perhaps when you
get it tidied up you can add this info to the Red Hat bugzilla
bug tracking this problem?

-Eric


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