LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 09-09-2004, 07:03 PM   #1
adler321
LQ Newbie
 
Registered: Apr 2004
Posts: 7

Rep: Reputation: 0
samba limit on file sizes about 2GB


Hi,
I am trying to send large (over 4GB of data) files over to the Windows computer. I use smbmount, or mount -t smbfs to connect to the Windows machine. After I start transferring, at about the size of 2GB I get a message that says: File size exceeded or smth. like that. I have checked, and it looks like my kernel (4.6.4, freshly compiled) supports large files. I mean they exist on my system, and I can move them around so it must have large file support, right? Is it my samba then? My samba version is 2.2.7a-1. Is there a newer samba that has large file support included? I want to stay away from any patches, just want to have an easy resolution to this problem.

Thanks
 
Old 09-09-2004, 07:06 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,627
Blog Entries: 10

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
Use the search, Luke ...
http://www.linuxquestions.org/questi...der=descending
http://www.linuxquestions.org/questi...54#post1100854

Cheers,
Tink
 
Old 09-10-2004, 12:14 PM   #3
adler321
LQ Newbie
 
Registered: Apr 2004
Posts: 7

Original Poster
Rep: Reputation: 0
dillemma

Unfortunately, those posts don't really give me any answers. I guess nobody know for sure what is going on with this problem.
Thanks anyways.
 
Old 09-10-2004, 01:29 PM   #4
proudclod
Member
 
Registered: May 2004
Distribution: Fedora Core 2
Posts: 381

Rep: Reputation: 30
It depends whether the windows filesystem is FAT32 or NTFS
 
Old 09-10-2004, 02:14 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,627
Blog Entries: 10

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
Re: dillemma

Quote:
Originally posted by adler321
Unfortunately, those posts don't really give me any answers. I guess nobody know for sure what is going on with this problem.
Thanks anyways.
Guess you didn't read too well ...

Here's a bit from the 2nd link.
Quote:
Samba?
It does indeed have a 2GB limit if you
don't add the -o lfs option to the mount
command.

Cheers,
Tink
 
Old 09-10-2004, 05:16 PM   #6
adler321
LQ Newbie
 
Registered: Apr 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Tried that, it doesnt like that option. I just got a newer samba 3.0.6 installed, and that doesn't take -o lfs option. I don't know what to do next. The file system that I am trying to copy the file to is NTFS. Any ideas for what I can check and how to do it?

Thanks a lot!
 
Old 09-22-2004, 06:18 AM   #7
eero
LQ Newbie
 
Registered: Oct 2003
Location: BD, Sweden
Distribution: Clarkconnect 2.1 / Fedora Core 1
Posts: 18

Rep: Reputation: 0
Re: Re: dillemma

I got the same problem..
This doesnt help
"mount -t smbfs -o lfs,username=xxx,password=xxx,workgroup=xxx //xxx/test /mnt/test"
the only solution i got is to sit infront of my windows machine and copy the file that are larger than 2Gb
But if someone know how to fix the problem pls respond.

And i tried "smbmount //xxx/test /mnt/test -o lfs,username=xxx,password=xxx,workgroup=xxx"
that doesnt help either

ps. dont mind the "xxx" because i know that is not the problem .ds
 
Old 09-22-2004, 07:59 AM   #8
eero
LQ Newbie
 
Registered: Oct 2003
Location: BD, Sweden
Distribution: Clarkconnect 2.1 / Fedora Core 1
Posts: 18

Rep: Reputation: 0
hmm.. i read something that libc needs to be recompiled with largefile support
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Very confused about 2GB file size limit! nkendrick Linux - General 6 09-29-2005 07:14 PM
Redhat 9.0 >2GB file limit Wilbs Red Hat 2 08-12-2004 01:26 PM
2GB File Limit AS2.1 jbovaird Red Hat 19 11-14-2003 11:29 AM
2.4.20 Kernel has file size limit=2GB?? How can this be! digizer0 Linux - General 7 01-14-2003 10:00 PM
Is there a way round the 2gb File size Limit smurf Linux - General 2 07-10-2002 02:57 PM


All times are GMT -5. The time now is 01:28 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration