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

2009-12-02 Thread Salil
Apologies for not being clear and informative in the previous comment.

Yes even in the debian samba package, the error is seen for vfat only - not
for ext2/3.

My preliminary opinion is that the issue is with respect to the way samba is
currently handling large file transfers for vfat file systems and hence not
necessarily a vfat issue.
But as it is seen only on ARM platform, maybe something going haywire while
handling large files because of some ARM specific peculiarities like
alignment issues etc.?

Regards,
Salil

On Wed, Dec 2, 2009 at 7:42 AM, Oliver Grawert o...@ubuntu.com wrote:

 from teh last comment it is not really clear to me if thats a vfat or
 actually a samba issue, since it doesnt seem to happen with different
 other underlying filesystems but seems to only occur on vfat.

 salil, if you use debians samba package, do you see the same behavior
 wrt ext2/3/4 vs vfat ?

 --
 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: Confirmed

 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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2009-12-01 Thread Salil
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.sh...@canonical.comwrote:

 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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2009-09-07 Thread Salil
I am configuring it from the server side - and accessing it through windows
client, so passing lfs option to smbmount is not possible or i am not aware
of how to :)
Update on the bug: I compiled debian package with --enable-largefile - no
change.
Then created a custom patch which would always call ftruncate64() in
sys_ftruncate() - however client would still throw up error while copying
large files.

Thanks for the reply,

Regards,
Salil

On Fri, Sep 4, 2009 at 10:06 PM, Chuck Short
chuck.sh...@canonical.comwrote:

 Have you tried mounting with the lfs options?

 Thanks
 chuck

 ** Changed in: samba (Ubuntu)
   Status: New = Incomplete

 --
 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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2009-08-20 Thread Salil
Public bug reported:

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.

** Affects: samba (Ubuntu)
 Importance: Undecided
 Status: New

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs