[Bug 416313] Re: On samba of ubuntu-arm, large file copy fails

Salil slashforu at gmail.com
Wed Dec 2 05:52:00 GMT 2009


Hi Chuck,
Thanks for replying.

Unfortunately the bug is still observed - i did some additional triaging.
* The bug is seen only when the samba share exported is on a vfat file
system - for ext2 and ext3 the large sized copy succeeds without fail.
* I also tried using the samba package from debian-arm
repositories(lenny-stable) - but there also the problem is seen.
* Even if the error is thrown up - the file is still being copied in the
background - or ftruncate'ing in the background (I suspect it is only
ftruncating and filling the space with zeroes because of two reasons - one
the md5sums do not match afterwards and two the code seems to be doing the
same thing) - but as previously stated adding a patch to always call
ftruncate64() in sys_ftruncate() does not fix the problem.

Regards,
Salil


On Mon, Nov 30, 2009 at 7:17 PM, Chuck Short <chuck.short at canonical.com>wrote:

> Hi Salil,
>
> I was wondering if you were still having this problem?
>
> Regards
> chuck
>
> ** Changed in: samba (Ubuntu)
>    Importance: Undecided => Low
>
> --
> On samba of ubuntu-arm, large file copy fails
> https://bugs.launchpad.net/bugs/416313
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “samba” package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: samba
>
> I am using ubuntu-arm on Sheevaplug platform - Jaunty-9.04 - A samba share
> is exported, I can access it fine from windows copy/paste  small sized files
> easily. But when I try to copy a larger sized file, greater than 100 M or
> so, the copy fails after a minute or so saying 'Network Name is no longer
> available'. Now the copying is still going on in the background - because I
> can see the size of the file increasing via console on the sheevaplug.  I
> have fair reason to believe that this might be the call to ftruncate() which
> is taking a lot of time. So a way out might be to compile samba again with
> 'enable large-file' support of something similar.
> Right now it appears to be broken.
>

-- 
On samba of ubuntu-arm, large file copy fails 
https://bugs.launchpad.net/bugs/416313
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list