Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2017 10:13:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 216256] EIO is returned instead of EDQUOT
Message-ID:  <bug-216256-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216256

            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.rubson@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=3D1G home/test
# dd if=3D/dev/zero of=3D/home/test/toobig bs=3D128k
dd: /home/test/toobig: Disc quota exceeded
# rm /home/test/toobig=20

# 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=3D/dev/zero of=3D/home/test/two/toobig bs=3D128k
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=3D1292020
With commit here : http://review.gluster.org/13438

Thank you !

Best regards,

Ben

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216256-8>