[ZFS] Booting from zpool created on 4k-sector drive

James R. Van Artsdalen james-freebsd-fs2 at jrv.org
Sun Feb 27 20:13:16 UTC 2011

Emil Smolenski wrote:
> Hello,
> There is a hack to force zpool creation with minimum sector size equal
> to 4k:
> # gnop create -S 4096 ${DEV0}
> # zpool create tank ${DEV0}.nop
> # zpool export tank
> # gnop destroy ${DEV0}.nop
> # zpool import tank
> This change is permanent. The only possibility to change the value of
> ashift is: zpool destroy/create and restoring pool from backup.

Is ashift a property of the pool or a property of the device?

I'm wonder about the disk replacement scenario, where the replacement
disk cannot be smaller than the disk it replaces.

More information about the freebsd-fs mailing list