Linux - NetworkingThis 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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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.
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.
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 )
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.