Page 1 of 1

Large Files

Posted: Sun Jan 25, 2009 2:22 pm
by c0b4lt
Is there any particular reason why I can't transfer files 2GB's or larger to the Amahi server over smb from a WIndows client? Been googling for info on Samba and large file support and haven't found anything helpful yet.

Re: Large Files

Posted: Sun Jan 25, 2009 2:43 pm
by cpg
may not have to do with samba or amahi.

i move large files all the time (8GB+).

is the destination system FAT by any chance?

that would explain it, as FAT cannot take over 2GB, i think.

Re: Large Files

Posted: Sun Jan 25, 2009 2:51 pm
by c0b4lt
its ext3

Re: Large Files

Posted: Sun Jan 25, 2009 3:19 pm
by Tad2much
That is a strange problem, is this perhaps an unpatched version of XP/Vista? I remember hearing of some problems a while ago where Windows Explorer (the file browser and likely how you are copying files) has trouble copying large files. Found another forum thread about this, maybe it's the same issue? (I didn't finish the thread, but it seemed like a similar issue to yours)

http://forum.osnn.net/showthread.php?t=92437

Re: Large Files

Posted: Sun Jan 25, 2009 3:23 pm
by c0b4lt
i have all the latest updates installed for my XP workstations. It is strange indeed considering the files I had originally copied perfectly fine to a FreeNAS box and managed to copy back to the XP workstations just before formating and installing FC9/Amahi on to that same machine.

The error I get from Windows is that the destination is either full or write protected. Which is not the case as files under 2GB write to the drive fine. and df gives me this

Image

/dev/sdc1 is the drive I'm trying to write to over SMB/CIFS

Re: Large Files

Posted: Sun Jan 25, 2009 3:26 pm
by cpg
you can try to set

Code: Select all

log level = 4
(or 5) in the [global] section of /etc/samba/smb.conf

and then cause the error and see the last file logged in /var/log/samba/
(ls -lt /var/log/samba/) at the end to see if the error is given.

Re: Large Files

Posted: Sun Jan 25, 2009 3:37 pm
by Tad2much
Are you sure that the user you're connecting as over samba has write permissions to the shared folders?

Re: Large Files

Posted: Sun Jan 25, 2009 4:08 pm
by c0b4lt
yeah im pretty sure my user works considering its the same one that i wrote the current 8.5GB of data to the share with.

Re: Large Files

Posted: Sun Jan 25, 2009 5:12 pm
by cpg
hmm, interesting mystery!

does it fail right away or at the end of the write?

Re: Large Files

Posted: Sun Jan 25, 2009 11:25 pm
by relrobber
how long does it take to fail? i had the same problem w/ a different server i used to have, and the issue was the on-access AV scanner was taking so long to scan the incoming file (when >2GB) that the transfer would time out.