Skip to content

Instantly share code, notes, and snippets.

@cuteribs
Created October 29, 2021 10:33
Show Gist options
  • Select an option

  • Save cuteribs/80a32e3037944895d38affe73ed14e5d to your computer and use it in GitHub Desktop.

Select an option

Save cuteribs/80a32e3037944895d38affe73ed14e5d to your computer and use it in GitHub Desktop.
Advanced Format 4Kn

Converting SATA/SAS drives to 4Kn (Advanced Format)

  1. Format SAS drives to 4Kn using sg3_utils from http://sg.danny.cz/sg/sg3_utils.html
sg_format /dev/sdx --format --ffmt=1 --size=4096 --count=-1 --wait
  1. Format SATA drives to 4Kn using hdparm from https://sourceforge.net/projects/hdparm/
hdparm --set-sector-size 4096 --please-destroy-my-drive /dev/sdx
  1. Intel SSD Drives (ATA Only)
IntelMAS show -intelssd  (Get the drives index)

intelmas set -intelssd (INDEX) PhysicalSectorSize = 4096
  1. Seagate SeaChest_Format from https://support.seagate.com/seachest/SeaChestUtilities.zip
SeaChest_Format --scan -i

SeaChest_Format -d /dev/sgX --formatUnit 4096 --fastFormat 1 --confirm this-will-erase-data --disableImmediateResponse
  1. Western digital HUGO utility
hugo show
# Format using the model number
hugo format –m <MODEL> –fastformat –n max –b 4096
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment