Oracle-branded HGST drives unusable in KTN-STL3?

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

papkee

New Member
Nov 28, 2022
10
1
3
Hi all,

Recently got some 4TB Oracle-Branded HGST drives with the hopes of using them in my storage array, but it appears they must have some kind of custom firmware that prevents them from being used outside of Oracle systems. The drives show up fine on my proxmox host, but the drives seem unable to spin up or be accessed in any way other than getting basic information off of them.

Hardware is a Dell R620 running PVE 7.4, with an LSI 9200-8E card connected to a KTN-STL3 with the
303-115-003D interposers (this setup has been working flawlessly with other HGST SAS drives for months).

Output of lsscsi -sig shows the drives, but without size information:
Code:
sudo lsscsi -sig
...
[1:0:5:0]    disk    HGST     H7240AS60SUN4.0T A3A0  /dev/sdh   35000cca07321dee0  /dev/sg7        -
[1:0:6:0]    disk    HGST     H7240AS60SUN4.0T A3A0  /dev/sdi   35000cca0734068c8  /dev/sg8        -
[1:0:7:0]    disk    HGST     H7240AS60SUN4.0T A3A0  /dev/sdj   35000cca03b529a88  /dev/sg9        -
...
Smartctl can get some info, but reports all the drives as NOT READY:
Code:
=== START OF INFORMATION SECTION ===
Vendor:               HGST
Product:              H7240AS60SUN4.0T
Revision:             A3A0
Compliance:           SPC-4
LU is fully provisioned
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000cca07321dee0
Serial number:        001520ELMG5X        PEGLMG5X
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Mon Nov 28 18:53:46 2022 EST
device is NOT READY (e.g. spun down, busy)
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Current Drive Temperature:     0 C
Drive Trip Temperature:        0 C

Error Counter logging not supported

Device does not support Self Test logging
And it appears that my controller (a 9200-8e flashed with P20 IT firmware) can't spin them up for whatever reason:
Code:
[  537.342364] sd 1:0:5:0: [sdh] Spinning up disk...
[  538.350836] ..................................................................................................not responding...
[  637.725088] sd 1:0:5:0: [sdh] Read Capacity(16) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[  637.725099] sd 1:0:5:0: [sdh] Sense Key : Not Ready [current] [descriptor]
[  637.725104] sd 1:0:5:0: [sdh] Add. Sense: Logical unit not ready, initializing command required
[  637.725888] sd 1:0:5:0: [sdh] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[  637.725894] sd 1:0:5:0: [sdh] Sense Key : Not Ready [current] [descriptor]
[  637.725897] sd 1:0:5:0: [sdh] Add. Sense: Logical unit not ready, initializing command required
[  637.785055] sd 1:0:6:0: [sdi] Spinning up disk...
[  638.812532] ..................................................................................................not responding...
[  738.146715] sd 1:0:6:0: [sdi] Read Capacity(16) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[  738.146723] sd 1:0:6:0: [sdi] Sense Key : Not Ready [current] [descriptor]
[  738.146726] sd 1:0:6:0: [sdi] Add. Sense: Logical unit not ready, initializing command required
[  738.147544] sd 1:0:6:0: [sdi] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[  738.147547] sd 1:0:6:0: [sdi] Sense Key : Not Ready [current] [descriptor]
[  738.147549] sd 1:0:6:0: [sdi] Add. Sense: Logical unit not ready, initializing command required
[  738.176189] sd 1:0:7:0: [sdj] Spinning up disk...
[  739.201768] ..................................................................................................not responding...
[  838.528163] sd 1:0:7:0: [sdj] Read Capacity(16) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[  838.528175] sd 1:0:7:0: [sdj] Sense Key : Not Ready [current] [descriptor]
[  838.528180] sd 1:0:7:0: [sdj] Add. Sense: Logical unit not ready, initializing command required
[  838.528912] sd 1:0:7:0: [sdj] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[  838.528917] sd 1:0:7:0: [sdj] Sense Key : Not Ready [current] [descriptor]
[  838.528921] sd 1:0:7:0: [sdj] Add. Sense: Logical unit not ready, initializing command required
Anyone have any experience in this realm? I know you can typically reflash drive firmware, but I was unable to find any information for this particular model online and I'm worried that I now have 5 bricks sitting in my rack.
 

Marsh

Moderator
May 12, 2013
2,630
1,480
113
I purchased 24 of the exact model HGST sun oracle 4tb sas drives.
All the drives worked ok with LSI 9207 IT controller, either in U-NAS chassis , or Roewill SAS hot swap cage.

Each drive testing consist of 3 days of linux Badblock tests , 3 days in Windows machine using hdsentinel pro test.

few days ago, I copied media files to 8 x HGST 4tb sas drive. These are my cold backup drives.

Who is the ebay seller?

I got 24 x 4tb drives @ $11 each with free shipping. each drive have 1.6 years Power On hours.
 

papkee

New Member
Nov 28, 2022
10
1
3
I purchased 24 of the exact model HGST sun oracle 4tb sas drives.
All the drives worked ok with LSI 9207 IT controller, either in U-NAS chassis , or Roewill SAS hot swap cage.

Each drive testing consist of 3 days of linux Badblock tests , 3 days in Windows machine using hdsentinel pro test.

few days ago, I copied media files to 8 x HGST 4tb sas drive. These are my cold backup drives.

Who is the ebay seller?

I got 24 x 4tb drives @ $11 each with free shipping. each drive have 1.6 years Power On hours.
I linked the eBay seller in the OP. I got these for $15/ea which is still pretty good, considering I only bought 5. They advertise them as having been tested fully working with a 9300-8i so I'm fairly confident the drives themselves are not faulty. I wouldn't think the 9200-8e should have any issues either.

Did you have to do anything special to get your drives up and running? The only other thing I could think of is that the KTN-STL3 doesn't like them for whatever reason, but I'm not sure why that would be. The interposers I've got are the top recommended ones online since they're supposed to work fine with both SAS and SATA drives.
 

papkee

New Member
Nov 28, 2022
10
1
3
I discovered these drives are also known as HGST model # HUS724040ALS640. I found firmware revision A320 for that model and attempted to load with sg_write_buffer, but it appears the drives still cannot be accessed in any way:
Code:
~$ sudo sg_write_buffer -vvvvv -m 5 --in HUS724040ALS640_A320.bin /dev/sg2
found sg_bsg_major=243
open /dev/sg2 with flags=0x802
tried to read 8388608 bytes from HUS724040ALS640_A320.bin, got 1179648 bytes
will write 1179648 bytes
sending single write buffer, mode=0x5, mpsec=0, id=0, offset=0, len=1179648
    Write buffer cdb: [3b 05 00 00 00 00 12 00 00 00]
    Write buffer parameter list (first 256 bytes):
12 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00  00 00 00 00 ff ff ff ff
48 47 53 54 2c 20 61 20  57 65 73 74 65 72 6e 20
44 69 67 69 74 61 6c 20  43 6f 6d 70 61 6e 79 20
49 43 33 35 4c 78 78 78  55 78 44 33 32 31 30 2d
30 20 4d 69 63 72 6f 63  6f 64 65 20 28 43 29 20
43 6f 70 79 72 69 67 68  74 20 57 65 73 74 65 72
6e 20 44 69 67 69 74 61  6c 20 43 6f 72 70 2e 20
32 30 31 32 2c 20 32 30  31 32 2d 32 30 31 33 2e
20 41 6c 6c 20 72 69 67  68 74 73 20 72 65 73 65
72 76 65 64 2e 20 20 55  53 20 47 6f 76 65 72 6e
6d 65 6e 74 20 55 73 65  72 73 20 52 65 73 74 72
69 63 74 65 64 20 52 69  67 68 74 73 20 2d 20 55
73 65 20 64 75 70 6c 69  63 61 74 69 6f 6e 20 66
6f 72 20 64 69 73 63 6c  6f 73 75 72 65 20 72 65
73 74 72 69 63 74 65 64  20 62 79 20 47 43 41 20
check_file_type: file descriptor is sg device
      duration=0 ms
Write buffer:
Descriptor format, current; Sense key: Not Ready
Additional sense: Logical unit not ready, initializing command required
  Descriptor type: Information: Valid=0 (-> vendor specific) 0x0000000000000000
  Descriptor type: Command specific: 0x0000000000000000
  Descriptor type: Sense key specific: Progress indication: 0.00%
  Descriptor type: Field replaceable unit code: 0x3
  Descriptor type: Block commands: Incorrect Length Indicator (ILI) clear
  Descriptor type: Vendor specific [0x80]
    f5 03
  DescripWrite buffer failed: Device not ready, type: sense key
So I'm stuck. Not sure where I can go from here. Any suggestions? Logical unit not ready, initializing command required is a message that has almost no results when searched for online.
 

Marsh

Moderator
May 12, 2013
2,630
1,480
113
I did not do anything to the drive, just plug in the cables and off.

Could you try connection the drive without the backplane?
using SAS cable direct between SAS controller card and HGST HD.

Code:
=== START OF INFORMATION SECTION ===
Vendor:               HGST
Product:              H7240AS60SUN4.0T
Revision:             A3A0
Compliance:           SPC-4
User Capacity:        4,000,787,030,016 bytes [4.00 TB]
Logical block size:   512 bytes
Formatted with type 1 protection
LU is fully provisioned
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000cca03b07c60c
Serial number:        001340E48JHX        PBG48JHX
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Thu Nov 17 09:38:34 2022 PST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled
Read Cache is:        Enabled
Writeback Cache is:   Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     37 C
Drive Trip Temperature:        85 C

Manufactured in week 40 of year 2013
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  12
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  3089
Elements in grown defect list: 0

Vendor (Seagate) cache information
  Blocks sent to initiator = 47040374480306176

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Tot
al
               ECC          rereads/    errors   algorithm      processed    unc
orrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  err
ors
read:    2125775      253         0   2126028    3184173      22649.347         
  0
write:         0        0         0         0    1297591     139363.589         
  0
verify:        0        0         0         0    5268217          0.000         
  0

Non-medium error count:       26

No self-tests have been logged
Here is my smartctl output
 

Marsh

Moderator
May 12, 2013
2,630
1,480
113
second half of the smartctl output
Code:
Background scan results log
  Status: scan is active
    Accumulated power on time, hours:minutes 14291:16 [857476 minutes]
    Number of background scans performed: 444,  scan progress: 2.89%
    Number of background medium scans performed: 444

Protocol Specific port log page for SAS SSP
relative target port id = 1
  generation code = 3
  number of phys = 1
  phy identifier = 0
    attached device type: SAS or SATA device
    attached reason: unknown
    reason: unknown
    negotiated logical link rate: phy enabled; 6 Gbps
    attached initiator port: ssp=1 stp=1 smp=1
    attached target port: ssp=0 stp=0 smp=0
    SAS address = 0x5000cca03b07c60d
    attached SAS address = 0x500605b00603ff07
    attached phy identifier = 7
    Invalid DWORD count = 8
    Running disparity error count = 0
    Loss of DWORD synchronization = 2
    Phy reset problem = 0
    Phy event descriptors:
     Invalid word count: 8
     Running disparity error count: 0
     Loss of dword synchronization count: 2
     Phy reset problem count: 0
relative target port id = 2
  generation code = 3
  number of phys = 1
  phy identifier = 1
    attached device type: no device attached
    attached reason: unknown
    reason: power on
    negotiated logical link rate: phy enabled; unknown
    attached initiator port: ssp=0 stp=0 smp=0
    attached target port: ssp=0 stp=0 smp=0
    SAS address = 0x5000cca03b07c60e
    attached SAS address = 0x0
    attached phy identifier = 0
    Invalid DWORD count = 0
    Running disparity error count = 0
    Loss of DWORD synchronization = 0
    Phy reset problem = 0
    Phy event descriptors:
     Invalid word count: 0
     Running disparity error count: 0
     Loss of dword synchronization count: 0
     Phy reset problem count: 0
 

gb00s

Well-Known Member
Jul 25, 2018
1,024
447
83
Poland
This is maybe not the most sophisticated answer, but in situations like this I tend to re-format the drives with a
sg_format --format --size=512 /dev/sgx
In 99.9% the drives are coming online then. I often have/had it with SAS ssd's.
 
  • Like
Reactions: Marsh

papkee

New Member
Nov 28, 2022
10
1
3
I'll need to buy an SFF-8284 cable to go direct from the HBA to the drives, which apparently also requires an external power supply since the SFF-8088 doesn't include power connections. I'm not sure if it makes sense to buy all that, or just return the drives and get ones that won't require all the hassle to get working.
 

Marsh

Moderator
May 12, 2013
2,630
1,480
113
Yesterday afternoon, I started format and verifying 30 x 8TB HGST SUN Oracle SAS drive.

1 drive won't spin up , crc error during sas connect to the drive.

I also want to resize the drive from 7.2tb to full 8tb.

This is what I used
# OK pass 1
sudo ./setblocksize -b4096 /dev/$drive

touch /tmp/$0-setblock-done.log

# pass 2
sudo sg_format -v --format --size=4096 /dev/$drive

see dmesg before formatting
[ 720.159015] sd 7:0:3:0: [sdd] tag#8381 Sense Key : Medium Error [current] [descriptor]
[ 720.159019] sd 7:0:3:0: [sdd] tag#8381 Add. Sense: Medium format corrupted
[ 720.159023] sd 7:0:3:0: [sdd] tag#8381 CDB: Read(16) 88 00 00 00 00 00 00 00 00 18 00 00 00 08 00 00
[ 720.159027] blk_update_request: I/O error, dev sdd, sector 24 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 720.159112] Buffer I/O error on dev sdd, logical block 3, async page read
[ 720.319115] sdd: unable to read partition table
[ 720.335514] sd 7:0:3:0: [sdd] Spinning up disk...
[ 721.530688] ..................................................................................................not responding...
[ 820.860261] sd 7:0:3:0: [sdd] Attached SCSI disk

The questionable drive seem to be formatting now, drive LED is flashing.

Will find out if it is ok tomorrow morning.
 

papkee

New Member
Nov 28, 2022
10
1
3
Unfortunately, it doesn't appear to be the same issue - mine don't give any IO errors, they just simply don't come up properly.
Code:
[ 4081.309764] sd 1:0:13:0: [sde] Read Capacity(16) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[ 4081.309771] sd 1:0:13:0: [sde] Sense Key : Not Ready [current] [descriptor]
[ 4081.309775] sd 1:0:13:0: [sde] Add. Sense: Logical unit not ready, initializing command required
[ 4081.310489] sd 1:0:13:0: [sde] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[ 4081.310493] sd 1:0:13:0: [sde] Sense Key : Not Ready [current] [descriptor]
[ 4081.310496] sd 1:0:13:0: [sde] Add. Sense: Logical unit not ready, initializing command required
[ 4081.310994] sd 1:0:13:0: [sde] 0 512-byte logical blocks: (0 B/0 B)
[ 4081.310998] sd 1:0:13:0: [sde] 0-byte physical blocks
[ 4081.311364] sd 1:0:13:0: [sde] Write Protect is off
[ 4081.311369] sd 1:0:13:0: [sde] Mode Sense: f1 00 10 08
[ 4081.311893] sd 1:0:13:0: [sde] Write cache: disabled, read cache: enabled, supports DPO and FUA
[ 4081.314957] sd 1:0:13:0: [sde] Spinning up disk...
[ 4154.394987] .not responding...
[ 4181.659173] sd 1:0:13:0: [sde] Read Capacity(16) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[ 4181.659181] sd 1:0:13:0: [sde] Sense Key : Not Ready [current] [descriptor]
[ 4181.659185] sd 1:0:13:0: [sde] Add. Sense: Logical unit not ready, initializing command required
[ 4181.659892] sd 1:0:13:0: [sde] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
[ 4181.659897] sd 1:0:13:0: [sde] Sense Key : Not Ready [current] [descriptor]
[ 4181.659900] sd 1:0:13:0: [sde] Add. Sense: Logical unit not ready, initializing command required
[ 4181.684472] sd 1:0:13:0: [sde] Attached SCSI disk
And because of that, I can't access the disk to perform a block resize. All the sg3 commands fail with errors similar to the following:
Code:
~$ sudo sg_format -v --format --size=4096 /dev/sg4
    HGST      H7240AS60SUN4.0T  A3A0   peripheral_type: disk [0x0]
      PROTECT=1
      << supports protection information>>
      Unit serial number: 001520ELMG5X        PEGLMG5X
      LU name: 5000cca07321dee0
    mode sense(10) cdb: [5a 00 01 00 00 00 00 00 fc 00]
Mode Sense (block descriptor) data, prior to changes:
block count maxed out, set <<longlba>>
    mode sense(10) cdb: [5a 10 01 00 00 00 00 00 fc 00]
  <<< longlba flag set (64 bit lba) >>>
  Number of blocks=7814037168 [0x1d1c0beb0]
  Block size=512 [0x200]
    mode select(10) cdb: [55 11 00 00 00 00 00 00 24 00]
mode select(10):
Descriptor format, current; Sense key: Not Ready
Additional sense: Logical unit not ready, initializing command required
  Descriptor type: Information: Valid=0 (-> vendor specific) 0x0000000000000000
  Descriptor type: Command specific: 0x0000000000000000
  Descriptor type: Sense key specific: Progress indication: 0.00%
  Descriptor type: Field replaceable unit code: 0x3
  Descriptor type: Block commands: Incorrect Length Indicator (ILI) clear
  Descriptor type: Vendor specific [0x80]
    f5 03
  DescripMODE SELECT command: Device not ready, type: sense key
I appreciate your willingness to help!
 

gb00s

Well-Known Member
Jul 25, 2018
1,024
447
83
Poland
Can you shut down any drive power management of the drives with .... ?
hdparm -B 255 /dev/sdx
EDIT: ... and why trying to change to 4096 sector size if your disk doesn't even work with the standard yet?
 

papkee

New Member
Nov 28, 2022
10
1
3
Can you shut down any drive power management of the drives with .... ?
Code:
sudo hdparm -B 255 /dev/sdc

/dev/sdc:
setting Advanced Power Management level to disabled
SG_IO: bad/missing sense data, sb[]:  72 02 04 02 00 00 00 34 00 0a 00 00 00 00 00 00 00 00 00 00 01 0a 00 00 00 00 00 00 00 00 00 00
HDIO_DRIVE_CMD failed: Input/output error
SG_IO: bad/missing sense data, sb[]:  72 02 04 02 00 00 00 34 00 0a 00 00 00 00 00 00 00 00 00 00 01 0a 00 00 00 00 00 00 00 00 00 00
I thought I had read somewhere that hdparm was only for SATA drives and sdparm was for SAS drives, but I can't find a comparable command for power management with sdparm online.

I'm in contact with the seller now who said they'd look into the issue - as their listing says, they test all their drives before shipping and they seem to be technically competent so we'll see if they come up with any suggestions.
 

papkee

New Member
Nov 28, 2022
10
1
3
Here ya go
Code:
~$ sudo sdparm --all /dev/sg2
    /dev/sg2: HGST      H7240AS60SUN4.0T  A3A0
Read write error recovery mode page:
  AWRE          1  [cha: y, def:  1, sav:  1]
  ARRE          1  [cha: y, def:  1, sav:  1]
  TB            0  [cha: y, def:  0, sav:  0]
  RC            0  [cha: y, def:  0, sav:  0]
  EER           0  [cha: n, def:  0, sav:  0]
  PER           1  [cha: y, def:  1, sav:  1]
  DTE           0  [cha: y, def:  0, sav:  0]
  DCR           0  [cha: y, def:  0, sav:  0]
  RRC           1  [cha: y, def:  1, sav:  1]
  COR_S         0  [cha: y, def:  0, sav:  0]
  HOC           0  [cha: y, def:  0, sav:  0]
  DSOC          0  [cha: y, def:  0, sav:  0]
  LBPERE        0  [cha: n, def:  0, sav:  0]
  MWR           0  [cha: n, def:  0, sav:  0]
  WRC           1  [cha: y, def:  1, sav:  1]
  RTL           0  [cha: y, def:  0, sav:  0]
Disconnect-reconnect (SPC + transports) mode page:
  BFR           0  [cha: y, def:  0, sav:  0]
  BER           0  [cha: y, def:  0, sav:  0]
  BIL           0  [cha: n, def:  0, sav:  0]
  DTL           0  [cha: n, def:  0, sav:  0]
  CTL           0  [cha: n, def:  0, sav:  0]
  MBS           314  [cha: y, def:314, sav:314]
  EMDP          0  [cha: n, def:  0, sav:  0]
  FA            0  [cha: n, def:  0, sav:  0]
  DIMM          0  [cha: n, def:  0, sav:  0]
  DTDC          0  [cha: n, def:  0, sav:  0]
  FBS           0  [cha: n, def:  0, sav:  0]
Format (SBC) mode page:
  TPZ           205  [cha: n, def:205, sav:205]
  ASPZ          0  [cha: n, def:  0, sav:  0]
  ATPZ          0  [cha: n, def:  0, sav:  0]
  ATPLU         0  [cha: n, def:  0, sav:  0]
  SPT           1044  [cha: n, def:1044, sav:1044]
  DBPPS         512  [cha: n, def:512, sav:512]
  INTLV         1  [cha: n, def:  1, sav:  1]
  TSF           0  [cha: n, def:  0, sav:  0]
  CSF           0  [cha: n, def:  0, sav:  0]
  SSEC          0  [cha: n, def:  0, sav:  0]
  HSEC          1  [cha: n, def:  1, sav:  1]
  RMB           0  [cha: n, def:  0, sav:  0]
  SURF          0  [cha: n, def:  0, sav:  0]
Rigid disk (SBC) mode page:
  NOC           206  [cha: n, def:206, sav:206]
  NOH           10  [cha: n, def: 10, sav: 10]
  SCWP          0  [cha: n, def:  0, sav:  0]
  SCRWC         0  [cha: n, def:  0, sav:  0]
  DSR           0  [cha: n, def:  0, sav:  0]
  LZC           0  [cha: n, def:  0, sav:  0]
  RPL           0  [cha: n, def:  0, sav:  0]
  ROTO          0  [cha: n, def:  0, sav:  0]
  MRR           7200  [cha: n, def:7200, sav:7200]
Verify error recovery (SBC) mode page:
  V_EER         0  [cha: n, def:  0, sav:  0]
  V_PER         0  [cha: y, def:  0, sav:  0]
  V_DTE         0  [cha: y, def:  0, sav:  0]
  V_DCR         0  [cha: y, def:  0, sav:  0]
  V_RC          1  [cha: y, def:  1, sav:  1]
  V_COR_S       0  [cha: n, def:  0, sav:  0]
  V_RTL         0  [cha: y, def:  0, sav:  0]
Caching (SBC) mode page:
  IC            0  [cha: y, def:  0, sav:  0]
  ABPF          0  [cha: y, def:  0, sav:  0]
  CAP           0  [cha: y, def:  0, sav:  0]
  DISC          0  [cha: y, def:  0, sav:  0]
  SIZE          0  [cha: y, def:  0, sav:  0]
  WCE           0  [cha: y, def:  0, sav:  0]
  MF            0  [cha: y, def:  0, sav:  0]
  RCD           0  [cha: y, def:  0, sav:  0]
  DRRP          0  [cha: y, def:  0, sav:  0]
  WRP           0  [cha: y, def:  0, sav:  0]
  DPTL          -1  [cha: y, def: -1, sav: -1]
  MIPF          0  [cha: y, def:  0, sav:  0]
  MAPF          -1  [cha: y, def: -1, sav: -1]
  MAPFC         -1  [cha: y, def: -1, sav: -1]
  FSW           0  [cha: y, def:  0, sav:  0]
  LBCSS         0  [cha: y, def:  0, sav:  0]
  DRA           0  [cha: y, def:  0, sav:  0]
  SYNC_PROG     0  [cha: n, def:  0, sav:  0]
  NV_DIS        0  [cha: n, def:  0, sav:  0]
  NCS           8  [cha: y, def:  8, sav:  8]
  CSS           0  [cha: y, def:  0, sav:  0]
Control mode page:
  TST           0  [cha: n, def:  0, sav:  0]
  TMF_ONLY      0  [cha: n, def:  0, sav:  0]
  DPICZ         1  [cha: y, def:  1, sav:  1]
  D_SENSE       1  [cha: y, def:  1, sav:  1]
  GLTSD         0  [cha: n, def:  0, sav:  0]
  RLEC          0  [cha: n, def:  0, sav:  0]
  QAM           0  [cha: y, def:  0, sav:  0]
  NUAR          0  [cha: n, def:  0, sav:  0]
  QERR          0  [cha: y, def:  0, sav:  0]
  RAC           0  [cha: n, def:  0, sav:  0]
  UA_INTLCK     0  [cha: n, def:  0, sav:  0]
  SWP           0  [cha: n, def:  0, sav:  0]
  ATO           1  [cha: n, def:  1, sav:  1]
  TAS           0  [cha: n, def:  0, sav:  0]
  ATMPE         0  [cha: y, def:  0, sav:  0]
  RWWP          0  [cha: y, def:  0, sav:  0]
  SBLP          0  [cha: n, def:  0, sav:  0]
  AUTOLOAD      0  [cha: n, def:  0, sav:  0]
  BTP           0  [cha: y, def:  0, sav:  0]
  ESTCT         -1  [cha: n, def: -1, sav: -1]
Control extension mode page:
  DLC           0  [cha: n, def:  0, sav:  0]
  TCMOS         0  [cha: n, def:  0, sav:  0]
  SCSIP         0  [cha: n, def:  0, sav:  0]
  IALUAE        0  [cha: n, def:  0, sav:  0]
  INIT_PR       0  [cha: n, def:  0, sav:  0]
  MSDL          0  [cha: y, def:  0, sav:  0]
Application tag (SBC) mode page:
  AT_LAST       1  [cha: y, def:  1, sav:  1]
  AT_LBAT       0xffff  [cha: y, def: 0xffff, sav: 0xffff]
  AT_LBA        0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT      0xffffffffffffffff  [cha: y, def: 0xffffffffffffffff, sav: 0xffffffffffffffff]
  AT_LAST.1     0  [cha: y, def:  0, sav:  0]
  AT_LBAT.1     0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LBA.1      0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT.1    0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LAST.2     0  [cha: y, def:  0, sav:  0]
  AT_LBAT.2     0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LBA.2      0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT.2    0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LAST.3     0  [cha: y, def:  0, sav:  0]
  AT_LBAT.3     0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LBA.3      0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT.3    0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LAST.4     0  [cha: y, def:  0, sav:  0]
  AT_LBAT.4     0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LBA.4      0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT.4    0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LAST.5     0  [cha: y, def:  0, sav:  0]
  AT_LBAT.5     0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LBA.5      0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT.5    0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LAST.6     0  [cha: y, def:  0, sav:  0]
  AT_LBAT.6     0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LBA.6      0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT.6    0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LAST.7     0  [cha: y, def:  0, sav:  0]
  AT_LBAT.7     0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LBA.7      0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT.7    0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LAST.8     0  [cha: y, def:  0, sav:  0]
  AT_LBAT.8     0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LBA.8      0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT.8    0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LAST.9     0  [cha: y, def:  0, sav:  0]
  AT_LBAT.9     0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LBA.9      0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT.9    0xff  [cha: y, def: 0x0, sav: 0x917f0000]
  AT_LAST.10    1  [cha: y, def:  1, sav:  1]
  AT_LBAT.10    0x0  [cha: n, def: 0x0, sav: 0x0]
  AT_LBA.10     0x0  [cha: n, def: 0x0, sav: 0xd454c4e3030d2d]
  AT_COUNT.10   0x800000000000ffff  [cha: y, def: 0x800000000000ffff, sav: 0xa02f5cedae550000]
  AT_LAST.11    1  [cha: n, def:  0, sav:  1]
  AT_LBAT.11    0xffff  [cha: n, def: 0x0, sav: 0x0]
  AT_LBA.11     0xffffffffffffffff  [cha: y, def: 0xffffffffffffffff, sav: 0x300000000000000]
  AT_COUNT.11   0x800000000000ffff  [cha: n, def: 0x0, sav: 0x100000000000000]
  AT_LAST.12    1  [cha: n, def:  0, sav:  1]
  AT_LBAT.12    0xffff  [cha: n, def: 0x0, sav: 0x0]
  AT_LBA.12     0xffffffffffffffff  [cha: n, def: 0x0, sav: 0x0]
  AT_COUNT.12   0x800000000000ffff  [cha: n, def: 0x0, sav: 0xe033d197ff7f0000]
  AT_LAST.13    1  [cha: n, def:  0, sav:  0]
  AT_LBAT.13    0xffff  [cha: n, def: 0x0, sav: 0x0]
  AT_LBA.13     0xffffffffffffffff  [cha: n, def: 0x0, sav: 0x0]
  AT_COUNT.13   0x800000000000ffff  [cha: n, def: 0x0, sav: 0x0]
  AT_LAST.14    1  [cha: n, def:  0, sav:  1]
  AT_LBAT.14    0xffff  [cha: n, def: 0x0, sav: 0x0]
  AT_LBA.14     0xffffffffffffffff  [cha: n, def: 0x0, sav: 0x0]
  AT_COUNT.14   0x800000000000ffff  [cha: n, def: 0x0, sav: 0x0]
  AT_LAST.15    1  [cha: n, def:  0, sav:  0]
  AT_LBAT.15    0xffff  [cha: n, def: 0x0, sav: 0x0]
  AT_LBA.15     0xffffffffffffffff  [cha: n, def: 0x0, sav: 0x0]
  AT_COUNT.15   0x800000000000ffff  [cha: n, def: 0x0, sav: 0x3036d197ff7f0000]
Protocol specific logical unit mode page:
  LUPID         6  [cha: n, def:  6, sav:  6]
Protocol specific port mode page:
  PPID          6  [cha: n, def:  6, sav:  6]
Power condition mode page:
  PM_BG         0  [cha: y, def:  0, sav:  0]
  STANDBY_Y     0  [cha: y, def:  0, sav:  0]
  IDLE_C        0  [cha: y, def:  0, sav:  0]
  IDLE_B        0  [cha: y, def:  0, sav:  0]
  IDLE          0  [cha: y, def:  0, sav:  0]
  STANDBY       0  [cha: y, def:  0, sav:  0]
  ICT           0  [cha: y, def:  0, sav:  0]
  SCT           0  [cha: y, def:  0, sav:  0]
  IBCT          0  [cha: y, def:  0, sav:  0]
  ICCT          0  [cha: y, def:  0, sav:  0]
  SYCT          0  [cha: y, def:  0, sav:  0]
  CCF_IDLE      1  [cha: y, def:  1, sav:  1]
  CCF_STAND     1  [cha: y, def:  1, sav:  1]
  CCF_STOPP     2  [cha: y, def:  2, sav:  2]
Informational exceptions control mode page:
  PERF          0  [cha: y, def:  0, sav:  0]
  EBF           0  [cha: y, def:  0, sav:  0]
  EWASC         1  [cha: y, def:  1, sav:  1]
  DEXCPT        0  [cha: y, def:  0, sav:  0]
  TEST          0  [cha: y, def:  0, sav:  0]
  EBACKERR      0  [cha: y, def:  0, sav:  0]
  LOGERR        0  [cha: y, def:  0, sav:  0]
  MRIE          4  [cha: y, def:  4, sav:  4]
  INTT          0  [cha: y, def:  0, sav:  0]
  REPC          1  [cha: y, def:  1, sav:  1]
Background control (SBC) mode page:
  S_L_FULL      0  [cha: y, def:  0, sav:  0]
  LOWIR         0  [cha: y, def:  0, sav:  0]
  EN_BMS        1  [cha: y, def:  1, sav:  1]
  EN_PS         0  [cha: y, def:  0, sav:  0]
  BMS_I         168  [cha: y, def:168, sav:168]
  BPS_TL        0  [cha: y, def:  0, sav:  0]
  MIN_IDLE      500  [cha: y, def:500, sav:500]
  MAX_SUSP      0  [cha: y, def:  0, sav:  0]
 

papkee

New Member
Nov 28, 2022
10
1
3
So a conclusion to the saga - seller agreed to a return and I bought a new batch of drives. Same exact model, HUS724040ALS640, just not rebadged with the SUN/Oracle part number.

Drives show up, they've got 520-byte blocks, but otherwise seem to be behaving much better.
Code:
sudo sg_format /dev/sg2
    HITACHI   HUS72404CLAR4000  H3B0   peripheral_type: disk [0x0]
      << supports protection information>>
      Unit serial number: PCG7E0KX
      LU name: 5000cca05c0d7ddc
Mode Sense (block descriptor) data, prior to changes:
  <<< longlba flag set (64 bit lba) >>>
  Number of blocks=7693821210 [0x1ca96651a]
  Block size=520 [0x208]
Read Capacity (16) results:
   Protection: prot_en=0, p_type=0, p_i_exponent=0
   Logical block provisioning: lbpme=0, lbprz=0
   Logical blocks per physical block exponent=0
   Lowest aligned logical block address=0
   Number of logical blocks=7693821210
   Logical block size=520 bytes
No changes made. To format use '--format'. To resize use '--resize'
I was able to start a reformat to 512-byte without any issues.
Code:
sudo sg_format -v --format --size=512 /dev/sg2
    HITACHI   HUS72404CLAR4000  H3B0   peripheral_type: disk [0x0]
      PROTECT=1
      << supports protection information>>
      Unit serial number: PCG7E0KX
      LU name: 5000cca05c0d7ddc
    mode sense(10) cdb: [5a 00 01 00 00 00 00 00 fc 00]
Mode Sense (block descriptor) data, prior to changes:
block count maxed out, set <<longlba>>
    mode sense(10) cdb: [5a 10 01 00 00 00 00 00 fc 00]
  <<< longlba flag set (64 bit lba) >>>
  Number of blocks=7693821210 [0x1ca96651a]
  Block size=520 [0x208]
    mode select(10) cdb: [55 11 00 00 00 00 00 00 24 00]

A FORMAT UNIT will commence in 15 seconds
    ALL data on /dev/sg2 will be DESTROYED
        Press control-C to abort

A FORMAT UNIT will commence in 10 seconds
    ALL data on /dev/sg2 will be DESTROYED
        Press control-C to abort

A FORMAT UNIT will commence in 5 seconds
    ALL data on /dev/sg2 will be DESTROYED
        Press control-C to abort
    Format unit cdb: [04 18 00 00 00 00]

Format unit has started
Format in progress, 0.99% done
Format in progress, 0.99% done
Format in progress, 0.99% done
Format in progress, 1.99% done
Format in progress, 1.99% done
Format in progress, 1.99% done
Format in progress, 1.99% done
Format in progress, 2.99% done
Moral of the story, apparently those SUN drives have some bad blood with EMC disk shelves.
 
  • Like
Reactions: Marsh

gb00s

Well-Known Member
Jul 25, 2018
1,024
447
83
Poland
Can you again provide an output of
sdparm --all
again. In your previous output with the other batch of drives the power settings are looking strange and totally different from all my other drives.
 

papkee

New Member
Nov 28, 2022
10
1
3
Sure!

This one seems like way more output. It's on a drive that finished the reformat to 512-byte sectors.
Code:
sudo sdparm -all /dev/sg5
    /dev/sg5: HITACHI   HUS72404CLAR4000  H3B0
    Direct access device specific parameters: WP=0  DPOFUA=1
Read write error recovery [rw] mode page [PS=1]:
  AWRE          1  [cha: y, def:  0, sav:  1]  Automatic write reallocation enabled
  ARRE          1  [cha: y, def:  0, sav:  1]  Automatic read reallocation enabled
  TB            0  [cha: y, def:  0, sav:  0]  Transfer block
  RC            0  [cha: y, def:  0, sav:  0]  Read continuous
        0: error recovery may cause delays
        1: transfer data without waiting for error recovery
  EER           0  [cha: n, def:  0, sav:  0]  Enable early recovery (obsolete)
        1: increase chance of mis-detection or mis-correction of error
  PER           1  [cha: y, def:  1, sav:  1]  Post error
        0: do not post recovered errors
        1: report recovered errors (via sense key: recovered error)
  DTE           0  [cha: y, def:  0, sav:  0]  Data terminate on error
        1: terminate data transfer when recovered error detected
  DCR           0  [cha: y, def:  0, sav:  0]  Disable correction (obsolete)
  RRC           1  [cha: y, def:  1, sav:  1]  Read retry count
  COR_S         0  [cha: y, def:  0, sav:  0]  Correction span (obsolete)
  HOC           0  [cha: y, def:  0, sav:  0]  Head offset count (obsolete)
  DSOC          0  [cha: y, def:  0, sav:  0]  Data strobe offset count (obsolete)
  LBPERE        0  [cha: n, def:  0, sav:  0]  Logical block provisioning error reporting enabled
  MWR           0  [cha: n, def:  0, sav:  0]  Misaligned write reporting
        0: disabled, don't report
        1: enabled, complete and report
        2: terminate, terminate and report
  WRC           1  [cha: y, def:  1, sav:  1]  Write retry count
  RTL           3072  [cha: y, def:3072, sav:3072]  Recovery time limit (ms)
        0: default, -1: 65.5 seconds
Disconnect-reconnect (SPC + transports) [dr] mode page [PS=1]:
  BFR           0  [cha: y, def:  0, sav:  0]  Buffer full ratio
        fraction where this value is numerator, 256 is denominator
  BER           0  [cha: y, def:  0, sav:  0]  Buffer empty ratio
        fraction where this value is numerator, 256 is denominator
  BIL           0  [cha: y, def:  0, sav:  0]  Bus inactivity limit
        for unit see specific transport
  DTL           0  [cha: n, def:  0, sav:  0]  Disconnect time limit
        for unit see specific transport
  CTL           0  [cha: y, def:  0, sav:  0]  Connect time limit
        for unit see specific transport
  MBS           448  [cha: y, def:  0, sav:448]  Maximum burst size (512 bytes)
  EMDP          0  [cha: n, def:  0, sav:  0]  Enable modify data pointers
        1: target may send data out of order
  FA            0  [cha: n, def:  0, sav:  0]  Fair arbitration
  DIMM          0  [cha: n, def:  0, sav:  0]  Disconnect immediate
  DTDC          0  [cha: n, def:  0, sav:  0]  Data transfer disconnect control
  FBS           0  [cha: n, def:  0, sav:  0]  First burst size (512 bytes)
Format (SBC) [fo] mode page [PS=0]:
  TPZ           11716  [cha: n, def:11716, sav:11716]  Tracks per zone
  ASPZ          0  [cha: n, def:  0, sav:  0]  Alternate sectors per zone
  ATPZ          0  [cha: n, def:  0, sav:  0]  Alternate tracks per zone
  ATPLU         0  [cha: n, def:  0, sav:  0]  Alternate tracks per logical unit
  SPT           3306  [cha: n, def:3306, sav:3306]  Sectors per track
  DBPPS         512  [cha: n, def:512, sav:512]  Data bytes per physical sector
  INTLV         1  [cha: n, def:  1, sav:  1]  Interleave
  TSF           100  [cha: n, def:100, sav:100]  Track skew factor
  CSF           22  [cha: n, def: 22, sav: 22]  Cylinder skew factor
  SSEC          0  [cha: n, def:  0, sav:  0]  Soft sector
  HSEC          1  [cha: n, def:  1, sav:  1]  Hard sector
  RMB           0  [cha: n, def:  0, sav:  0]  Removable
  SURF          0  [cha: n, def:  0, sav:  0]  Surface
Rigid disk (SBC) [rd] mode page [PS=0]:
  NOC           308240  [cha: n, def:308240, sav:308240]  Number of cylinders
  NOH           10  [cha: n, def: 10, sav: 10]  Number of heads
  SCWP          0  [cha: n, def:  0, sav:  0]  Starting cylinder for write precompensation
  SCRWC         0  [cha: n, def:  0, sav:  0]  Starting cylinder for reduced write current
  DSR           0  [cha: n, def:  0, sav:  0]  Device step rate
  LZC           0  [cha: n, def:  0, sav:  0]  Landing zone cylinder
  RPL           0  [cha: n, def:  0, sav:  0]  Rotational position locking
  ROTO          0  [cha: n, def:  0, sav:  0]  Rotational offset
  MRR           7200  [cha: n, def:7200, sav:7200]  Medium rotation rate (rpm)
Verify error recovery (SBC) [ve] mode page [PS=1]:
  V_EER         0  [cha: n, def:  0, sav:  0]  Enable early recovery (obsolete)
  V_PER         1  [cha: y, def:  1, sav:  1]  Post error
  V_DTE         0  [cha: y, def:  0, sav:  0]  Data terminate on error
  V_DCR         0  [cha: y, def:  0, sav:  0]  Disable correction (obsolete)
  V_RC          1  [cha: y, def:  1, sav:  1]  Verify retry count
  V_COR_S       0  [cha: y, def:  0, sav:  0]  Verify correction span (obsolete)
  V_RTL         3072  [cha: y, def:3072, sav:3072]  Verify recovery time limit (ms)
Caching (SBC) [ca] mode page [PS=1]:
  IC            0  [cha: y, def:  0, sav:  0]  Initiator control
        0: disk uses own adaptive caching algorithm
        1: disk caching algorithm controlled by NCS or CCS
  ABPF          0  [cha: y, def:  0, sav:  0]  Abort pre-fetch
  CAP           0  [cha: y, def:  0, sav:  0]  Caching analysis permitted
  DISC          1  [cha: y, def:  1, sav:  1]  Discontinuity
        0: pre-fetch truncated or wrapped at time discontinuity
        1: pre-fetch continues across time discontinuity
  SIZE          0  [cha: y, def:  0, sav:  0]  Size enable
        0: number of cache segments (NCS) controls cache segmentation
        1: the cache segment size (CCS) controls cache segmentation
  WCE           0  [cha: y, def:  0, sav:  0]  Write cache enable
  MF            0  [cha: y, def:  0, sav:  0]  Multiplication factor
        0: MIPF and MAPF specify blocks
        1: multiply MIPF and MAPF by blocks in read command
  RCD           0  [cha: y, def:  0, sav:  0]  Read cache disable
  DRRP          0  [cha: y, def:  0, sav:  0]  Demand read retention priority
        0: treat requested and other data equally
        1: replace requested data before other data
        15: replace other data before requested data
  WRP           0  [cha: y, def:  0, sav:  0]  Write retention priority
        0: treat requested and other data equally
        1: replace requested data before other data
        15: replace other data before requested data
  DPTL          -1  [cha: y, def: -1, sav: -1]  Disable pre-fetch transfer length
  MIPF          128  [cha: y, def:  0, sav:128]  Minimum pre-fetch
  MAPF          -1  [cha: y, def: -1, sav: -1]  Maximum pre-fetch
  MAPFC         -1  [cha: y, def: -1, sav: -1]  Maximum pre-fetch ceiling
  FSW           0  [cha: y, def:  0, sav:  0]  Force sequential write
  LBCSS         0  [cha: y, def:  0, sav:  0]  Logical block cache segment size
        0: CSS unit is bytes; 1: CSS unit is blocks
  DRA           0  [cha: y, def:  0, sav:  0]  Disable read ahead
  SYNC_PROG     0  [cha: n, def:  0, sav:  0]  Synchronous cache progress indication
        0: no pollable sense data during sync
        1: allow pollable sense data, allow all commands during sync
        2: allow pollable sense data, allow some commands during sync
  NV_DIS        0  [cha: n, def:  0, sav:  0]  Non-volatile cache disable
  NCS           8  [cha: y, def:  8, sav:  8]  Number of cache segments
  CSS           0  [cha: y, def:  0, sav:  0]  Cache segment size
Control [co] mode page [PS=1]:
  TST           0  [cha: n, def:  0, sav:  0]  Task set type
        0: lu maintains one task set for all I_T nexuses
        1: lu maintains separate task sets for each I_T nexus
  TMF_ONLY      0  [cha: n, def:  0, sav:  0]  Task management functions only
  DPICZ         0  [cha: y, def:  0, sav:  0]  Disable protection information check if protect field zero
  D_SENSE       1  [cha: y, def:  1, sav:  1]  Descriptor format sense data
  GLTSD         0  [cha: n, def:  0, sav:  0]  Global logging target save disable
  RLEC          0  [cha: n, def:  0, sav:  0]  Report log exception condition
  QAM           1  [cha: y, def:  1, sav:  1]  Queue algorithm modifier
        0: restricted re-ordering; 1: unrestricted
  NUAR          0  [cha: n, def:  0, sav:  0]  No unit attention on release
  QERR          0  [cha: y, def:  0, sav:  0]  Queue error management
        0: only affected task gets CC; 1: affected tasks aborted
        3: affected tasks aborted on same I_T nexus
  RAC           0  [cha: n, def:  0, sav:  0]  Report a check
  UA_INTLCK     0  [cha: n, def:  0, sav:  0]  Unit attention interlocks control
        0: unit attention cleared with check condition status
        2: unit attention not cleared with check condition status
        3: as 2 plus ua on busy, task set full or reservation conflict
  SWP           0  [cha: n, def:  0, sav:  0]  Software write protect
  ATO           0  [cha: y, def:  0, sav:  0]  Application tag owner
  TAS           0  [cha: n, def:  0, sav:  0]  Task aborted status
        0: tasks aborted without response to app client
        1: any other I_T nexuses receive task aborted
  ATMPE         0  [cha: y, def:  0, sav:  0]  Application tag mode page enabled
  RWWP          0  [cha: y, def:  0, sav:  0]  Reject write without protection
  SBLP          0  [cha: n, def:  0, sav:  0]  Supported block lengths and protection information
  AUTOLOAD      0  [cha: n, def:  0, sav:  0]  Autoload mode
        0: medium loaded for full access
        1: loaded for medium auxiliary access only
        2: medium shall not be loaded
  BTP           0  [cha: y, def:  0, sav:  0]  Busy timeout period (100us)
        0: undefined
        0ffffh (-1): unlimited
  ESTCT         18  [cha: y, def:  6, sav: 18]  Extended self test completion time (sec)
        0ffffh (-1) takes 65535 seconds or longer
Control extension [coe] mode page [PS=0]:
  DLC           0  [cha: n, def:  0, sav:  0]  Device life control
        0: may degrade performance to prolong life
        1: shall not degrade performance
  TCMOS         0  [cha: n, def:  0, sav:  0]  Timestamp changeable by methods outside standard
  SCSIP         0  [cha: n, def:  0, sav:  0]  SCSI timestamp commands take precedence over other methods
  IALUAE        0  [cha: n, def:  0, sav:  0]  Implicit asymmetric logical unit access enabled
  INIT_PR       0  [cha: n, def:  0, sav:  0]  Initial command priority
        0: none or vendor
        1: highest
        15: lowest
  MSDL          48  [cha: y, def: 48, sav: 48]  Maximum sense data length
        0: unlimited
Application tag (SBC) [atag] mode page [PS=1]:
  AT_LAST       1  [cha: y, def:  1, sav:  1]  Last
  AT_LBAT       0xffff  [cha: y, def: 0xffff, sav: 0xffff]  Logical block application tag
  AT_LBA        0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block address
  AT_COUNT      0xffffffffffffffff  [cha: y, def: 0xffffffffffffffff, sav: 0xffffffffffffffff]  Logical block count
  AT_LAST.1     0  [cha: y, def:  0, sav:  0]  Last
  AT_LBAT.1     0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block application tag
  AT_LBA.1      0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block address
  AT_COUNT.1    0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block count
  AT_LAST.2     0  [cha: y, def:  0, sav:  0]  Last
  AT_LBAT.2     0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block application tag
  AT_LBA.2      0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block address
  AT_COUNT.2    0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block count
  AT_LAST.3     0  [cha: y, def:  0, sav:  0]  Last
  AT_LBAT.3     0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block application tag
  AT_LBA.3      0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block address
  AT_COUNT.3    0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block count
  AT_LAST.4     0  [cha: y, def:  0, sav:  0]  Last
  AT_LBAT.4     0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block application tag
  AT_LBA.4      0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block address
  AT_COUNT.4    0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block count
  AT_LAST.5     0  [cha: y, def:  0, sav:  0]  Last
  AT_LBAT.5     0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block application tag
  AT_LBA.5      0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block address
  AT_COUNT.5    0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block count
  AT_LAST.6     0  [cha: y, def:  0, sav:  0]  Last
  AT_LBAT.6     0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block application tag
  AT_LBA.6      0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block address
  AT_COUNT.6    0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block count
  AT_LAST.7     0  [cha: y, def:  0, sav:  0]  Last
  AT_LBAT.7     0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block application tag
  AT_LBA.7      0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block address
  AT_COUNT.7    0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block count
  AT_LAST.8     0  [cha: y, def:  0, sav:  0]  Last
  AT_LBAT.8     0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block application tag
  AT_LBA.8      0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block address
  AT_COUNT.8    0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block count
  AT_LAST.9     0  [cha: y, def:  0, sav:  0]  Last
  AT_LBAT.9     0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block application tag
  AT_LBA.9      0x0  [cha: y, def: 0x0, sav: 0x0]  Logical block address
  AT_COUNT.9    0xffff0000  [cha: y, def: 0x0, sav: 0x2c7f0000]  Logical block count
  AT_LAST.10    1  [cha: y, def:  1, sav:  1]  Last
  AT_LBAT.10    0x0  [cha: n, def: 0x0, sav: 0x0]  Logical block application tag
  AT_LBA.10     0x0  [cha: n, def: 0x0, sav: 0x52ff02a362e130]  Logical block address
  AT_COUNT.10   0x800000000000ffff  [cha: y, def: 0x800000000000ffff, sav: 0xa0afba6b5c550000]  Logical block count
  AT_LAST.11    1  [cha: n, def:  0, sav:  1]  Last
  AT_LBAT.11    0xffff  [cha: n, def: 0x0, sav: 0x0]  Logical block application tag
  AT_LBA.11     0xffffffffffffffff  [cha: y, def: 0xffffffffffffffff, sav: 0x300000000000000]  Logical block address
  AT_COUNT.11   0x800000000000ffff  [cha: n, def: 0x0, sav: 0x100000000000000]  Logical block count
  AT_LAST.12    1  [cha: n, def:  0, sav:  1]  Last
  AT_LBAT.12    0xffff  [cha: n, def: 0x0, sav: 0x0]  Logical block application tag
  AT_LBA.12     0xffffffffffffffff  [cha: n, def: 0x0, sav: 0x0]  Logical block address
  AT_COUNT.12   0x800000000000ffff  [cha: n, def: 0x0, sav: 0x9041864dfc7f0000]  Logical block count
  AT_LAST.13    1  [cha: n, def:  0, sav:  0]  Last
  AT_LBAT.13    0xffff  [cha: n, def: 0x0, sav: 0x0]  Logical block application tag
  AT_LBA.13     0xffffffffffffffff  [cha: n, def: 0x0, sav: 0x0]  Logical block address
  AT_COUNT.13   0x800000000000ffff  [cha: n, def: 0x0, sav: 0x0]  Logical block count
  AT_LAST.14    1  [cha: n, def:  0, sav:  1]  Last
  AT_LBAT.14    0xffff  [cha: n, def: 0x0, sav: 0x0]  Logical block application tag
  AT_LBA.14     0xffffffffffffffff  [cha: n, def: 0x0, sav: 0x0]  Logical block address
  AT_COUNT.14   0x800000000000ffff  [cha: n, def: 0x0, sav: 0x0]  Logical block count
  AT_LAST.15    1  [cha: n, def:  0, sav:  0]  Last
  AT_LBAT.15    0xffff  [cha: n, def: 0x0, sav: 0x0]  Logical block application tag
  AT_LBA.15     0xffffffffffffffff  [cha: n, def: 0x0, sav: 0x0]  Logical block address
  AT_COUNT.15   0x800000000000ffff  [cha: n, def: 0x0, sav: 0xe043864dfc7f0000]  Logical block count
Protocol specific logical unit [pl] mode page [PS=1]:
  LUPID         6  [cha: n, def:  6, sav:  6]  Logical unit's (transport) protocol identifier
        0: fcp; 1: spi; 4: srp; 5: iscsi; 6: sas/spl; 7: adt;
        8: ata/acs; 9: uas; 10: sop
        [try adding '-t <transport>' to get more fields]
Protocol specific port [pp] mode page [PS=1]:
  PPID          6  [cha: n, def:  6, sav:  6]  Port's (transport) protocol identifier
        0: fcp; 1: spi; 4: srp; 5: iscsi; 6: sas/spl; 7: adt;
        8: ata/acs; 9: uas; 10: sop
        [try adding '-t <transport>' to get more fields]
Power condition [po] mode page [PS=1]:
  PM_BG         0  [cha: y, def:  0, sav:  0]  Power management, background functions, precedence
        0: vendor specific; 1: background function higher
        2: power management higher
  STANDBY_Y     0  [cha: y, def:  0, sav:  0]  Standby_y timer enable
  IDLE_C        0  [cha: y, def:  0, sav:  0]  Idle_c timer enable
  IDLE_B        0  [cha: y, def:  0, sav:  0]  Idle_b timer enable
  IDLE          0  [cha: y, def:  0, sav:  0]  Idle_a timer enable
        named IDLE prior to spc4r18, thence IDLE_A
  STANDBY       0  [cha: y, def:  0, sav:  0]  Standby_z timer enable
        named STANDBY prior to spc4r18, thence STANDBY_Z
  ICT           20  [cha: y, def: 20, sav: 20]  Idle_a condition timer (100 ms)
        named IDLE prior to spc4r18, thence IDLE_A
  SCT           0  [cha: y, def:  0, sav:  0]  Standby_z condition timer (100 ms)
        named STANDBY prior to spc4r18, thence STANDBY_Z
  IBCT          6000  [cha: y, def:6000, sav:6000]  Idle_b condition timer (100 ms)
  ICCT          0  [cha: y, def:  0, sav:  0]  Idle_c condition timer (100 ms)
  SYCT          0  [cha: y, def:  0, sav:  0]  Standby_y condition timer (100 ms)
  CCF_IDLE      1  [cha: y, def:  1, sav:  1]  check condition on transition from idle
        0: restricted (SAS-2); 1: disabled; 2: enabled

  CCF_STAND     1  [cha: y, def:  1, sav:  1]  check condition on transition from standby
        0: restricted (SAS-2); 1: disabled; 2: enabled

  CCF_STOPP     2  [cha: y, def:  2, sav:  2]  check condition on transition from stopped
        0: restricted (SAS-2); 1: disabled; 2: enabled

Informational exceptions control [ie] mode page [PS=1]:
  PERF          1  [cha: y, def:  0, sav:  1]  Performance (impact of ie operations)
        0: normal (some delays); 1: abridge ie operations
  EBF           0  [cha: y, def:  0, sav:  0]  Enable background function
  EWASC         0  [cha: y, def:  0, sav:  0]  Enable warning
  DEXCPT        0  [cha: y, def:  0, sav:  0]  Disable exceptions
  TEST          0  [cha: y, def:  0, sav:  0]  Test (simulate device failure)
  EBACKERR      0  [cha: y, def:  0, sav:  0]  Enable background (scan + self test) error reporting
  LOGERR        0  [cha: y, def:  0, sav:  0]  Log informational exception errors
  MRIE          4  [cha: y, def:  4, sav:  4]  Method of reporting informational exceptions
        0: no reporting; 1: async reporting (obs); 2: unit attention
        3: conditional recovered error; 4: recovered error
        5: check condition with no sense; 6: request sense only
  INTT          0  [cha: y, def:  0, sav:  0]  Interval timer (100 ms)
  REPC          1  [cha: y, def:  1, sav:  1]  Report count (or Test flag number [SSC-3])
Background control (SBC) [bc] mode page [PS=1]:
  S_L_FULL      0  [cha: y, def:  0, sav:  0]  Suspend on log full
  LOWIR         0  [cha: y, def:  0, sav:  0]  Log only when intervention required
  EN_BMS        1  [cha: y, def:  1, sav:  1]  Enable background medium scan
  EN_PS         0  [cha: y, def:  0, sav:  0]  Enable pre-scan
  BMS_I         72  [cha: y, def: 72, sav: 72]  Background medium scan interval time (hour)
  BPS_TL        0  [cha: y, def:  0, sav:  0]  Background pre-scan time limit (hour)
  MIN_IDLE      0  [cha: y, def:  0, sav:  0]  Minumum idle time before background scan (ms)
  MAX_SUSP      0  [cha: y, def:  0, sav:  0]  Maximum time to suspend background scan (ms)
 

mr44er

Member
Feb 22, 2020
96
31
18
sdparm -s CCF_STOPP=1 -S /dev/da$ helps for HGST. CCF_STOPP=2 prevents spin-up.

Also on the next formatting-orgy you'll want to use:
sg_format -v --format --fmtpinfo=0 --pfu=0 --size=512 /dev/da$

This destroys the Formatted with type 1 protection and [Formatted with type 2 protection.
You usually don't want that in your free system! ;)
 
  • Like
Reactions: gb00s

Whaaat

Active Member
Jan 31, 2020
267
123
43
sdparm -s CCF_STOPP=1 -S /dev/da$ helps for HGST. CCF_STOPP=2 prevents spin-up.
Why is it so? CCF_STOPP=2 is the default value for generic LHGNC9U0 firmware (Ultrastar He10) and drive spins up as happy as other ones