ZFS Does "BSDINSTALL" make ssd|name sector size right though installing?

Hello.
Do I have to specify the sector size manually in gpart if BSDINSTALL writes force4K, or BSDINSTALL do all right?
This is geom disk list output:

Geom name: da0
Providers:
1. Name: da0
Mediasize: 256060514304 (238G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0
descr: External USB3.0
lunname: ExternalUSB3.0 201703310007F
lunid: 3020170331000760
ident: 201703310007F
rotationrate: unknown
fwsectors: 63
fwheads: 255

It is SSD disk, but Sectorsize specified 512b
 
It is SSD disk, but Sectorsize specified 512b
which is a lie to support some broken OS from redmond...

SSDs all use 4k or even larger blocks physically (especially NVMe), the firmware emulates smaller sizes at the cost of performance to support OS/filesystems that still can't handle other block sizes.
For the last 10+ years pretty much everything should have been aligned/partitioned/formatted/used with 4k block sizes. The installer uses that as default since IIRC somewhere along the 12 branch as well as 'ashift=12' when creating ZFS pools, so it already does 'the right thing'™ and you don't have to do anything manually.
 
Back
Top