> recently faced a power outage on a fileserver with XFS filesystems
>(CVS-2003-09-24_05). Some files written on NFS clients a few seconds
>before the crash were damaged (zero-sized).
>
>On a first approach, I thought this was XFS-related, but afterwards, I
>also realized that this server was exporting its filesystems with the
>async export option...It this possible that this async option have
>caused these file damages ? If I use sync exports, does this mean that
>XFS will effectively write on disk all pending data ?
If "async" is used, the NFS server can respond that the data is commited
when it really isn't on disk. Thus, when the NFS server crashes, the
NFS client does not think it has to re-commit the data.
If sync exports are used on the NFS server and hard mounts are used on
the NFS client, I doubt there will be any loss of data when a server crashes.
Tad
|