Closed ghost closed 3 years ago
I have the same problem with a 3TB ST3000DM008-2DM166 and I get the same error when I try to convert it to native 4K sectors on Ubuntu 20.04:
Logical Sector Size (B): 512
Physical Sector Size (B): 4096
Thank you for the info! Well, I'm using my drive inside a Synology NAS, and Synology says:
Always use and manage 4K native (4Kn) hard drives separately. 4Kn hard drives are supported from DSM 5.1-5021. Use 4Kn hard drives separately from hard drives in other disk sector formats when creating, repairing, expanding and migrating any volume, disk group, RAID group and LUN.
I was planning on buying another 3TB drive to pair them up inside the NAS. But now I guess I have to sell this one and buy a pair of 4Kn drives.
https://www.seagate.com/www-content/product-content/ironwolf/en-us/docs/100807039h.pdf
It looks like all new IronWolf drives are 512e, so no need to worry in the end.
If it doesn't say '4kn' or you find a datasheet confirming, assume like my disk that it's a '512e' drive.
TIL. I was wondering why Google results for 512e to 4Kn conversions were so sparse. FWIW I'm starting to switch to 4Kn completely, starting with ordering a 14 TB 4Kn Toshiba MG07 yesterday.
Hello everyone, Let me start by saying that this can be confusing topic, so bear with me as I try to explain it. This Github repo is maintained by Seagate'stools team and product specific information is expertise of Field & Customer Support Engineers, so please reach out to support team for further assistance.
The ability to switch between a 4k and 512 logical sector size requires the firmware to allow this to happen, which is what SeaChest checks for before sending these commands. Prior to the introduction of this capability in newer products, you had to purchase a drive formatted with what you wanted:
I believe the first product line this feature was enabled on Seagate devices was 12 TB drives receiving this feature. SAS has had this a bit longer on mission critical products (10k/15k RPM products). If you are purchasing a drive and want this capability, you can look for "Fast Format" as this is typically how it is described, at least in Seagate's marketing.
If you already have a drive, running SeaChest_Format -d myDriveHandle -i
and looking in the Features Supported
Section can tell if this is supported or not.
Set Sector Configuration
Fast Format
. Note: Check the product manual on SAS products as this is not as easy to detect support for.As for those USB adapters that show up as 4KN, this is a reverse-emulation that doesn't actually do anything to the drive. If you read 1 of the USB sectors, this is translated into a read of 8 SATA drive sectors. The SAT spec mentions this is allowed, but does not set any requirements on LBA alignment, meaning the USB adapter is free to set its LBA 0 at a different place from the drive's LBA0-7, but in practice I have not seen this happen. These adapters may also be more rare as they were designed to get around a 32bit LBA limit in Windows XP, which is no longer as popular of a problem as it used to be.
I have a Seagate HDD and I want to change the logical sector size to 4096 bytes. I'm on Debian.
SeaChest tools show for my drive:
The result of the following two commands,
SeaChest_Format -d /dev/sg1 --setSectorSize 4096 --confirm this-will-erase-data
:SeaChest_Lite -d /dev/sg1 --setSectorSize 4096 --confirm this-will-erase-data
is:
Setting sector size not supported on this device
Seagate website says no firmware update is available for the drive.
Surely if the physical sector size is 4096, SeaChest should allow me to set logical sector size to 4096 somehow?