HGST Ultrastar SN260 Diagnostic Mode - Exiting?

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

grepler

New Member
Jun 19, 2018
4
3
3
Does anyone know how to get an HGST Ultrastar SN200 series device out of diagnostic mode?

I did a longer write-up of my troubleshooting journey over on the Proxmox forums, but I think I know the problem now and STH seems to be more familiar with the SN200 series. I have had six of these devices working beautifully for more than a year, but when I moved them to a new server, shutting down the server reliably borks the devices and sets them into diagnostic mode. This happened to two of my NVMe drives, then while troubleshooting I swapped in two working devices. So the casualty count is currently 4/6. The remaining two are working just fine another server, but I'd *really* love to get these four devices back online, since they seem to be passing all the health checks.

It appears that the devices are not being shut down correctly. On firtst boot the devices show up fine and I can partition / store data/ etc. However, on first shutdown, I captured the following photograph as the server was shutting down:
1615323028441.png

The devices also appear to be diagnostic mode, as I connected them to a Windows host, install Hitachi Drive Manager (hdm) and started poking around:


Code:
PS C:\Windows\system32> hdm scan
[1C58SDM000038D42HUSMR7676BHP3Y10023]
  Product Name        = Ultrastar SN260
  Device Type         = NVMe Controller
  Device Path         = \\?\pci#ven_1c58&dev_0023&subsys_00231c58&rev_02#000cca0c0116138000#{2accfe60-c130-11d2-b082-00a0c91efb8b}
  UID                 = 1C58SDM000038D42HUSMR7676BHP3Y10023
  Alias               = @nvme0
  Vendor Name         = HGST
  Model Name          = HUSMR7676BHP3Y1
  Vendor ID           = 1C58
  Device ID           = 0023
  NVM Subsystem UID   = 1C58SDM000038D42HUSMR7676BHP3Y1
Retrieving the state (note the Device Status = Diagnostic Mode):

Code:
PS C:\Windows\system32> hdm get-state -u 1C58SDM000038D42HUSMR7676BHP3Y10023
[1C58SDM000038D42HUSMR7676BHP3Y10023]
  Product Name                = Ultrastar SN260
  Device Type                 = NVMe Controller
  Device Path                 = \\?\pci#ven_1c58&dev_0023&subsys_00231c58&rev_02#000cca0c0116138000#{2accfe60-c130-11d2-b082-00a0c91efb8b}
  UID                         = 1C58SDM000038D42HUSMR7676BHP3Y10023
  Alias                       = @nvme0
  Device Status               = Diagnostic Mode
  Thermal Throttling Status   = Disabled
  Life Gauge                  = 100
  System Area Percentage Used = 0

Results for get-state: Operation succeeded.
Does anyone know how to get these out of Diagnostic mode?
 

ElCoyote_

Active Member
Jul 22, 2016
193
118
43
Has anyone found a way to get these drives out of Diags mode? Experiencing the same issue here after a failed BIOS update to the PowerEdge they were in.
 

ElCoyote_

Active Member
Jul 22, 2016
193
118
43
Ok, this one CLI managed to get the drives back (out of diagnostics mode)
# dm-cli capture-diagnostics -p /dev/nvme0 --file junk_filename --clear-diag-data
 
Last edited:
  • Like
Reactions: dmarch and gb00s

gdclub

New Member
May 4, 2020
15
0
1
Ok, this one CLI managed to get the drives back (out of diagnostics mode)
# dm-cli capture-diagnostics -p /dev/nvme0 --file junk_filename --clear-diag-data
Excuse me,where to get the dm-cli tool?I've only get the windows-based HDM v3.4 tool.
Now I can only get an HGST NVME device shown in system but there's no devices shown on nvme-cli(linux)by the command "nvme list" or hdm(win) by the command "hdm scan"