LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-20-2005, 02:46 AM   #1
taiwf
Member
 
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194

Rep: Reputation: 31
samba 2g limit exceed?


i am Linux 2.4.20-28.7 , samba Version 2.2.7-security-rollup-fix

and i can't seems to copy files >2 G on windows plateform. Is there a way do fix this thing without upgrade the kernel?


thanks in advance
 
Old 07-20-2005, 01:09 PM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
I'm pretty sure this has nothing to do with your kernel, 2.4.20 should support files >2Gb. However your samba version is quite antic... you better try to update this before anything else.
 
Old 07-20-2005, 11:54 PM   #3
taiwf
Member
 
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194

Original Poster
Rep: Reputation: 31
forgot to mention i am using redhat 7.3

When i try to upgrade to samba (which i compile from srouce.rpm coz i can't find the binary ver for redhat 7.3) , i got some error message:


root@antivirus:/usr/src/redhat/RPMS/i386$ rpm -Uvh samba-3.0.14a-1.i386.rpm
Preparing... ########################################### [100%]
1:samba warning: /etc/samba/smb.conf created as /etc/samba/smb.conf.rpmnew
########################################### [100%]
Moving tdb files in /var/cache/samba/*.tdb to /var/lib/samba/*.tdb
Moving /var/cache/samba/brlock.tdb to /var/lib/samba/brlock.tdb
Moving /var/cache/samba/connections.tdb to /var/lib/samba/connections.tdb
Moving /var/cache/samba/locking.tdb to /var/lib/samba/locking.tdb
Moving /var/cache/samba/messages.tdb to /var/lib/samba/messages.tdb
Moving /var/cache/samba/ntdrivers.tdb to /var/lib/samba/ntdrivers.tdb
Moving /var/cache/samba/ntforms.tdb to /var/lib/samba/ntforms.tdb
Moving /var/cache/samba/ntprinters.tdb to /var/lib/samba/ntprinters.tdb
Moving /var/cache/samba/printing.tdb to /var/lib/samba/printing.tdb
Moving /var/cache/samba/sessionid.tdb to /var/lib/samba/sessionid.tdb
Moving /var/cache/samba/share_info.tdb to /var/lib/samba/share_info.tdb
Moving /var/cache/samba/unexpected.tdb to /var/lib/samba/unexpected.tdb
Installing stack version of /etc/pam.d/samba...
error: execution of %postun scriptlet from samba-2.2.7-3.7.3 failed, exit status 1
warning: /etc/xinetd.d/swat saved as /etc/xinetd.d/swat.rpmsave


--------------------------------------------------------

after that i restart samba and now is version 3.014 But i still get the file size exceed limit , which is only a 3G file and only 2G is allow to copy till the error mesg pop up.
 
Old 07-21-2005, 08:12 PM   #4
taiwf
Member
 
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194

Original Poster
Rep: Reputation: 31
ok, i tried to use 'smbclient' and xfer 3g file has no problem. But i wonder is there any alternative commmands other then mount -t smbfs or smbmount i can use? Its easier to put them in script for autoback up.


thx
 
Old 07-21-2005, 08:29 PM   #5
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
if you add a line for what you want to mount in /etc/fstab, you will be able to mount using the usual mount command ( i.e : mount //what/shared /where/to )
 
Old 07-22-2005, 02:32 AM   #6
taiwf
Member
 
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194

Original Poster
Rep: Reputation: 31
mount is of no problem , its just that i can't xfer file size >2 G if i mount then cp.


I can do smbclient batch copy by:
smbclient //file-share/backups -A /root/samba_credentials -c "prompt;mput *.*;exit"


But dono how to copy directory.Man smbclient mention sth about mask. I always had a hard time to fully understand Man's explaination lol. Can someone help me with the directory copying thing?
 
Old 09-06-2008, 12:31 PM   #7
cihan
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
you can use lfs option while mounting.

Code:
mount -t smbfs -o username=...,lfs /dev-or-path-to-mount /mount-point
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba file size limit? babag Linux - Networking 2 10-12-2005 03:26 PM
How to limit the amout of disk space for Samba user fieldyweb Linux - Newbie 1 10-03-2005 10:30 AM
samba limit on file sizes about 2GB adler321 Linux - Software 7 09-22-2004 08:59 AM
samba windows share file size limit Axion Linux - Software 2 04-04-2004 03:20 PM
Limit bandwidth on Samba objorkum Linux - Software 0 09-08-2003 02:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:17 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration