https://bugzilla.samba.org/show_bug.cgi?id=13317
--- Comment #19 from Ben RUBSON <ben.rub...@gmail.com> --- I managed to reproduce the issue on 11.0-RELEASE-p16. Below a simple test case, without compression, without deduplication. Note that issue is reproductible with quota, but not with userquota. # f=/test # z=zroot/ROOT/default$f ### quota / refquota (same results) # zfs destroy $z # zfs create $z # zfs set compression=off $z # zfs set dedup=off $z # zfs set quota=1G $z # dd if=/dev/random bs=1M count=600 of=$f/f1 # rsync -a --inplace $f/f1 $f/f2 ; echo $? ; diff $f/f1 $f/f2 ; rm $f/f2 0 Files /test/f1 and /test/f2 differ # rsync -a $f/f1 $f/f2 ; echo $? ; rm $f/f2 rsync: rename "/test/.f2.6NVNwD" -> "f2": Disc quota exceeded (69) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1192) [sender=3.1.3] 23 // the quota error should have triggered on write instead // ### userquota # zfs destroy $z # zfs create $z # zfs set compression=off $z # zfs set dedup=off $z # zfs set userquota@root=1G $z # dd if=/dev/random bs=1M count=600 of=$f/f1 # rsync -a --inplace $f/f1 $f/f2 ; echo $? ; diff $f/f1 $f/f2 ; rm $f/f2 rsync: [sender] write error: Broken pipe (32) rsync: write failed on "/test/f2": Disc quota exceeded (69) rsync error: error in file IO (code 11) at receiver.c(404) [receiver=3.1.3] 11 Files /test/f1 and /test/f2 differ # rsync -a $f/f1 $f/f2 ; echo $? ; rm $f/f2 rsync: [sender] write error: Broken pipe (32) rsync: write failed on "/test/f2": Disc quota exceeded (69) rsync error: error in file IO (code 11) at receiver.c(404) [receiver=3.1.3] 11 # dd if=/dev/random bs=1M count=535 of=$f/f1 # rsync -a --inplace $f/f1 $f/f2 ; echo $? ; diff $f/f1 $f/f2 0 # zfs get -Hp -o value used,userquota@root $z 1123188736 1073741824 # touch $f/file touch: /test/file: Disc quota exceeded -- You are receiving this mail because: You are the QA Contact for the bug. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html