Large Files

c0b4lt
Posts: 7
Joined: Sat Jan 24, 2009 10:17 pm

Large Files

Postby c0b4lt » Sun Jan 25, 2009 2:22 pm

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.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Large Files

Postby cpg » Sun Jan 25, 2009 2:43 pm

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.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

c0b4lt
Posts: 7
Joined: Sat Jan 24, 2009 10:17 pm

Re: Large Files

Postby c0b4lt » Sun Jan 25, 2009 2:51 pm

its ext3

Tad2much
Posts: 5
Joined: Wed Jan 21, 2009 9:36 am

Re: Large Files

Postby Tad2much » Sun Jan 25, 2009 3:19 pm

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

c0b4lt
Posts: 7
Joined: Sat Jan 24, 2009 10:17 pm

Re: Large Files

Postby c0b4lt » Sun Jan 25, 2009 3:23 pm

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
Last edited by c0b4lt on Sun Jan 25, 2009 3:36 pm, edited 1 time in total.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Large Files

Postby cpg » Sun Jan 25, 2009 3:26 pm

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.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Tad2much
Posts: 5
Joined: Wed Jan 21, 2009 9:36 am

Re: Large Files

Postby Tad2much » Sun Jan 25, 2009 3:37 pm

Are you sure that the user you're connecting as over samba has write permissions to the shared folders?

c0b4lt
Posts: 7
Joined: Sat Jan 24, 2009 10:17 pm

Re: Large Files

Postby c0b4lt » Sun Jan 25, 2009 4:08 pm

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.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Large Files

Postby cpg » Sun Jan 25, 2009 5:12 pm

hmm, interesting mystery!

does it fail right away or at the end of the write?
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
relrobber
Posts: 72
Joined: Wed Dec 17, 2008 10:01 pm
Location: Searcy, AR
Contact:

Re: Large Files

Postby relrobber » Sun Jan 25, 2009 11:25 pm

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.
Home HDA: Sony VAIO PCV-RX560, 1.7GHz P4, 320MB RAM

Managed HDA: 512MB RAM

Who is online

Users browsing this forum: Google [Bot] and 8 guests