problem transferring large files

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: problem transferring large files

Postby sjwoo » Fri Mar 01, 2013 1:32 pm

I'm having a different issue with my E02. I have two Samba shares:

64GB Lexar flash drive, FAT32
250GB HDD, NTFS

The 250GB HDD has no issues whatsoever, but the 64GB Lexar drive has a delay when I start to copy a large file. The larger it is, the longer the delay. Once the delay is over, it copies just fine. Here's a chunk of my Samba global:

$this->bbcode_second_pass_code('', ' passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword$
socket options = TCP_NODELAY
#write cache size = 1048576
#use sendfile = yes
obey pam restrictions = yes
null passwords = yes
map to guest = bad user
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
passdb backend = tdbsam
dns proxy = no
server string = %h server
unix password sync = yes
workgroup = WORKGROUP
security = user
syslog = 0
usershare allow guests = yes
panic action = /usr/share/samba/panic-action %d
max log size = 1000')

I'm using udevil to automount. Here's what the mount looks like:

$this->bbcode_second_pass_code('', '/dev/sdb1 on /media/250GB External type fuseblk (rw,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sdc1 on /media/64GB type vfat (rw,nosuid,nodev,noexec,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)')

Any help would be greatly appreciated.
sjwoo
 
Posts: 38
Joined: Thu Dec 15, 2011 2:46 pm

Re: problem transferring large files

Postby sjwoo » Fri Mar 01, 2013 11:25 pm

FYI, I decided to format the flash drive as NTFS. Now there are no delays and I'm getting excellent throughput. So problem solved!
sjwoo
 
Posts: 38
Joined: Thu Dec 15, 2011 2:46 pm

Re: problem transferring large files

Postby lordesp27 » Tue Mar 05, 2013 2:35 am

i tried to update to samba4 but no changes. still i cant transfer large files...
lordesp27
 
Posts: 28
Joined: Thu Feb 07, 2013 3:49 pm

Re: problem transferring large files

Postby moonman » Tue Mar 05, 2013 6:31 am

Try to format the hdd as ext2/3/4, see if that resolves the problem.
If not, then there's something wrong with your hardware: cables, switch, router.

tedm had a wrong config file setup, the last line needs to go in /etc/security/limits.conf , not in samba.conf
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: problem transferring large files

Postby lordesp27 » Tue Mar 05, 2013 2:54 pm

$this->bbcode_second_pass_quote('moonman', 'T')ry to format the hdd as ext2/3/4, see if that resolves the problem.
If not, then there's something wrong with your hardware: cables, switch, router.

tedm had a wrong config file setup, the last line needs to go in /etc/security/limits.conf , not in samba.conf



hi moonman, may i know what last line do you mean? i havent change any my limits.conf file. probably that would do the fix.

if this is not working, im planning to format my hdd to ext2. i wanted it to be in ntfs so i can use both on my alarm and windows. but if things are not going smoothly then i have to do the ext2.

thanks.
lordesp27
 
Posts: 28
Joined: Thu Feb 07, 2013 3:49 pm

Re: problem transferring large files

Postby tedm » Tue Mar 05, 2013 4:14 pm

I believe moonman correctly identified this line in my smb.conf as not being in the right place:

* - nofile 16384

I'm not sure if it's needed anywhere, but there are some references to it being in /etc/security/limits.conf to enable testparm to not give errors under specific conditions:

http://lists.samba.org/archive/samba/20 ... 53331.html
tedm
 
Posts: 88
Joined: Tue Jan 01, 2013 1:12 am

Re: problem transferring large files

Postby lordesp27 » Tue Mar 05, 2013 4:22 pm

ok thanks, im gonna try this once i get home. and then im gonna update you guys :)
lordesp27
 
Posts: 28
Joined: Thu Feb 07, 2013 3:49 pm

Re: problem transferring large files

Postby stevetogo » Wed Mar 06, 2013 2:34 am

I am new to this forums but I have been working on the PogoPlug for the past 2 months whenever I get some time. Anyways, I have the same problem stated by the OP. I am unable to copy larger files over the network and this happens with an NTFS storage.

I would like to know if most of them are successful in copying the large files across using NTFS. Also I read in a couple of blogs regarding the big_writes and I dont get anywhere closer to the speed that is stated. I am doubting if there is some problem with the way Udevil or fstab is configured in my arch. It will be great if some one can help me regarding this issue.

Thanks,
Steve
stevetogo
 
Posts: 7
Joined: Wed Mar 06, 2013 2:24 am

Re: problem transferring large files

Postby lordesp27 » Wed Mar 06, 2013 2:51 am

still i get the connection error. i guess there is something wrong with my udevil.conf. is there a udevil.conf example i can copy and test it?
lordesp27
 
Posts: 28
Joined: Thu Feb 07, 2013 3:49 pm

Re: problem transferring large files

Postby stevetogo » Wed Mar 06, 2013 3:13 am

That is what I would expect the other config that might require further investigation is the samba config as it has numbers regarding the file sizes etc.

Also would a previous install of UDEV cause such an issue?
stevetogo
 
Posts: 7
Joined: Wed Mar 06, 2013 2:24 am

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 17 guests