Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-31-2004, 08:31 PM
|
#1
|
|
Member
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438
Rep:
|
Samba and 2GB + files
Hi.
I've been trying to copy some iso images to a server on our network.
The files are larger than 2GB, most are 3 - 5 GB.
I am copying the images from a linux machine, to servers which are also running linux and samba.
It seems that when it gets to 2GB copied it stops copying and gives me a "File Size Limit Exceeded".
Is this just a limitation or is it me?
All machines are running ext3.
Thanks alot,
Regards,
Craig
|
|
|
|
08-31-2004, 08:48 PM
|
#2
|
|
Senior Member
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167
Rep:
|
The filesize limit for fat32 is 2 GB's. Perchance are you writing those files to a fat32 partition?
|
|
|
|
08-31-2004, 08:51 PM
|
#3
|
|
Member
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438
Original Poster
Rep:
|
Hi.
All the machines are running ext3. All of our servers are running ext3. Definately not fat.
I was wondering if this was just a limitation of the smb/cifs protocol.
Thanks
Craig
|
|
|
|
08-31-2004, 09:25 PM
|
#4
|
|
Senior Member
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167
Rep:
|
Well, if you are using the samba client to mount and not smbfs in the kernel, then you should be without issue unless you are using 2.x. Upgrade to the latest.
If you are using smbfs and are on kernel 2.4, then that is the limit to the kernel modules for samba. In which case, upgrade to 2.6.
For reference:
http://www.redhat.com/archives/fedor.../msg00173.html
|
|
|
|
08-15-2005, 07:27 PM
|
#5
|
|
Member
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194
Rep:
|
hmm i have the same problem here as well. But after i upgrade my samba to 3.014a and kernel to 2.6.8-2-386, i still have the file size exceed limit error when doing dd if=/dev/zero of=myfile_k6 bs=1024 count=3000000 on NT server.
Does anyone else have the same problem? I kinda suspect the problem is on my NT... it use winxp embedded... Maybe thats the problem?
thanks in advance
|
|
|
|
08-21-2005, 05:27 PM
|
#6
|
|
Member
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438
Original Poster
Rep:
|
Hi taiwf.
Windows XP, 2003, 2000 use cifs protocol. NT, 95, 98 use smb protocol. The smb protocol has a limit of 2GB.
cifs can go above this. So when copying to a XP share you can use mount -t cifs /something /somewhere.
I'm pretty sure that NT can only accept 2GB max files.
Craig 
|
|
|
|
08-21-2005, 06:21 PM
|
#7
|
|
Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,818
|
I run a SAMBA file server and recently when running Linux clients, I came across the same problem.
SMB can handle files that large, all you have to do is mount the shares with the "lfs" option.
This enables large file support in the Samba client, and will allow you to transfer files larger than 2 GB.
So to mount from the command line, you would do:
Code:
mount -t smbfs -o lfs //Server/Share /mountpoint
Or to do it from fstab:
Code:
//Server/Share /mountpoint smbfs user,rw,password=password,lfs 0 0
|
|
|
|
08-22-2005, 08:24 PM
|
#8
|
|
Member
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194
Rep:
|
MS3FGX , thx so very mcuh!!!!! Finally i am able to transfer file larger then 2G.
By the way, where i can find more info about -o ? I didn't find the option of "lfs" (under man)...
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:20 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|