Myklebust, Trond [Trond.Myklebust@xxxxxxxxxx] wrote: > On Tue, 2012-03-06 at 11:10 +0100, Miklos Szeredi wrote: > > The attached test program reliably fails on an NFSv4 mount. > > > > # mount -tnfs -onfsvers=4 127.0.0.1:/ /mnt/nfs > > # ./truncate-test /mnt/nfs/tmp/xyz > > truncate: Input/output error > > > > Thanks, > > Miklos > > Thanks! I'll see if I can reproduce and figure out what's going wrong. I could reproduce on RHEL6.2. If I remove the second open (O_RDONLY), then it works fine. If I do "chmod" (probably others too) on that failing file, then truncate works on it. Looks like some kind of attribute validation issue, I will test it more if I get a chance. Regards, Malahal. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html