Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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:


along the options of your cifs mount.

share|improve this answer

Your Answer


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.