Koozali.org: home of the SME Server

'File size limited exceeded' when copying large files

Offline jarthurs

  • *
  • 29
  • +0/-0
'File size limited exceeded' when copying large files
« on: January 17, 2006, 11:52:31 AM »
I've recently dumped a large (>5Gb) backup file from my laptop to my SME Server (6.0.1), no problem there. But at the console if I try to move the file back to a shared drive on a desktop after a while it returns 'File size limit exceeded'.

I believe what I'm seeing is a limitation of the way I've temporarily mounted the XP machines shared drive (and yes it is an NTFS volume).

mount -t smbfs //machine/volume /mnt

I have been advised to use cifs instead of smbfs but cannot find any reference to cifs. Is it implemented in the version of Samba supplied with 6.0.1 and what version do I need in order to have access to mount.cifs?

Regards,
Jason.

Jon_Reynolds

'File size limited exceeded' when copying large files
« Reply #1 on: January 18, 2006, 04:18:59 AM »
What error are you getting when you try to mount the drive using

mount -t cifs //machine/volume /mnt

Instead of

mount -t smbfs //machine/volume /mnt

I use cifs to store my mythtv files and have had no problems with it.

Also, you should make a directory inside of /mnt instead of mounting it directly on /mnt.

e.g. mount -t cifs //machine/volume /mnt/share

Jon

Offline jarthurs

  • *
  • 29
  • +0/-0
'File size limited exceeded' when copying large files
« Reply #2 on: January 19, 2006, 09:57:37 PM »
Quote from: "Jon_Reynolds"
What error are you getting when you try to mount the drive using

mount -t cifs //machine/volume /mnt

Instead of

mount -t smbfs //machine/volume /mnt

I use cifs to store my mythtv files and have had no problems with it.

Also, you should make a directory inside of /mnt instead of mounting it directly on /mnt.

e.g. mount -t cifs //machine/volume /mnt/share

Jon


I get the error:

mount: fs type cifs not supported by kernel

Which was why I wondered if my Samba install was out of date (not sure which version 6.0.1 has by default).

Regards,
Jason.

Jon_Reynolds

'File size limited exceeded' when copying large files
« Reply #3 on: January 19, 2006, 11:30:57 PM »
Quote from: "jarthurs"


I get the error:

mount: fs type cifs not supported by kernel

Which was why I wondered if my Samba install was out of date (not sure which version 6.0.1 has by default).

Regards,
Jason.


I don't mount anything on my SME other than physical disks that are in the machine. My remote mounts using CIFS are from other machines mounting my SME disks. I have used the smeplus.sh script to update my server so that might be the difference between us. The problem is not with samba but that cifs is not compiled into the SME server, which is what the error is telling you.

Here is my kernel version:
Linux otrta 2.4.20-18.7 #1 Thu May 29 08:32:50 EDT 2003 i686 unknown

And here is my samba version:
samba-2.2.8a-2cb

I got the update script by using wget, like so:
wget -N http://sme.braunstein.de/update/smeplus.sh

That will download the latest update script. After you have it simply type in at the CLI:

sh smeplus.sh

Then follow the prompts on what you want.

There are warnings and you should heed them, if this is a production server you might want to make a full backup and test on another server.

Jon