xfs
[Top] [All Lists]

Re: remount xfs / as readonly and sync

To: Amit D Chaudhary <amit@xxxxxxxxxxxxxx>
Subject: Re: remount xfs / as readonly and sync
From: Steve Lord <lord@xxxxxxx>
Date: 30 Nov 2001 08:35:18 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <3C074951.5030300@muppetlabs.com>
References: <3C074951.5030300@muppetlabs.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Fri, 2001-11-30 at 02:54, Amit D Chaudhary wrote:
> Hi,
> 
> This is a rather simple question, for a xfs partition mounted as 
> /(root), before reboot it is mounted as read-only to ensure all data is 
> flushed. Is this considered to be ok practise as far as xfs is 
> concerned? It is really a handling from the original ext2 /. Actual 
> statement is
> mount -n -o ro,remount /
> 
> Also, at times some of the scripts do a sync call to flush dirty data to 
> disk including that on the xfs root, again will this work as documented 
> in man sync?
> 
> Running linux-2.4.5+xfs1.0.1 in this case.
> 
> Thanks and Regards
> Amit

The original xfs implementation did not really support going from a
read/write to a read only mount. However, code was added to the linux
port to support this.

Everything should work as you expect it to.

Steve

-- 

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@xxxxxxx


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