NFS occassionally gives "permission" denied in the middle of a large transfer

Dan Nelson dnelson at
Mon Apr 26 11:37:19 PDT 2004

In the last episode (Apr 26), Tillman Hodgson said:
> However, this has been failing sporadically with messages like:
>   <snip>
>   DUMP: 50.71% done, finished in 1:03
>   DUMP: 53.06% done, finished in 1:01
>   DUMP: 54.72% done, finished in 1:02
> gzip: stdout: Permission denied
>   DUMP: Broken pipe
>   DUMP: The ENTIRE dump is aborted.
> I've confirmed that the scripts work correctly when run by hand (and
> most of the time when run from cron), that I'm not running out of
> disk space, and that I'm not running out of network I/O (Athena is
> Gigabit on the switch, all the other machines are 100Mbit). There
> shouldn't be any concurrent access (nothing else uses this
> filesystem, and each host gets it's own diretory tree) so locking
> shouldn't be an issue.

The only time I've seen incorrect permission denied messages is when
mountd is refreshing the exports list.  It's not atomic, so there's a
small window where the old exports have been deleted but the new ones
aren't in place yet.

	Dan Nelson
	dnelson at

More information about the freebsd-questions mailing list