Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2014 11:56:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [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
Message-ID:  <bug-195303-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: Trond.Endrestol@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.



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