Hey guys, I usually try to work these things out without posting to a forum, but I'm at my wits-end and could really use the help.
Basically, when I manually browse and copy to a samba share hosted on a windows OR linux box (using 'Remote Places' under the System Menu) - All is well. The transfer speed reported is spot-on, and everything's farts and rainbows
However, when I mount the same share under fstab, things start to get a little funky. If I copy any file over to that mounted share, the reported speed is in excess of 70MB/sec most times, the progress gets to 100% instantly, hangs for about 30 seconds, then the transfer completes. It appears to be a caching issue, maybe the file is cached locally then transmitted over the network? In any case, I've posted some details for you to analyze:
My FSTAB file is below (I *know* I should store the user/pass in a separate file accessible by root, I'll get to it I promise!)
Here's a screenshot illustrating a copy to a samba share (manually browsed to and NOT mounted):
And here's a screenshot copying to the same share, but this time accessing it through its mountpoint in fstab (it reached 100% INSTANTLY, but then hung for 30 seconds while the file actually copied):
[img width=400 height=241]http://www.podecoet.org/funkycp1.png[/img]
Does the same thing for Windows and Linux samba shares. Only does the above if it's mounted AND you access it through the mount (ie: if you mount it, but still access it by browsing Remote Places, it behaves) - Any help would be GREATLY appreciated!
-PodeCoet
Basically, when I manually browse and copy to a samba share hosted on a windows OR linux box (using 'Remote Places' under the System Menu) - All is well. The transfer speed reported is spot-on, and everything's farts and rainbows
However, when I mount the same share under fstab, things start to get a little funky. If I copy any file over to that mounted share, the reported speed is in excess of 70MB/sec most times, the progress gets to 100% instantly, hangs for about 30 seconds, then the transfer completes. It appears to be a caching issue, maybe the file is cached locally then transmitted over the network? In any case, I've posted some details for you to analyze:
My FSTAB file is below (I *know* I should store the user/pass in a separate file accessible by root, I'll get to it I promise!)
Code:
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 # The shares below are hosted on a Kubuntu box //Multimedia/Unsorted /mnt/Unsorted smbfs username=baudthief,password=****,uid=1000,gid=1000 0 0 //Multimedia/Backups /mnt/Backups smbfs username=baudthief,password=****,uid=1000,gid=1000 0 0 //Multimedia/Multimedia /mnt/Multimedia smbfs username=baudthief,password=****,uid=1000,gid=1000 0 0 //Multimedia/Multimedia2 /mnt/Multimedia2 smbfs username=baudthief,password=****,uid=1000,gid=1000 0 0 //Multimedia/Movies /mnt/Movies smbfs username=baudthief,password=****,uid=1000,gid=1000 0 0 //Multimedia/Webserver /mnt/webserv01 smbfs username=baudthief,password=****,uid=1000,gid=1000 0 0 //Multimedia/NewWeb /mnt/webserv02 smbfs username=baudthief,password=****,uid=1000,gid=1000 0 0 # The share below is hosted on a WindowsXP box //loungeroom/winavi /mnt/mm smbfs uid=1000,gid=1000 0 0
[img width=400 height=243]http://www.podecoet.org/normalcp.png[/img]
And here's a screenshot copying to the same share, but this time accessing it through its mountpoint in fstab (it reached 100% INSTANTLY, but then hung for 30 seconds while the file actually copied):
[img width=400 height=241]http://www.podecoet.org/funkycp1.png[/img]
Does the same thing for Windows and Linux samba shares. Only does the above if it's mounted AND you access it through the mount (ie: if you mount it, but still access it by browsing Remote Places, it behaves) - Any help would be GREATLY appreciated!
-PodeCoet
Comment