Skip to content

Instantly share code, notes, and snippets.

@altendky
Last active May 31, 2021 07:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save altendky/26b423ff59574c255d56003c914e72c5 to your computer and use it in GitHub Desktop.
Save altendky/26b423ff59574c255d56003c914e72c5 to your computer and use it in GitHub Desktop.
debugging 6TB Seagate SAS drives that `lost async page write`

Note the script is available at the bottom. See u/fmillion's post in r/homelab for my inspiration to explore down this path. My debugging efforts from before that are noted at https://gist.github.com/altendky/96fe6c1f799fdbf79516f9528d6fd644.

I have 6x 6TB Seagate SAS drives (ST6000NM0034 / DKS2F-H6R0SS, 7FA6 firmware) that came to me with 520 byte sectors. I have reformatted them to 512 first with sg_format then with the SeaChest tools. I still get /dev/disk/by-id/scsi-SSEAGATE_DKS2F-H6R0SS_Z4D1V24X0000R535X9WQ: close device failed: Input/output error and lost async page write when fdisk tries to write a new partition table. mkfs straight on the disk fails as well. They are on a Super Micro backplane attached to a pair of LSI SAS9210-8i (BIOS 07.39.00.00 and firmware 20.00.02.00 per systool). I do have a standard old 3TB SATA that I have tested in the same setup that worked. Presently only the single problematic 6TB is installed on the backplane. Any ideas where I should go next?

Here is another seemingly similar case. https://www.hardwareluxx.de/community/threads/seagate-st4000nm0175-unter-linux-nutzbar-machen-520-512.1281780/

$ May 26 03:12:02: SD=/dev/disk/by-id/scsi-SSEAGATE_DKS2F-H6R0SS_Z4D1V24X0000R535X9WQ
$ May 26 03:12:02: OD="od --format=x1 --width=16"
$ May 26 03:12:02: DD="dd status=noxfer"
$ May 26 03:12:02: ${DD} if=/dev/zero of=zero4096 bs=512 count=8 iflag=fullblock
8+0 records in
8+0 records out
$ May 26 03:12:02: ${DD} if=/dev/urandom of=random4096 bs=512 count=8 iflag=fullblock
8+0 records in
8+0 records out
$ May 26 03:12:02: ls -l zero4096 random4096
-rw-rw-r-- 1 altendky altendky 4096 May 26 03:12 random4096
-rw-rw-r-- 1 altendky altendky 4096 May 26 03:12 zero4096
$ May 26 03:12:02: ${OD} random4096 | head -n 4
0000000 a1 e5 37 66 19 e6 75 71 f1 15 09 0a 6d 0e 14 e9
0000020 f7 1b 0e 87 6f 3c c8 89 e9 38 03 a4 11 ca 48 20
0000040 e2 d4 b7 8b 2c 4b fb 49 b5 d0 68 49 08 df fc 93
0000060 b3 fe 42 29 df 64 7c 14 18 c6 f5 06 83 77 b0 24
$ May 26 03:12:02: ${OD} zero4096
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0010000
$ May 26 03:12:02: sudo sg_write_verify -vv --in zero4096 --lba 0 "${SD}"
open /dev/disk/by-id/scsi-SSEAGATE_DKS2F-H6R0SS_Z4D1V24X0000R535X9WQ with flags=0x802
Issue Write and verify(10) to device /dev/disk/by-id/scsi-SSEAGATE_DKS2F-H6R0SS_Z4D1V24X0000R535X9WQ
        ilen=-1, lba=0 [0x0]
        wrprotect=0, dpo=0, bytchk=0, group=0, repeat=0
Using file size of 4096 bytes
    Write and verify(10) cdb: 2e 00 00 00 00 00 00 00 01 00 
$ May 26 03:12:02: sudo ${DD} if="${SD}" bs=512 count=8 | ${OD} | head -n 4
8+0 records in
8+0 records out
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0001000 79 27 91 b7 45 9f 1b b3 7e a7 ef cb 16 81 36 60
0001020 80 d1 60 c7 b1 85 ab 6d cd 5b 48 b8 da 80 e1 0e
$ May 26 03:12:02: sudo sg_write_verify -vv --in random4096 --lba 0 "${SD}"
open /dev/disk/by-id/scsi-SSEAGATE_DKS2F-H6R0SS_Z4D1V24X0000R535X9WQ with flags=0x802
Issue Write and verify(10) to device /dev/disk/by-id/scsi-SSEAGATE_DKS2F-H6R0SS_Z4D1V24X0000R535X9WQ
        ilen=-1, lba=0 [0x0]
        wrprotect=0, dpo=0, bytchk=0, group=0, repeat=0
Using file size of 4096 bytes
    Write and verify(10) cdb: 2e 00 00 00 00 00 00 00 01 00 
$ May 26 03:12:02: sudo ${DD} if="${SD}" bs=512 count=8 | ${OD} | head -n 4
8+0 records in
8+0 records out
0000000 a1 e5 37 66 19 e6 75 71 f1 15 09 0a 6d 0e 14 e9
0000020 f7 1b 0e 87 6f 3c c8 89 e9 38 03 a4 11 ca 48 20
0000040 e2 d4 b7 8b 2c 4b fb 49 b5 d0 68 49 08 df fc 93
0000060 b3 fe 42 29 df 64 7c 14 18 c6 f5 06 83 77 b0 24
$ May 26 03:12:02: sudo sg_write_verify -vv --in zero4096 --lba 0 "${SD}" | true
open /dev/disk/by-id/scsi-SSEAGATE_DKS2F-H6R0SS_Z4D1V24X0000R535X9WQ with flags=0x802
Issue Write and verify(10) to device /dev/disk/by-id/scsi-SSEAGATE_DKS2F-H6R0SS_Z4D1V24X0000R535X9WQ
        ilen=-1, lba=0 [0x0]
        wrprotect=0, dpo=0, bytchk=0, group=0, repeat=0
Using file size of 4096 bytes
    Write and verify(10) cdb: 2e 00 00 00 00 00 00 00 01 00 
$ May 26 03:12:02: sudo sg_write_buffer -vv --in random4096 --offset 0 "${SD}"
open /dev/disk/by-id/scsi-SSEAGATE_DKS2F-H6R0SS_Z4D1V24X0000R535X9WQ with flags=0x802
tried to read 8388608 bytes from random4096, got 4096 bytes
will write 4096 bytes
sending single write buffer, mode=0x0, mpsec=0, id=0, offset=0, len=4096
    Write buffer cdb: 3b 00 00 00 00 00 00 10 00 00 
    Write buffer parameter list (first 256 bytes):
a1 e5 37 66 19 e6 75 71  f1 15 09 0a 6d 0e 14 e9
f7 1b 0e 87 6f 3c c8 89  e9 38 03 a4 11 ca 48 20
e2 d4 b7 8b 2c 4b fb 49  b5 d0 68 49 08 df fc 93
b3 fe 42 29 df 64 7c 14  18 c6 f5 06 83 77 b0 24
3e f9 0d dc b6 a5 8d cc  23 84 37 71 1f 8c e8 b0
13 0d bb c1 46 e6 22 15  23 0f ed b0 4d 1a e8 8b
45 40 8e 46 73 ec a7 0d  57 55 f6 53 ae 66 7a 72
68 55 6d 49 21 31 50 91  88 a2 32 f6 a7 4f e6 02
16 d7 43 68 8d 2b 6d 43  35 98 2d 60 c2 58 10 2d
11 b2 04 1c 45 88 c5 b6  81 20 ed 44 11 31 52 c5
31 0a 17 a8 a6 59 14 d4  49 67 be d0 cd a8 bf 23
be cf 49 40 1c 1d f7 41  ea eb ce 42 7c 09 5b 2e
bf 51 a9 c8 3b da bb c3  74 40 c0 38 7b e2 50 fe
bd bb 76 f2 be 0d 69 e5  05 ad 27 d2 77 47 8f f8
d5 4d f4 a1 26 f7 c4 59  b9 c9 af 11 24 3c 62 51
fb 8e 97 76 1e 17 19 20  cb c9 2b 88 73 1c 3a fd
Write buffer:
Descriptor format, current; Sense key: Illegal Request
Additional sense: Invalid field in parameter list
  Descriptor type: Sense key specific: Field pointer:
        Error in Data parameters: byte 0 bit 7
  Descriptor type: Field replaceable unit code: 0x9
  Descriptor type: Vendor specific [0x80]
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 
 Raw sense data (in hex), sb_len=36, embedded_len=36
        72 05 26 00 00 00 00 1c  02 06 00 00 8f 00 00 00
        03 02 00 09 80 0e 00 00  00 00 00 00 00 00 00 Write buffer failed: Illegal request, type: sense key, apart from Invalid opcode
$ May 26 03:12:02: sudo ${DD} if="${SD}" bs=512 count=8 | ${OD} | head -n 4
8+0 records in
8+0 records out
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0001000 79 27 91 b7 45 9f 1b b3 7e a7 ef cb 16 81 36 60
0001020 80 d1 60 c7 b1 85 ab 6d cd 5b 48 b8 da 80 e1 0e
$ May 26 03:12:02: sudo ${DD} if=random4096 of="${SD}" bs=512 count=8
8+0 records in
8+0 records out
$ May 26 03:12:02: sudo ${DD} if="${SD}" bs=512 count=8 | ${OD} | head -n 4
8+0 records in
8+0 records out
0000000 a1 e5 37 66 19 e6 75 71 f1 15 09 0a 6d 0e 14 e9
0000020 f7 1b 0e 87 6f 3c c8 89 e9 38 03 a4 11 ca 48 20
0000040 e2 d4 b7 8b 2c 4b fb 49 b5 d0 68 49 08 df fc 93
0000060 b3 fe 42 29 df 64 7c 14 18 c6 f5 06 83 77 b0 24
$ May 26 03:12:02: journalctl | grep ' kernel: ' | tail -n 20
May 26 03:10:45 server kernel: sd 10:0:0:0: [sdc] tag#362 Sense Key : Aborted Command [current] [descriptor] 
May 26 03:10:45 server kernel: sd 10:0:0:0: [sdc] tag#362 <<vendor>>ASC=0x81 ASCQ=0x0 
May 26 03:10:45 server kernel: sd 10:0:0:0: [sdc] tag#362 CDB: Write(16) 8a 00 00 00 00 00 00 00 00 00 00 00 00 28 00 00
May 26 03:10:45 server kernel: blk_update_request: I/O error, dev sdc, sector 0 op 0x1:(WRITE) flags 0x0 phys_seg 5 prio class 0
May 26 03:10:45 server kernel: Buffer I/O error on dev sdc, logical block 0, lost async page write
May 26 03:10:45 server kernel: Buffer I/O error on dev sdc, logical block 1, lost async page write
May 26 03:10:45 server kernel: Buffer I/O error on dev sdc, logical block 2, lost async page write
May 26 03:10:48 server kernel: mpt2sas_cm0: host_trace_buffer_size_show: host_trace_buffer is not registered
May 26 03:10:48 server kernel: mpt2sas_cm0: host_trace_buffer_show: host_trace_buffer is not registered
May 26 03:10:48 server kernel: mpt2sas_cm0: BRM_status_show: BRM attribute is only for warpdrive
May 26 03:10:48 server kernel: mpt2sas_cm1: host_trace_buffer_size_show: host_trace_buffer is not registered
May 26 03:10:48 server kernel: mpt2sas_cm1: host_trace_buffer_show: host_trace_buffer is not registered
May 26 03:10:48 server kernel: mpt2sas_cm1: BRM_status_show: BRM attribute is only for warpdrive
May 26 03:12:02 server kernel: sd 10:0:0:0: [sdc] tag#323 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
May 26 03:12:02 server kernel: sd 10:0:0:0: [sdc] tag#323 Sense Key : Aborted Command [current] [descriptor] 
May 26 03:12:02 server kernel: sd 10:0:0:0: [sdc] tag#323 <<vendor>>ASC=0x81 ASCQ=0x0 
May 26 03:12:02 server kernel: sd 10:0:0:0: [sdc] tag#323 CDB: Write(16) 8a 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00
May 26 03:12:02 server kernel: blk_update_request: I/O error, dev sdc, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
May 26 03:12:02 server kernel: buffer_io_error: 2 callbacks suppressed
May 26 03:12:02 server kernel: Buffer I/O error on dev sdc, logical block 0, lost async page write
$ May 26 03:12:06: sudo fdisk "${SD}" << EOF
> g
> w
> EOF

Welcome to fdisk (util-linux 2.34).                                                                                                                                                                                                                                    
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table.
The size of this disk is 5.5 TiB (6001175126016 bytes). DOS partition table format cannot be used on drives for volumes larger than 2199023255040 bytes for 512-byte sectors. Use GUID partition table format (GPT).

Created a new DOS disklabel with disk identifier 0xe3c7b76f.

Command (m for help): Created a new GPT disklabel (GUID: 47B1C2EF-A8A7-434C-BEFE-EC0D666E8434).

Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
/dev/disk/by-id/scsi-SSEAGATE_DKS2F-H6R0SS_Z4D1V24X0000R535X9WQ: close device failed: Input/output error
$ May 26 03:12:06: journalctl | grep ' kernel: ' | tail -n 20
May 26 03:12:02 server kernel: Buffer I/O error on dev sdc, logical block 0, lost async page write
May 26 03:12:06 server kernel: sd 10:0:0:0: [sdc] tag#376 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
May 26 03:12:06 server kernel: sd 10:0:0:0: [sdc] tag#376 Sense Key : Aborted Command [current] [descriptor] 
May 26 03:12:06 server kernel: sd 10:0:0:0: [sdc] tag#376 <<vendor>>ASC=0x81 ASCQ=0x0 
May 26 03:12:06 server kernel: sd 10:0:0:0: [sdc] tag#376 CDB: Write(16) 8a 00 00 00 00 00 00 00 00 00 00 00 00 28 00 00
May 26 03:12:06 server kernel: blk_update_request: I/O error, dev sdc, sector 0 op 0x1:(WRITE) flags 0x0 phys_seg 5 prio class 0
May 26 03:12:06 server kernel: Buffer I/O error on dev sdc, logical block 0, lost async page write
May 26 03:12:06 server kernel: Buffer I/O error on dev sdc, logical block 1, lost async page write
May 26 03:12:06 server kernel: Buffer I/O error on dev sdc, logical block 2, lost async page write
May 26 03:12:06 server kernel: Buffer I/O error on dev sdc, logical block 3, lost async page write
May 26 03:12:06 server kernel: Buffer I/O error on dev sdc, logical block 4, lost async page write
May 26 03:12:06 server kernel: sd 10:0:0:0: [sdc] tag#377 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
May 26 03:12:06 server kernel: sd 10:0:0:0: [sdc] tag#377 Sense Key : Aborted Command [current] [descriptor] 
May 26 03:12:06 server kernel: sd 10:0:0:0: [sdc] tag#377 <<vendor>>ASC=0x81 ASCQ=0x0 
May 26 03:12:06 server kernel: sd 10:0:0:0: [sdc] tag#377 CDB: Write(16) 8a 00 00 00 00 02 ba a0 f4 88 00 00 00 28 00 00
May 26 03:12:06 server kernel: blk_update_request: I/O error, dev sdc, sector 11721045128 op 0x1:(WRITE) flags 0x0 phys_seg 5 prio class 0
May 26 03:12:06 server kernel: Buffer I/O error on dev sdc, logical block 1465130641, lost async page write
May 26 03:12:06 server kernel: Buffer I/O error on dev sdc, logical block 1465130642, lost async page write
May 26 03:12:06 server kernel: Buffer I/O error on dev sdc, logical block 1465130643, lost async page write
May 26 03:12:06 server kernel: Buffer I/O error on dev sdc, logical block 1465130644, lost async page write
$ May 26 03:12:09: sudo /farm/firmware/seachest/Linux/Non-RAID/Lin64-Non_RAID/ubuntu-20.04_x86_64/SeaChest_Info_x86_64-linux-gnu --device "${SD}" -i
==========================================================================================
 SeaChest_Info - Seagate drive utilities - NVMe Enabled
 Copyright (c) 2014-2021 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
 SeaChest_Info Version: 2.0.0-2_2_1 X86_64
 Build Date: Apr 27 2021
 Today: Wed May 26 03:12:09 2021        User: root
==========================================================================================

 - DKS2F-H6R0SS - Z4D1V24X0000R535X9WQ - SCSI
        Vendor ID: SEAGATE 
        Model Number: DKS2F-H6R0SS    
        Serial Number: Z4D1V24X
        PCBA Serial Number: 0000R535X9WQ
        Firmware Revision: 7FA6
        World Wide Name: 5000C5008363EF77
        Copyright: Copyright (c) 2014 Seagate All rights reserved 
        Drive Capacity (TB/TiB): 6.00/5.46
        Temperature Data:
                Current Temperature (C): 33
                Highest Temperature (C): Not Reported
                Lowest Temperature (C): Not Reported
        Power On Time:  5 years 85 days 1 hour 38 minutes 
        Power On Hours: 45841.63
        MaxLBA: 11721045167
        Native MaxLBA: Not Reported
        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): 166.63
                DST Status/Result: 0x0
                DST Test run: 0x1
        Long Drive Self Test Time:  10 hours 2 minutes 
        Interface speed:
                Port 0 (Current Port)
                        Max Speed (GB/s): 12.0
                        Negotiated Speed (Gb/s): 6.0
                Port 1
                        Max Speed (GB/s): 12.0
                        Negotiated Speed (Gb/s): Not Reported
        Annualized Workload Rate (TB/yr): 0.34
        Total Bytes Read (TB): 1.42
        Total Bytes Written (GB): 344.53
        Encryption Support: Not Supported
        Cache Size (MiB): Not Reported
        Read Look-Ahead: Enabled
        Write Cache: Enabled
        SMART Status: Good
        ATA Security Information: Not Supported
        Firmware Download Support: Full, Segmented, Deferred
        Number of Logical Units: 1
        Specifications Supported:
                SPC-3
                SAM-5
                SAS-3
                SPL-3
                SPC-4
                SBC-3
        Features Supported:
                Application Client Logging
                Self Test
                Automatic Write Reassignment [Enabled]
                Automatic Read Reassignment [Enabled]
                EPC
                Informational Exceptions [Mode 0]
                Translate Address
                Format Unit
                Sanitize
        Adapter Information:
                Vendor ID: Not available.
                Product ID: Not available.
                Revision: Not available.
$ May 26 03:12:09: systool -c scsi_host -v host1
Class = "scsi_host"

  Class Device = "host1"
  Class Device path = "/sys/devices/pci0000:00/0000:00:01.1/0000:04:00.0/host1/scsi_host/host1"
    BRM_status          = 
    active_mode         = "Initiator"
    board_assembly      = "H3-25329-01A"
    board_name          = "SAS9210-8i"
    board_tracer        = "SP20206137"
    can_queue           = "3364"
    cmd_per_lun         = "7"
    device_delay        = "00"
    diag_trigger_event  = 
    diag_trigger_master = 
    diag_trigger_mpi    = 
    diag_trigger_scsi   = 
    drv_support_bitmap  = "0x00000001"
    eh_deadline         = "off"
    enable_sdev_max_qd  = "0"
    fw_queue_depth      = "3432"
    fwfault_debug       = "0"
    host_busy           = "0"
    host_reset          = <store method only>
    host_sas_address    = "0x500605b0046d9320"
    host_trace_buffer_enable= "off"
    host_trace_buffer_size= 
    host_trace_buffer   = 
    io_delay            = "00"
    ioc_reset_count     = "0"
    logging_level       = "00000000h"
    proc_name           = "mpt2sas"
    prot_capabilities   = "7"
    prot_guard_type     = "1"
    reply_queue_count   = "1"
    scan                = <store method only>
    sg_prot_tablesize   = "0"
    sg_tablesize        = "128"
    state               = "running"
    supported_mode      = "Initiator"
    uevent              = 
    unchecked_isa_dma   = "0"
    unique_id           = "0"
    use_blk_mq          = "1"
    version_bios        = "07.39.00.00"
    version_fw          = "20.00.02.00"
    version_mpi         = "200.23"
    version_nvdata_default= "14010006h"
    version_nvdata_persistent= "14010006h"
    version_product     = "LSISAS2008"

    Device = "host1"
    Device path = "/sys/devices/pci0000:00/0000:00:01.1/0000:04:00.0/host1"
      uevent              = "DEVTYPE=scsi_host"

$ May 26 03:12:09: systool -c scsi_host -v host10
Class = "scsi_host"

  Class Device = "host10"
  Class Device path = "/sys/devices/pci0000:00/0000:00:02.0/0000:05:00.0/host10/scsi_host/host10"
    BRM_status          = 
    active_mode         = "Initiator"
    board_assembly      = "H3-25329-01C"
    board_name          = "SAS9210-8i"
    board_tracer        = "SP24916159"
    can_queue           = "3364"
    cmd_per_lun         = "7"
    device_delay        = "00"
    diag_trigger_event  = 
    diag_trigger_master = 
    diag_trigger_mpi    = 
    diag_trigger_scsi   = 
    drv_support_bitmap  = "0x00000001"
    eh_deadline         = "off"
    enable_sdev_max_qd  = "0"
    fw_queue_depth      = "3432"
    fwfault_debug       = "0"
    host_busy           = "1"
    host_reset          = <store method only>
    host_sas_address    = "0x500605b005f8ac30"
    host_trace_buffer_enable= "off"
    host_trace_buffer_size= 
    host_trace_buffer   = 
    io_delay            = "00"
    ioc_reset_count     = "0"
    logging_level       = "00000000h"
    proc_name           = "mpt2sas"
    prot_capabilities   = "7"
    prot_guard_type     = "1"
    reply_queue_count   = "1"
    scan                = <store method only>
    sg_prot_tablesize   = "0"
    sg_tablesize        = "128"
    state               = "running"
    supported_mode      = "Initiator"
    uevent              = 
    unchecked_isa_dma   = "0"
    unique_id           = "1"
    use_blk_mq          = "1"
    version_bios        = "07.39.00.00"
    version_fw          = "20.00.02.00"
    version_mpi         = "200.23"
    version_nvdata_default= "14010006h"
    version_nvdata_persistent= "14010006h"
    version_product     = "LSISAS2008"

    Device = "host10"
    Device path = "/sys/devices/pci0000:00/0000:00:02.0/0000:05:00.0/host10"
      uevent              = "DEVTYPE=scsi_host"

# https://gist.github.com/altendky/26b423ff59574c255d56003c914e72c5
PS1='\`\`\`
\`\`\`console
$ \D{%b %d %H:%M:%S}: '
SD=/dev/disk/by-id/scsi-SSEAGATE_DKS2F-H6R0SS_Z4D1V24X0000R535X9WQ
OD="od --format=x1 --width=16"
DD="dd status=noxfer"
${DD} if=/dev/zero of=zero4096 bs=512 count=8 iflag=fullblock
${DD} if=/dev/urandom of=random4096 bs=512 count=8 iflag=fullblock
ls -l zero4096 random4096
${OD} random4096 | head -n 4
${OD} zero4096
sudo sg_write_verify -vv --in zero4096 --lba 0 "${SD}"
sudo ${DD} if="${SD}" bs=512 count=8 | ${OD} | head -n 4
sudo sg_write_verify -vv --in random4096 --lba 0 "${SD}"
sudo ${DD} if="${SD}" bs=512 count=8 | ${OD} | head -n 4
sudo sg_write_verify -vv --in zero4096 --lba 0 "${SD}" | true
sudo sg_write_buffer -vv --in random4096 --offset 0 "${SD}"
sudo ${DD} if="${SD}" bs=512 count=8 | ${OD} | head -n 4
sudo ${DD} if=random4096 of="${SD}" bs=512 count=8
sudo ${DD} if="${SD}" bs=512 count=8 | ${OD} | head -n 4
journalctl | grep ' kernel: ' | tail -n 20
sudo fdisk "${SD}" << EOF
g
w
EOF
journalctl | grep ' kernel: ' | tail -n 20
sudo /farm/firmware/seachest/Linux/Non-RAID/Lin64-Non_RAID/ubuntu-20.04_x86_64/SeaChest_Info_x86_64-linux-gnu --device "${SD}" -i
systool -c scsi_host -v host1
systool -c scsi_host -v host10
@iz3man
Copy link

iz3man commented May 27, 2021

H6R0SS indicates an Hitachi drive. Correct? After all my investigation it seems the special Hitachi firmware locks any write access outside of the storage array. Our only chance to make it work would be installing the "original" Seagate firmware. But I had no suceess doing so.

@iz3man
Copy link

iz3man commented May 27, 2021

Btw: It MAY be possible to SECURE format those with a Dell/EMC H700 controller. No sure if it's worth investing those $20 just to test another dead end ...

@redwoodimage
Copy link

i have same problem i have dumped my firmware spi chip here's a link https://github.com/redwoodimage/seagate/

@iz3man
Copy link

iz3man commented May 31, 2021

@redwoodimage: If you say you dumped it: Have you been able to flash ANY other firmware to those disks? I'm struggeling to even find out what kind of disk this really is. Mine is a 5 platter 4TB disk and should be an EXOS, but there is no 5 Platter with 800GB/platter in this series. Quite confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment