From owner-freebsd-current@FreeBSD.ORG Sun Dec 21 15:47:44 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CFF716A4CE; Sun, 21 Dec 2003 15:47:44 -0800 (PST) Received: from reason.levels.unisa.edu.au (reason.levels.unisa.edu.au [130.220.33.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2665D43D45; Sun, 21 Dec 2003 15:47:36 -0800 (PST) (envelope-from Benjamin.Close@unisa.edu.au) Received: from unisa.edu.au (cis202068.levels.unisa.edu.au [130.220.37.202]) hBLNlY1x011350; Mon, 22 Dec 2003 10:17:34 +1030 (CST) Message-ID: <3FE630FE.6070504@unisa.edu.au> Date: Mon, 22 Dec 2003 10:17:10 +1030 From: Benjamin Close User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031106 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tim Robbins References: <3FE29BA4.9060205@unisa.edu.au> <20031220072053.GA4539@wombat.robbins.dropbear.id.au> In-Reply-To: <20031220072053.GA4539@wombat.robbins.dropbear.id.au> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 21 Dec 2003 16:18:20 -0800 cc: freebsd-current@freebsd.org Subject: Re: smbfs 4G max file size X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2003 23:47:44 -0000 Tim Robbins wrote: >On Fri, Dec 19, 2003 at 05:03:08PM +1030, Benjamin Close wrote: > > > >>Hi All, >> Whilst tinkering with some backups the other day I noticed that >>smbfs capped out at 4G. >>Does the protocol restrict it to this limit or is there something else? >> >> > >What exactly doesn't work for files >4G? smbfs is supposed to support >files up to 2^64 bytes in size, but the code may be buggy or incomplete. > > >Tim > > Quite a bit. I can't create a file bigger than 4G, cat to a file bigger than 4G or do anything to make it bigger than 4G. ie: cis209883# cd /mnt/smbfs cis209883# /home/benjsc/bin/createfile filename 4294967296 cis209883# ls -l filename -rwxr-xr-x 1 root wheel 4294967296 Dec 22 10:07 filename cis209883# echo "This string will not be appended" >> filename cis209883# ls -l filename -rwxr-xr-x 1 root wheel 4294967296 Dec 22 10:07 filename This seems like a nasty bug as well cis209883# /home/benjsc/bin/createfile filename2 5368709120 cis209883# ls -l filename2 -rwxr-xr-x 1 root wheel 1073741824 Dec 22 10:08 filename2 cis209883# ls -lh filename2 -rwxr-xr-x 1 root wheel 1G Dec 22 10:08 filename2 Yet on a ufs partition: cis209883# cd /mnt/raid cis209883# /home/benjsc/bin/createfile filename2 5368709120 cis209883# ls -l filename2 -rw-r--r-- 1 root wheel 5368709120 Dec 22 10:10 filename2 cis209883# ls -lh filename2 -rw-r--r-- 1 root wheel 5G Dec 22 10:10 filename2 Cheers, Benjamin -- 3D Research Associate / System Administrator +61 8 8302 3669 School of Computer and Information Science Room D1-07, ML Campus University of South Australia Mawson Lakes Blvd. Benjamin.Close@cs.unisa.edu.au South Australia, 5095 F00D C83D 5F7E 5561 DF91 B74D E602 CAA3 4842 B5B4