[Bug 195303] New: large_blocks enabled on pool, recordsize capped at 1M, minor typo in error message when attempting to create dataset with recordsize=2M

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 23 11:56:48 UTC 2014


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

            Bug ID: 195303
           Summary: large_blocks enabled on pool, recordsize capped at 1M,
                    minor typo in error message when attempting to create
                    dataset with recordsize=2M
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: Trond.Endrestol at ximalas.info

On a zpool with the large_blocks feature enabled, recordsize is capped at 1M,
however when attempting to create a dataset with recordsize=2M, zpool claims
128KB is the max.

# zfs create -o recordsize=256k zroot/tmp/256k
# zfs create -o recordsize=512k zroot/tmp/512k
# zfs create -o recordsize=1m zroot/tmp/1m
# zfs create -o recordsize=2m zroot/tmp/2m
cannot create 'zroot/tmp/2m': volume block size must be power of 2 from 512B to
128KB

The error message should be changed, if possible, to let the max be known to be
1M, at least when the large_blocks feature is enabled on the zpool in question.

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


More information about the freebsd-bugs mailing list