https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216256

            Bug ID: 216256
           Summary: EIO is returned instead of EDQUOT
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: ben.rub...@gmail.com

Hello,

EIO is returned instead of EDQUOT, especially using fusefs-encfs.
I'm not sure it is related to encfs, but perhaps more to fuse or to kernel.

Example :

# zfs create home/test
# zfs set userquota@root=1G home/test
# dd if=/dev/zero of=/home/test/toobig bs=128k
dd: /home/test/toobig: Disc quota exceeded
# rm /home/test/toobig 

# mkdir /home/test/one
# mkdir /home/test/two
# echo "p
password" | encfs -S /home/test/one/ /home/test/two/
# mount | grep fuse
/dev/fuse on /home/test/two (fusefs, local, synchronous)
# dd if=/dev/zero of=/home/test/two/toobig bs=128k
dd: /home/test/two/toobig: Input/output error

dd, writing to fuse, should have returned EDQUOT instead of EIO.

I've found something quite similar under RHEL :
https://bugzilla.redhat.com/show_bug.cgi?id=1292020
With commit here : http://review.gluster.org/13438

Thank you !

Best regards,

Ben

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to