Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SAMBA 2GB limit?

25 views
Skip to first unread message

x0054

unread,
Feb 14, 2006, 10:13:41 PM2/14/06
to
I looked around with no luck. Many places reference that SAMBA indeed
has a 2GB limit, but no one mentions if there is a way to fix that. As
mentioned in another post, I would like to do a system image over SAMBA
of my HD, and what's stopping me is what seams to be an arbitrary 2GB
limit on a file size. Is there way to fix that?

- Bogdan

Joe Feise

unread,
Feb 15, 2006, 1:32:42 AM2/15/06
to
x0054 wrote on 02/14/06 19:13:

> I looked around with no luck. Many places reference that SAMBA indeed
> has a 2GB limit, but no one mentions if there is a way to fix that. As


You just didn't look hard enough:
http://lists.samba.org/archive/samba/2000-August/020286.html

> mentioned in another post, I would like to do a system image over SAMBA
> of my HD, and what's stopping me is what seams to be an arbitrary 2GB
> limit on a file size. Is there way to fix that?


If your system supports files > 2GB, recompiling Samba should help...
configure checks for large file support.

-Joe

David

unread,
Feb 15, 2006, 2:01:48 AM2/15/06
to

Maybe the 2GB is dependent on the underlying file system type.?

FAT32 (and I think EXT2 & EXT3) file systems have a 2GB file size limit.

Others, like ReiserFS, have a much higher limit.

David

Matt Payton

unread,
Feb 15, 2006, 8:00:01 AM2/15/06
to

When mounting smbfs the default does not include large file support, which
limits files to less than 2 gigs. Using the lfs option will include large
file support. Google "smbfs lfs option", since it seems to be missing
from most documentation.

A better option is to use cifs, if it's supported by your
kernel/distribution/version. When mounting cifs, large files are
supported by default.

So either :
mount -t smbfs //server/share /mountpoint -o lfs other-options
or
mount -t cifs //server/share /mountpoint -o options

Check http://linux-cifs.samba.org/ for more info.

--
- Matt -

Paul Sherwin

unread,
Feb 15, 2006, 8:18:21 AM2/15/06
to
On Wed, 15 Feb 2006 13:00:01 GMT, Matt Payton <mattp...@hotmail.com>
wrote:

>On Tue, 14 Feb 2006 19:13:41 -0800, x0054 wrote:
>
>> I looked around with no luck. Many places reference that SAMBA indeed
>> has a 2GB limit, but no one mentions if there is a way to fix that. As
>> mentioned in another post, I would like to do a system image over SAMBA
>> of my HD, and what's stopping me is what seams to be an arbitrary 2GB
>> limit on a file size. Is there way to fix that?
>
>When mounting smbfs the default does not include large file support, which
>limits files to less than 2 gigs. Using the lfs option will include large
>file support. Google "smbfs lfs option", since it seems to be missing
>from most documentation.
>
>A better option is to use cifs, if it's supported by your
>kernel/distribution/version. When mounting cifs, large files are
>supported by default.

I suspect the OP is trying to use a Samba share from a Windows system.

Best regards, Paul
--
Paul Sherwin Consulting http://paulsherwin.co.uk

Matt Payton

unread,
Feb 15, 2006, 9:40:00 AM2/15/06
to

If that's the case, the file size limitation would be on the file system
on the Linux box...Which almost certainly isn't limited to 2 gigs...
But, I was assuming they were referring to a smbfs mount, since that seems
to be the where the 2 gig limit is run into the most frequently.

AFAIK, files shared *from* samba are limited in size only by the
underlying file system.
I have a Linksys nslu2, with a usb drive connected + formatted with ext3.
I use it to back up my Windows box, and both Linux boxes, and do not have
any problem creating large files. I did when I was mounting the shares
on linux via smbfs, without the lfs option.

Older versions of Samba may have had limitations, but anything recent can
certainly handle large files.

--
- Matt -

x0054

unread,
Feb 15, 2006, 11:39:57 AM2/15/06
to

Thank you very much. I will try to do that in few days. What I was
trying to do is dd an image of my harddrive directly to my server over
samba. I will try cifs from the slax live-cd I have.

- Bogdan

xtoito...@gmail.com

unread,
Mar 27, 2015, 6:03:11 AM3/27/15
to
gé pa kompri

Carpe Diem

unread,
Mar 28, 2015, 8:45:44 AM3/28/15
to
xtoito...@gmail.com schreef op 27/03/2015 om 11:03:
> gé pa kompri
>
mwa no npluu


Aragorn

unread,
Mar 28, 2015, 4:38:03 PM3/28/15
to
On Saturday 28 March 2015 13:45, Carpe Diem conveyed the following to
alt.os.linux...

> xtoito...@gmail.com schreef op 27/03/2015 om 11:03:
>
>> gé pa kompri
>
> mwa no npluu

Kis kiel die?

:p

--
= Aragorn =

http://www.linuxcounter.net - registrant #223157

Carpe Diem

unread,
Mar 29, 2015, 2:53:15 AM3/29/15
to
Aragorn schreef op 28/03/2015 om 21:38:
> On Saturday 28 March 2015 13:45, Carpe Diem conveyed the following to
> alt.os.linux...
>
>> xtoito...@gmail.com schreef op 27/03/2015 om 11:03:
>>
>>> gé pa kompri
>>
>> mwa no npluu
>
> Kis kiel die?
>
> :p
>

zjun c pa, mè snè pa lang lè


Carpe Diem

unread,
Mar 29, 2015, 2:58:11 AM3/29/15
to
Carpe Diem schreef op 29/03/2015 om 8:53:
ne kud ossan woak ne kè proa beern lik bachnn deuh kuupe, ennèè !

Carpe Diem

unread,
Mar 29, 2015, 3:17:52 AM3/29/15
to

>>>>> gé pa kompri
>>>>
>>>> mwa no npluu
>>>
>>> Kis kiel die?
>>>
>>> :p
>>>
>>
>> zjun c pa, mè snè pa lang lè
>>
>>
>
> ne kud ossan woak ne kè proa beern lik bachnn deuh kuupe, ennèè !

Kuwwe mus-kien nie geweune stoppn mèè da stoem gezèvr?
Goegl frie trans lijt : "Maybe we could just stop this (a bit) idiot
discussion?"

Aragorn

unread,
Mar 29, 2015, 10:56:00 AM3/29/15
to
On Sunday 29 March 2015 09:17, Carpe Diem conveyed the following to
alt.os.linux...

>
Allei dan, oemda g'et zoe schooën vroagt, ei. :p

(Nee, ik ben niet van Antwerpen. :p)

Chris Ahlstrom

unread,
Mar 29, 2015, 12:46:14 PM3/29/15
to
Aragorn wrote this copyrighted missive and expects royalties:

> On Sunday 29 March 2015 09:17, Carpe Diem conveyed the following to
> alt.os.linux...
>
>>>>>>> gé pa kompri
>>>>>>
>>>>>> mwa no npluu
>>>>>
>>>>> Kis kiel die?
>>>>>
>>>> zjun c pa, mè snè pa lang lè
>>>
>>> ne kud ossan woak ne kè proa beern lik bachnn deuh kuupe, ennèè !
>>
>> Kuwwe mus-kien nie geweune stoppn mèè da stoem gezèvr?
>> Goegl frie trans lijt : "Maybe we could just stop this (a bit) idiot
>> discussion?"
>
> Allei dan, oemda g'et zoe schooën vroagt, ei. :p
>
> (Nee, ik ben niet van Antwerpen. :p)

Nee!

--
For office use only.
0 new messages