Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When coping a file greater than 64kB from an Ubuntu server to a CIFS mounted windows share, most of the data is copied, but it seems the last chunk doesn't get copied. The size doesn't match, and the md5 check sums don't match. I have plenty of file space, but then I use cp, I get the following...

cp: closing `cloudBackup/asdf.txt': No space left on device

Using rsync, I get the following...

rsync: close failed on "/home/fluffy/cloudBackup/.asdf.txt.qrBWe6": No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(752) [receiver=3.0.8]
rsync: connection unexpectedly closed (29 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.8]

I have full read/write permissions on the mounted share. I can copy via SSH just fine. Any ideas? Thank you

share|improve this question

1 Answer 1

I'm not sure, but your problem seems similar to this bug report: cifs: i/o error on copying file > 102336 bytes

Maybe you can try with the work around suggested there. Simply put:

wsize=98304

along the options of your cifs mount.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.