Does bsdinstall in 10.1 properly partition SSDs?

Do I still need to manually create partitions of the proper size when installing 10.1 on an SSD? I have not set up a fresh FreeBSD machine in a while and after looking at the docs I am not sure if the installer will automagically do 4k alignment or not.
 
As far as I know, the installer doesn't automatically align to 4K by default.
 
In my opinion there's no excuse anymore for not aligning to 4K by default, especially on GPT partitioning where the stupid old CHS alignment restrictions no longer apply.
 
Thanks, guys. Should do my research before I begin the installation.

Built-in 4K support does seem overdue. SSDs aren't exactly novel these days.
 
This is from default bsdinstall setup (note, it's installed on 10K RPM SAS drives connected through LSI hardware raid, no SSD):

Code:
root@ibm:/home/danger # gpart show
=>       34  285155261  mfid0  GPT  (136G)
         34       1024      1  freebsd-boot  (512K)
       1058  276823040      2  freebsd-ufs  (132G)
  276824098    8331196      3  freebsd-swap  (4.0G)
  285155294          1         - free -  (512B)

So that doesn't seem like 4k aligned.
 
This is from default bsdinstall setup (note, it's installed on 10K RPM SAS drives connected through LSI hardware raid, no SSD):

Code:
root@ibm:/home/danger # gpart show
=>       34  285155261  mfid0  GPT  (136G)
         34       1024      1  freebsd-boot  (512K)
       1058  276823040      2  freebsd-ufs  (132G)
  276824098    8331196      3  freebsd-swap  (4.0G)
  285155294          1         - free -  (512B)

So that doesn't seem like 4k aligned.

But is that a 4K drive? What does diskinfo -v mfid0 say?
 
No, I don't think it reports itself as 4K drive...

Code:
root@ibm:~ # diskinfo -v mfid0
mfid0
        512             # sectorsize
        145999527936    # mediasize in bytes (136G)
        285155328       # mediasize in sectors
        0               # stripesize
        0               # stripeoffset
        17750           # Cylinders according to firmware.
        255             # Heads according to firmware.
        63              # Sectors according to firmware.
                        # Disk ident.
 
Nathan Whitehorn says it will align to the reported stripesize. 4K devices then should be aligned to 4K.
 
Back
Top