Low level formating is how the data tracks are layed out on the disk platters, it’s what the drive firmware sees. hdparm and sg_format instruct the disk to rearrange those tracks. High-level formatting is what the OS sees when you run mkfs. It creates a new file system or replaces an existing one.










OP was asking how to switch between 512 byte sectors and 4096 byte sectors. A low level format is how to do that. It’s triggered by the sg_format tool on Linux, or by a tool provided by the drive manufacturer.