Re: Set ZFS pool ashift=14 for FreeBSD root pools?

Mark Millard <[email protected]> Tue, 12 May 2026 14:38:15 -0700
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <[email protected]>
On 5/12/26 14:13, vermaden wrote:
>> 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                                         │ │  

Hmm. That force mixed with . . .

> │ │  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 │ │  

that ashift=14 will do what?

> │ └──────────────────────────────────────────────────────────────────┘ │  
> ├──────────────────────────────────────────────────────────────────────┤  
> │                         [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


-- 
===
Mark Millard
marklmi at yahoo.com