Skip to content

ST16000NM000J will not --setSectorSize 4096 #79

@CraigLoomis

Description

@CraigLoomis

A handful of ST16000NM000J-2TW103 drives, which declare the "Set Sector Configuration" Feature, are failing to --setSectorSize 4096. The Set Sector Configuration Ext commands return ABORTED. Single-user Centos 7, Supermicro chassis. Full --deviceInfo below.

Did try the latest SeaChest_Lite, which behaved the same.

# ./openSeaChest_FormatUnit -v 4 --setSectorSize 4096 --confirm this-will-erase-data -d /dev/sdh
[ cut ]

Sending ATA Set Sector Configuration Ext
Sending SAT ATA Pass-Through Command:
        Protocol: NON-Data
        Data Direction: No Data
        Task File Registers:
        [FeatureExt] = C8h
        [Feature] = D7h
        [CountExt] = 00h
        [Count] = 01h
        [LBA Lo Ext] = 00h
        [LBA Lo] = 00h
        [LBA Mid Ext] = 00h
        [LBA Mid] = 00h
        [LBA Hi Ext] = 00h
        [LBA Hi] = 00h
        [DeviceHead] = A0h
        [Command] = B2h


  CDB:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
  0x00 85 07 20 C8 D7 00 01 00 00 00 00 00 00 A0 B2 00

Sending command with send_IO
SG IO Issued as Indirect IO
SG Masked Status = 01h - Check Condition
SG Driver Status = 08h - Driver Sense Data Available

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
  0x00 72 0B 00 00 00 00 00 0E 09 0C 01 04 00 00 00 00
  0x10 00 00 00 00 A0 51


Sense Key: Bh = Aborted Command
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
        Return Task File Registers:
        [Error] = 04h
        [Count Ext] = 00h
        [Count] = 00h
        [LBA Lo Ext] = 00h
        [LBA Lo] = 00h
        [LBA Mid Ext] = 00h
        [LBA Mid] = 00h
        [LBA Hi Ext] = 00h
        [LBA Hi] = 00h
        [Device] = A0h
        [Status] = 51h

Command Time (ms): 35.65

Set Sector Configuration Ext returning: ABORTED

Failed to set sector size!

Setting the sector size to 512 succeeds:

Sending ATA Set Sector Configuration Ext
Sending SAT ATA Pass-Through Command:
        Protocol: NON-Data
        Data Direction: No Data
        Task File Registers:
        [FeatureExt] = F2h
        [Feature] = 93h
        [CountExt] = 00h
        [Count] = 00h
        [LBA Lo Ext] = 00h
        [LBA Lo] = 00h
        [LBA Mid Ext] = 00h
        [LBA Mid] = 00h
        [LBA Hi Ext] = 00h
        [LBA Hi] = 00h
        [DeviceHead] = A0h
        [Command] = B2h


  CDB:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
  0x00 85 07 20 F2 93 00 00 00 00 00 00 00 00 A0 B2 00

Sending command with send_IO
SG IO Issued as Indirect IO
SG Masked Status = 01h - Check Condition
SG Driver Status = 08h - Driver Sense Data Available

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
  0x00 72 01 00 1D 00 00 00 0E 09 0C 01 00 00 00 00 00
  0x10 00 00 00 00 A0 50


Sense Key: 1h = Recovered Error
ASC & ASCQ: 0h - 1Dh = ATA Passthrough Information Available
FRU: 0h = No Additional Information
        Return Task File Registers:
        [Error] = 00h
        [Count Ext] = 00h
        [Count] = 00h
        [LBA Lo Ext] = 00h
        [LBA Lo] = 00h
        [LBA Mid Ext] = 00h
        [LBA Mid] = 00h
        [LBA Hi Ext] = 00h
        [LBA Hi] = 00h
        [Device] = A0h
        [Status] = 50h

Command Time (ms): 34.32

Set Sector Configuration Ext returning: SUCCESS

Successfully set sector size to 512

And for completeness:

==========================================================================================
 openSeaChest_Format - openSeaChest drive utilities - NVMe Enabled
 Copyright (c) 2014-2021 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
 openSeaChest_Format Version: 2.3.1-2_2_3 X86_64
 Build Date: Jun 21 2021
 Today: Thu Mar 24 18:07:00 2022	User: root
==========================================================================================

/dev/sg7 - ST16000NM000J-2TW103 - ZRS0BPPE - ATA
	Model Number: ST16000NM000J-2TW103
	Serial Number: ZRS0BPPE
	Firmware Revision: SN02
	World Wide Name: 5000C500E36B9F0E
	Drive Capacity (TB/TiB): 16.00/14.55
	Native Drive Capacity (TB/TiB): 16.00/14.55
	Temperature Data:
		Current Temperature (C): 42
		Highest Temperature (C): 42
		Lowest Temperature (C): 42
	Power On Time: Not Reported
	Power On Hours: Not Reported
	MaxLBA: 31251759103
	Native MaxLBA: 31251759103
	Logical Sector Size (B): 512
	Physical Sector Size (B): 4096
	Sector Alignment: 0
	Rotation Rate (RPM): 7200
	Form Factor: 3.5"
	Last DST information:
		DST has never been run
	Long Drive Self Test Time:  22 hours 52 minutes
	Interface speed:
		Max Speed (Gb/s): 6.0
		Negotiated Speed (Gb/s): 6.0
	Annualized Workload Rate (TB/yr): 0.00
	Total Bytes Read (KB): 131.07
	Total Bytes Written (B): Not Reported
	Encryption Support: Not Supported
	Cache Size (MiB): 256.00
	Read Look-Ahead: Enabled
	Write Cache: Enabled
	Low Current Spinup: Disabled
	SMART Status: Unknown or Not Supported
	ATA Security Information: Supported
	Firmware Download Support: Full, Segmented, Deferred
	Specifications Supported:
		ACS-4
		ACS-3
		ACS-2
		ATA8-ACS
		ATA/ATAPI-7
		ATA/ATAPI-6
		ATA/ATAPI-5
		SATA 3.3
		SATA 3.2
		SATA 3.1
		SATA 3.0
		SATA 2.6
		SATA 2.5
		SATA II: Extensions
		SATA 1.0a
		ATA8-AST
	Features Supported:
		Sanitize
		SATA NCQ
		SATA Software Settings Preservation [Enabled]
		SATA Device Initiated Power Management
		Power Management
		Security
		SMART [Enabled]
		48bit Address
		PUIS
		GPL
		Streaming
		SMART Self-Test
		SMART Error Logging
		Write-Read-Verify
		DSN
		AMAC
		EPC [Enabled]
		Sense Data Reporting
		SCT Write Same
		SCT Error Recovery Control
		SCT Feature Control
		SCT Data Tables
		Host Logging
		Set Sector Configuration
		Storage Element Depopulation
		Seagate In Drive Diagnostics (IDD)
	Adapter Information:
		Vendor ID: 1000h
		Product ID: 0097h
		Revision: Not available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions