Date: Mon, 22 Dec 2003 10:17:10 +1030 From: Benjamin Close <Benjamin.Close@unisa.edu.au> To: Tim Robbins <tjr@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: smbfs 4G max file size Message-ID: <3FE630FE.6070504@unisa.edu.au> In-Reply-To: <20031220072053.GA4539@wombat.robbins.dropbear.id.au> References: <3FE29BA4.9060205@unisa.edu.au> <20031220072053.GA4539@wombat.robbins.dropbear.id.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FE630FE.6070504>
