ZFS (and quota)

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Sep 21 07:27:15 PDT 2007


I'm CCing zfs-discuss at opensolaris.org, as this doesn't look like
FreeBSD-specific problem.

It looks there is a problem with block allocation(?) when we are near
quota limit. tank/foo dataset has quota set to 10m:

Without quota:

	FreeBSD:
	# dd if=/dev/zero of=/tank/test bs=512 count=20480
	time: 0.7s

	Solaris:
	# dd if=/dev/zero of=/tank/test bs=512 count=20480
	time: 4.5s

With quota:

	FreeBSD:
	# dd if=/dev/zero of=/tank/foo/test bs=512 count=20480
	dd: /tank/foo/test: Disc quota exceeded
	time: 306.5s

	Solaris:
	# dd if=/dev/zero of=/tank/foo/test bs=512 count=20480
	write: Disc quota exceeded
	time: 602.7s

CPU is almost entirely idle, but disk activity seems to be high.

Any ideas?

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20070921/294541b1/attachment.pgp


More information about the freebsd-fs mailing list