We have a Solaris 2.6 NFS server, and some AIX 4.2 clients. The problem
is that we cannot write files to NFS-mounted filesystems larger than
2GB. Here is an excerpt from an email I got on the subject by one of
I ran several tests yesterday trying to write a file over 2 GB from
an SP2 system running AIX 4.2 to an NFS mounted disk on a Solaris
2.6 server. (I used a stand alone utility to do this to make life
simpler.) The tests failed. I opened the file using the following
ofd = open(fid_out, O_WRONLY | O_CREAT | O_LARGEFILE, 0777);
and I used llseek() to set the file offset and write() to write as
llseek(ofd, soff, SEEK_SET);
write(ofd, buf, bsz);
I am not sure what to tell you. I have used the same program to
write files over 2GB from an AIX client to an AIX server using NFS;
I have done the same from solaris client to solaris server using NFS
(except that I did NOT use the O_LARGEFILE flag). This is a
question for the folks at IBM (I will pass this along to them as
well). I just spoke to one of our IBM representives and he
suggested the possibility that AIX goes into a conservative mode of
operation (i.e., using only the lowest common denominator so as to
be safe) when it tries to talk to a non-AIX NFS server.
Does anyone have any ideas as to what the problem (and possible
solution or workaround) might be?
Thanks in advance. Email cc's appreciated.
Griff Miller II
Senior Unix/NT Sysadmin
PGS Tensor "Never anthropomorphize computers; they hate that."