xfs
[Top] [All Lists]

Re: synchronization of XFS

To: Chris Wedgwood <cw@xxxxxxxx>
Subject: Re: synchronization of XFS
From: Stefan Smietanowski <stesmi@xxxxxxxxxx>
Date: Thu, 08 Apr 2004 22:17:53 +0200
Cc: "IKARASHI, Seiichi" <ikarashi@xxxxxxxxxxxxxxxx>, Steve Lord <lord@xxxxxxx>, Christoph Hellwig <hch@xxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <20040408182419.GA30488@xxxxxxxxxxxxxxxxxxxxxxx>
References: <406361F2.6060308@xxxxxxxxxx> <4063650B.20600@xxxxxxx> <406365DE.2050006@xxxxxxxxxx> <4067B496.8060501@xxxxxxxxxxxxxxxx> <40682301.50508@xxxxxxx> <4074ABB3.500@xxxxxxxxxx> <20040408074826.GA25688@xxxxxxxxxxxxxxxxxxxxxxx> <40752DF3.2070109@xxxxxxxxxx> <407543A1.7090306@xxxxxxxxxxxxxxxx> <4075473E.40702@xxxxxxxxxx> <20040408182419.GA30488@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316
Hi Chris.

>>Can I freeze the root ("/") ? (I need that possibility)
> 
> yes

I noticed as much. And guess what - it worked!

No delays or anything (extra) needed. It just works fine now.

What I'm about to test is a different way of doing it since
I can't be arsed to (in the installer) try to figure out which
the boot device is I'll simply freeze /, unfreeze /, freeze /boot
and finally unfreeze /boot. Yes, cumbersome, yes, might slow
things down, but what the hell, it's right at the end of the
install.

>>And what happens if I try to freeze a dir that's not it's own
>>partition?
> 
> the partition will  be frozen

That's nice. Oh well, nothing to worry about, it just means
that if you don't have a seperate /boot your root partition
will be frozen and unfrozen twice.

>>Oh yes, I just remembered a thought from someone to modify GRUB to
>>open using O_DIRECT as well - that might help.
> 
> that was probably me, however, i realise now it won't work either.
> you need to convince the fs to flush all dirty data and metadata

Right. Well, what I have left to test is what happens if the root
and/or /boot partition isn't xfs. I'll only try using ext3 though.

But partial success so far at least.

// Stefan


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