[Samba] Backup from Linux onto Win2K-share

Jay Fenlason fenlason at redhat.com
Tue Nov 25 22:13:12 GMT 2003


On Mon, Nov 17, 2003 at 12:28:33PM +0100, Carsten.Loeffler at command.de wrote:

> No, I'm not really "taring". Right now I'm using following command to mount
> a share on the windows box:
> 
> smbmount //ntsrvsr3/cmdhp5 /mnt/backupsmb -o username=kwhadm,dmask=777
> 
> I also tried "mount -f smbfs ...."; but this failed as well.
> 
> Some more descriptions:
> I have a Windows-2000-domain with ten W2K servers. One of the servers is my
> backup server which has a share for each of the other servers where they
> can put
> their database-backups. As well I have a Linux box running a database; it
> also
> has to put its database backup to a share (named above).
> 
> A few words on my database: I'm running SAP DB 7.3. It has the option to
> backup the database either on a tape or on into a file. If using
> "file-backup" this
> file can be anywhere on the linux, either in the local file system or in
> NFS or in
> SAMBA. SAP DB does not care on that as long as it can use a mount.
> In Windows this works out perfectly for me (same technique).
> 
> Ive tried FTP, SAMBA and NFS: nothing can backup more than 2 or 4 Gigabyte.
> Ive tried Suse Enterprise 8, Suse 8.2, Mandrake 8.1: same problem
> everywhere.
> At home I tried to manage it with XP-Professional and Suse Linux 8.2; there
> I've tested a new compiled kernel and samba 3.0.1: same problem.
> 
> Sorry, but I'm getting "frustrated".

You're using the Linux Kernel "smbfs" file system module, which is a
part of the Linux kernel and not really part of Samba per se (although
the smbmount helper program is included in Samba).  Some versions of
it have a 2G file size limit.  There are patches that you can apply to
your Linux kernel (and possibly your Samba as well) to.

Can you try using the smbclient command to copy the file to your
server?

The other alternative is to try installing the Linux CIFS filesystem
module.  See
http://www.samba.org/samba/Linux_CIFS_client.html

			-- JF



More information about the samba mailing list