Found a work around.
echo 12 >> /sys/module/zfs/parameters/zfs_vdev_max_auto_ashift
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/2009262
Title:
ZFS create ignores ashift
Status i
Related reports in OpenZFS:
https://github.com/openzfs/zfs/issues/14409
Zpool reports ashift 12, but zdb reports they're all set to 16.
zpool get ashift
NAME PROPERTY VALUE SOURCE
pgashift12 local
cat /sys/class/block/nvme0n1/queue/logical_block_size
4096
cat /sys/class/block/nv
Also, to show that ashift was set to 16 instead of 12.
zdb | grep ashift
ashift: 16
ashift: 16
ashift: 16
ashift: 16
ashift: 16
ashift: 16
ashift: 16
ashift: 16
ashift: 16
ashift:
Public bug reported:
Hi,
I've ran into an issue trying to create a ZFS pool with Ubuntu 22.04.
In my case it seems that the ZFS command ignores the ashift and because
the drives are reporting an insane physical sector size of 256KB, and
ZFS goes for the maximum ashift of 64KB sector size despite
4 matches
Mail list logo