Subject: Re: LFS over NFS
To: Yoshito Komatsu <email@example.com>
From: Konrad Schroder <firstname.lastname@example.org>
Date: 05/18/2006 11:22:01
On Mon, 15 May 2006, Yoshito Komatsu wrote:
>> # mount c8:/tmp /mnt
>> # cp test.tar.gz /mnt
>> cp: /mnt/test.tar.gz: Input/output error
>> # ls -l test.tar.gz /mnt/test.tar.gz
>> -rw-r--r-- 1 4294967294 wheel 3473408 May 15 20:54 /mnt/test.tar.gz
>> -rw-r--r-- 1 root wheel 3494408 May 15 20:54 test.tar.gz
A brave soul :^)
See if sys/ufs/lfs/lfs_vnops.c rev 1.177 helps any.
I hadn't tried exporting LFS in quite some time (years, maybe) until I
read your message; so you may run into other difficulties beyond this one.
A cursory test here (downloading and unpacking all the sources and
building sparc64 GENERIC on an NFS-mounted LFS) mostly works for me,
although I am seeing occasional deadlocks with nfsd sleeping in "lfsput"
that I haven't had time to investigate.
NFS being what it is, rebooting the server allows the client to proceed
without incident :^/