openSeaChest icon indicating copy to clipboard operation
openSeaChest copied to clipboard

Typo in "Total Bytes Read"

Open putnam opened this issue 4 years ago • 7 comments

I have a brand new 18T x18 disk. It has been written to once (as part of a zfs send) and scrubbed twice (so 2x reads of the sent data).

When running:

./openSeaChest_Logs -d /dev/disk/by-id/ata-ST18000NM000J-2TV103_SERIAL -i

The following line says "PB" when it should say "TB": Total Bytes Read (PB): 20.71 Total Bytes Written (TB): 10.71

I'm guessing just a typo, but that's a big one!

putnam avatar Oct 02 '21 21:10 putnam

Hi @putnam, That is definitely a bug 😄

Would you please provide a little more information for me? Would you mind sharing the output of a scan? openSeaChest_Logs -s

I haven't used /dev/disk/by-id before, does this system have other handles show up with the scan? If it does, does it show the same thing when accessing the device with the handle from the scan?

One last thing, would you mind sending the verbose output of -i to me, I recommend attaching it as a file. Example: openSeaChest_Logs -d /dev/disk/by-id/ata-ST18000NM000J-2TV103_SERIAL -i -v 4 | tee verboseDriveInfo18TB.txt

vonericsen avatar Oct 04 '21 15:10 vonericsen

I'll provide that in an update, but before I do, I wanted to mention I just used the latest version of Seatools (from 2018) on a Windows machine with one of my disks, and to my surprise even the "drive information" window in Seatools wrongly says that reads are on the PB order. Same bug

putnam avatar Oct 04 '21 19:10 putnam

Using the sg style handles, I get the same behavior for any of my X18 disks. However, I have some 16TB disks (ST16000NM001G-2KK103) that show the read size properly!

Here is an X18 disk with the reads inaccurately displayed:

# ./openSeaChest_Logs -d /dev/sg0 -i 
==========================================================================================
 openSeaChest_Logs - openSeaChest drive utilities - NVMe Enabled
 Copyright (c) 2014-2021 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
 openSeaChest_Logs Version: 2.0.1-2_2_3 X86_64
 Build Date: Jun 21 2021
 Today: Mon Oct  4 15:01:01 2021	User: root
==========================================================================================

/dev/sg0 - ST18000NM000J-2TV103 - xxxx - ATA
	Model Number: ST18000NM000J-2TV103
	Serial Number: xxx
	Firmware Revision: SN02
	World Wide Name: xxx
	Drive Capacity (TB/TiB): 18.00/16.37
	Native Drive Capacity (TB/TiB): 18.00/16.37
	Temperature Data:
		Current Temperature (C): 38
		Highest Temperature (C): 52
		Lowest Temperature (C): 34
	Power On Time:  16 days 20 hours 
	Power On Hours: 404.00
	MaxLBA: 35156656127
	Native MaxLBA: 35156656127
	Logical Sector Size (B): 512
	Physical Sector Size (B): 4096
	Sector Alignment: 0
	Rotation Rate (RPM): 7200
	Form Factor: 3.5"
	Last DST information:
		Time since last DST (hours): 14.00
		DST Status/Result: 0x2
		DST Test run: 0x2
	Long Drive Self Test Time:  1 day 1 hour 28 minutes 
	Interface speed:
		Max Speed (Gb/s): 6.0
		Negotiated Speed (Gb/s): 6.0
	Annualized Workload Rate (TB/yr): 647409.58
	Total Bytes Read (PB): 29.85
	Total Bytes Written (TB): 10.66
	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: 0002h

Here is an X16 series disk with reads accurately displayed:

# ./openSeaChest_Logs -d /dev/sg40 -i 
==========================================================================================
 openSeaChest_Logs - openSeaChest drive utilities - NVMe Enabled
 Copyright (c) 2014-2021 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
 openSeaChest_Logs Version: 2.0.1-2_2_3 X86_64
 Build Date: Jun 21 2021
 Today: Mon Oct  4 15:03:51 2021	User: root
==========================================================================================

/dev/sg40 - ST16000NM001G-2KK103 - xxxx - ATA
	Model Number: ST16000NM001G-2KK103
	Serial Number: xxxx
	Firmware Revision: SN02
	World Wide Name: xxxx
	Drive Capacity (TB/TiB): 16.00/14.55
	Native Drive Capacity (TB/TiB): 16.00/14.55
	Temperature Data:
		Current Temperature (C): 35
		Highest Temperature (C): 48
		Lowest Temperature (C): 29
	Power On Time:  1 year 14 days 15 hours 
	Power On Hours: 15255.00
	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:
		Time since last DST (hours): 30.00
		DST Status/Result: 0x0
		DST Test run: 0x1
	Long Drive Self Test Time:  1 day 41 minutes 
	Interface speed:
		Max Speed (Gb/s): 6.0
		Negotiated Speed (Gb/s): 6.0
	Annualized Workload Rate (TB/yr): 61.43
	Total Bytes Read (TB): 98.61
	Total Bytes Written (TB): 8.37
	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
		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: 0002h

I am guessing the new-ish X18 series just needs to be added to some list/config somewhere to show this data properly.

putnam avatar Oct 04 '21 20:10 putnam

Attaching verbose output from example X18 disk. d.txt

putnam avatar Oct 04 '21 20:10 putnam

@putnam, Thanks for the file. That looks like it was the 16TB drive though and the output does look correct for it (98.61TB read). Can you share one for the 18TB?

vonericsen avatar Oct 04 '21 20:10 vonericsen

Oh yeah, whoops, X18 attached d2.txt .

putnam avatar Oct 04 '21 21:10 putnam

Thanks for the files! After reviewing them, I am reaching out to some people internally to figure out the best way to resolve this issue.

vonericsen avatar Oct 05 '21 17:10 vonericsen

Hi @putnam, I know this has been open for a long time now, but I finally have confirmation of a firmware update being available that should resolve this problem.

vonericsen avatar Oct 14 '22 16:10 vonericsen

Closing this due to inactivity and that this was actually a firmware issue that did not have a software workaround available. Judging by the 🎉 reaction on my last comment, I will also take that as confirmation that this issue was seen and can be considered resolved. Please feel free to reopen this or create a new issue if you have any other trouble with your drive!

vonericsen avatar Mar 01 '23 21:03 vonericsen