xfs
[Top] [All Lists]

XFS "lockfs" Functionality

To: "'linux-xfs@xxxxxxxxxxx'" <linux-xfs@xxxxxxxxxxx>
Subject: XFS "lockfs" Functionality
From: "Browning, Jeff" <jeff.browning@xxxxxxxxxx>
Date: Wed, 15 Jan 2003 11:21:34 -0800
Sender: linux-xfs-bounce@xxxxxxxxxxx

All:

 

I am interested in being able to duplicate the functionality of the Solaris lockfs command on Linux. This command effectively does the following:

 

1.     Flush all data in the local file system buffer cache to disk (effectively a synchronous sync);

2.     Halt all pending I/O to the file system until unlockfs is issued. (If the file system is mounted hard, all processes attempting to access the file system simply hang for this period.)

 

The reason I wish to do this is so that we can do a snapshot on this file system, and be reasonably sure that the file system will be clean when this event occurs.

 

Can this be done with XFS? Any input you might provide would be appreciated.

 

Regards,

Jeff

 

 

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