Bug 200641 - FreeBSD 10.1 doesn't support 4K bytes sector for NVMe
Summary: FreeBSD 10.1 doesn't support 4K bytes sector for NVMe
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.1-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-04 16:09 UTC by rogerchuonglai
Modified: 2021-07-09 18:31 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rogerchuonglai 2015-06-04 16:09:54 UTC
FreeBSD 10.1 fails operating system installation if the NVMe device doesn't support 512 bytes sector size.
For NVMe devices, 4K sector size is typical for high performance applications. 
Although some NVMe also support 512 bytes by default, many of them support 4K sector sizes also. I tested and collected traces to show this is the case. 

If FreeBSD is going mainstream for high performance applications, please add 4K sector size support in the next FreeBSD version.
Comment 1 Warner Losh freebsd_committer freebsd_triage 2021-07-09 18:31:17 UTC
FreeBSD does support 4k nvme drives today. nvmecontrol can even be used to format 512 or 4k sector sizes on drives that support it. Since 10.x is un way unsupported, I'm closing this.