Date: Thu, 13 Jan 2011 17:08:18 +0200 From: Daniel Braniss <danny@cs.huji.ac.il> To: Rick Macklem <rmacklem@uoguelph.ca> Cc: freebsd-hackers@freebsd.org Subject: Re: NFS: file too large Message-ID: <E1PdOmg-0007DW-PH@kabab.cs.huji.ac.il> In-Reply-To: <1344863848.140534.1294881648948.JavaMail.root@erie.cs.uoguelph.ca> References: <1344863848.140534.1294881648948.JavaMail.root@erie.cs.uoguelph.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
> > I'm getting 'File too large' when copying via NFS(v3, tcp/udp) a file > > that is larger than 1T. The server is ZFS which has no problem with > > large > > files. > > > > Is this fixable? > > > As I understand it, there is no FreeBSD VFSop that returns the maximum > file size supported. As such, the NFS servers just take a guess. > > You can either switch to the experimental NFS server, which guesses the > largest size expressed in 64bits. > OR > You can edit sys/nfsserver/nfs_serv.c and change the assignment of a > value to > maxfsize = XXX; > at around line #3671 to a larger value. > > I didn't check to see if there are additional restrictions in the > clients. (They should believe what the server says it can support.) > > rick well, after some more experimentation, it sees to be a FreeBSD client issue. if the client is linux there is no problem. BTW, I 'think' I'm using the experimental server, but how can I be sure? I have the -e set for both nfs_server and mountd, I don't have option NFSD, but the nfsd.ko gets loaded. cheers, danny
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1PdOmg-0007DW-PH>