Swift Griggs <swiftgriggs%gmail.com@localhost> writes: > On Tue, 24 Nov 2015, Felix Deichmann wrote: >> You can probably save a lot of time, tries and headache by doing a >> fresh installation of your server with correct alignment and block >> sizes... > > Is there a procedure online somewhere for verifying that you have > properly aligned your file system on a UFS partition/disklabel'd-slice More or less, there are 3 kinds of disks: 512B disks, 4KB disks that have 512B interfaces, and disks with larger sectors in the interface. It's only the split 4K/512B disks that need extra care in alignment. There is no real trick, other than verifying that the starting sector numbers in disklabel or gpt are divisible by 8. > ? Are there any special (fstab/sysctl/etc) flags to be aware of when > using 4K disks or SSDs ? Not that I know of. I have not yet seen a 4K ssd, although one would not really surprise me. > These release notes mention trim: > https://www.netbsd.org/changes/changes-7.0.html I believe TRIM is a separate issue from sector alignment.
Attachment:
signature.asc
Description: PGP signature