News:

Buffalo provides Data Recovery services. Read about it here.

Main Menu

[Solved] File bigger than 2gb wont copy? Samba, Netbios. Linux

Started by frosterrj, August 23, 2009, 11:05:04 AM

Previous topic - Next topic

frosterrj

   

Only one thread about this relating to apple products.  I'm copying from a data drive on my machine (running linux) to the NAS (linkstation) and it always stops at 2gb saying files too big.   Just trying to copy the win7 RC DVD iso which is 2.4gb +/-.

 

What gives?  Supposedly no file size limit exists for smbfs.

 

thanks,

robert

 

 

Solution was to add the IP (it was made static in the Buffalo device config) to my /ect/hosts, modify my /etc/fstab to use the device IP (/xxx.xxx.xx.xxx/share /mnt/here), not the name, and change file system type in /etc/fstab from smbfs to cifs.  Successfully copied the 2.4gb win7 iso.  Seems much speedier too.

 

Here is a link to the forum for PCLOS (my distribution) explaining what to do:

http://www.pclinuxos.com/index.php?option=com_smf&Itemid=26&topic=61459.msg495720#msg495720

 

 

Good luck!

Robert

 

Message Edited by frosterrj on 08-24-2009 07:36 PM
Message Edited by frosterrj on 08-24-2009 07:37 PM

JohnGray

   

http://linuxmafia.com/faq/VALinux-kb/2gb-filesize-limit.html">Is there any way around the 2GB file-size limit in Linux?

 

Is that in any way relevant to the problem, or does it relate to older versions?

Message Edited by JohnGray on 08-23-2009 11:18 AM

rinthos

   

What device model are you trying to copy?

The 2gb limitation isn't as big of an issue for most Buffalo NAS devices, since buffalo uses XFS.

As per that link:

 

"3. Use suitable filesystems. These include ext2/ext3, ReiserFS v. 3.6.x and up, IBM's JFS, SGI's XFS, and recent NFSv3 client drivers "

 

XFS is indeed in use and can indeed store larger filesystems, so the original poster (OP) needs to provide more detail about storage device model, how it is connected, firmware version, OS version(s), etc to troubleshoot further.

---


frosterrj

   

Buffalo Model is HS-DH500GL, Firmware 2.11, connecting via ethernet linksys 8-port gigabit switch.

 

My pc is running PCLOS, with ext3 as filesystem, kernel 2.6.28 or something like that.  I have the connection to the NAS setup via SAMBA, so is the 2gb limit somthing in SAMBA config?


rinthos

   

Could indeed be a Samba limit, yeah.   :( Older versions of Samba have this restriction and newer ones have conf options that can result in the same problem.  Might want to try mounting it as a true cifs filesystem which should work around the limit of smbfs.

 

Alternatively, you could try modifying samba configuration (a quick web search on samba configs will yield quite a few options) for your system.

 

Worst case, the linkstation cifs (samba) implementation/config is preventhing this...but I'd try reconfiguring your system (and the mount of the share) first.  Think you might be able to work around it that way.


Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 5: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default), StopForumSpam.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 186 (show)
Files included: 35 - 1354KB. (show)
Memory used: 1008KB.
Tokens: post-login.
Queries used: 15.

[Show Queries]