From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 13 15:08:21 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72E72106567A for ; Thu, 13 Jan 2011 15:08:21 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 152A38FC1D for ; Thu, 13 Jan 2011 15:08:20 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1PdOmg-0007DW-PH; Thu, 13 Jan 2011 17:08:18 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Rick Macklem In-reply-to: <1344863848.140534.1294881648948.JavaMail.root@erie.cs.uoguelph.ca> References: <1344863848.140534.1294881648948.JavaMail.root@erie.cs.uoguelph.ca> Comments: In-reply-to Rick Macklem message dated "Wed, 12 Jan 2011 20:20:48 -0500." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 13 Jan 2011 17:08:18 +0200 From: Daniel Braniss Message-ID: Cc: freebsd-hackers@freebsd.org Subject: Re: NFS: file too large X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2011 15:08:21 -0000 > > 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