Re: Problem to recognize that the file system is full

From: David Newall
Date: Thu Sep 06 2007 - 16:58:58 EST


Jan Engelhardt wrote:
On Sep 4 2007 13:53, Guilherme Vilela wrote:
I'm tryng to mount a nfs file system with the option async and run a
program that writes to the file system. The problem is that the
program keep writing even when the file system is full.

man 5 exports

async This option allows the NFS server to violate the NFS protocol
and reply to requests before any changes made by that request
have been committed to stable storage (e.g. disc drive).

(That means it's a feature.)

This program does'nt occur when mounting with the sync
option or with async and noac option, but the performance get very
poor and that is important to my application. The problem doesnt occur
too with the local file system. I'm running linux centos 5.0.

About ac/localhost, I am not really sure what makes it work.
man 5 nfs

noac Disable attribute caching, and force synchronous writes. This
extracts a server performance penalty but it allows two different
NFS clients to get reasonable good results when both clients are
actively writing to common filesystem on the server.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/