Re: Set ZFS pool ashift=14 for FreeBSD root pools?
vermaden <[email protected]> Tue, 12 May 2026 23:13:21 +0200
| Newsgroups | gmane.os.freebsd.devel.hackers |
|---|---|
| Message-ID | <ygfvctgwpzawkqfyoxmi@tbis> |
> How can I do this at install time for all root pools? > > Lionel ... or You can also specify '-o ashift=14' in the 'ZFS Pool Options' options section. ┌──────────────────────────┤ZFS Configuration├─────────────────────────┐ │ Configure Options: │ │ ┌──────────────────────────────────────────────────────────────────┐ │ │ │ >>> Install Proceed with Installation │ │ │ │ T Pool Type/Disks: stripe: 0 disks │ │ │ │ - Rescan Devices * │ │ │ │ - Disk Info * │ │ │ │ N Pool Name zroot │ │ │ │ 4 Force 4K Sectors? YES │ │ │ │ E Encrypt Disks? NO │ │ │ │ P Partition Scheme GPT (BIOS+UEFI) │ │ │ │ S Swap Size 2g │ │ │ │ M Mirror Swap? NO │ │ │ │ W Encrypt Swap? NO │ │ │ │ O ZFS Pool Options -O compression=on -O atime=off -o ashift=14 │ │ │ └──────────────────────────────────────────────────────────────────┘ │ ├──────────────────────────────────────────────────────────────────────┤ │ [Select] [Cancel] │ └──────────── Use alnum, arrows, punctuation, TAB or ENTER ────────────┘ ... or first use [LiveCD] option - then set ashift to 14 with sysctl(8) and then start bsdinstall(8) from command line. Regards, vermaden