IBM 7.6 TB SAS SSD 528 TO 512 BYTE PROBLEM!

sick1655

New Member
Mar 16, 2021
9
2
3
Hello everyone, Im trying to format my disk from size 528 to 512 but can't succeed. I have not formatted many of my disks before, but I cannot change the size of the disk you see in the picture. here i will write the methods i tried.

the problem i faced : illegal request type sense key apart from invalid opcode
ı have a HP Qlogic QLE2562 - 489191-001 - PCIe 8GB Dual Port FC HBA




Home · ahouston/setblocksize Wiki (I tried, it didn't work)
sg_format --format --size=512 /dev/sg8 ( I tried, it didn't work)
GitHub - Drive-Trust-Alliance/sedutil: DTA sedutil Self encrypting drive software (I tried, it didn't work)

GÖRSEL.jpeg








WhatsApp Image 2022-04-13 at 7.45.01 PM.jpeg
 

Attachments

seang86s

Member
Feb 19, 2013
161
16
18
Thanks for the help. Unfortunately, it's still not working for me:


Code:
    IBM-SSG   IBM-SSGSSNU7P6    E185   peripheral_type: disk [0x0]
      PROTECT=0
      Unit serial number: HSR031B10000822150Z3
      LU name: 5000c500a1844b44
    mode sense(6) cdb: [1a 00 01 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=14548297592 [0x363256778]
  Block size=528 [0x210]
    mode select(10) cdb: [55 11 00 00 00 00 00 00 24 00]
mode select(10):
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 21 bit 7
  Descriptor type: Field replaceable unit code: 0x11
  Descriptor type: Vendor specific [0x80]
    00 00 05 26 00 11 ff ff ff ff ff ff 00 00
Try MODE SELECT again with SP=0 this time
    mode select(10) cdb: [55 10 00 00 00 00 00 00 24 00]
mode select(10):
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 21 bit 7
  Descriptor type: Field replaceable unit code: 0x11
  Descriptor type: Vendor specific [0x80]
    00 00 05 26 00 11 ff ff ff ff ff ff 00 00
MODE SELECT command: Illegal request, type: sense key, apart from Invalid opcode
 

j_h_o

Active Member
Apr 21, 2015
585
142
43
California, US
I'm not having any luck with my drive.

Code:
# ./SeaChest_Lite_x86_64-redhat-linux -d /dev/sg10 --showSupportedFormats
==========================================================================================
 SeaChest_Lite - Seagate drive utilities - NVMe Enabled
 Copyright (c) 2014-2022 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
 SeaChest_Lite Version: 1.5.2-2_4_0 X86_64
 Build Date: Apr  8 2022
 Today: Sun Jun  5 13:14:03 2022        User: root
==========================================================================================

/dev/sg10 - IBM-SSGSSNU7P6 - HSR030N80000822150Z3 - E185 - SCSI

Supported Logical Block Sizes and Protection Types:
---------------------------------------------------
  * - current device format
PI Key:
  Y - protection type supported at specified block size
  N - protection type not supported at specified block size
  ? - unable to determine support for protection type at specified block size
Relative performance key:
  N/A - relative performance not available.
  Best
  Better
  Good
  Degraded
--------------------------------------------------------------------------------
 Logical Block Size  PI-0  PI-1  PI-2  PI-3  Relative Performance  Metadata Size
--------------------------------------------------------------------------------
                512     Y     N     N     N                   N/A            N/A
                520     Y     N     N     N                   N/A            N/A
*               528     Y     N     N     N                   N/A            N/A
--------------------------------------------------------------------------------
NOTE: Device is not capable of showing all sizes it supports. Only common
      sizes are listed. Please consult the product manual for all supported
      combinations.
Code:
# ./SeaChest_Lite_x86_64-redhat-linux -d /dev/sg10 --setSectorSize 512 --confirm this-will-erase-data
==========================================================================================
 SeaChest_Lite - Seagate drive utilities - NVMe Enabled
 Copyright (c) 2014-2022 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
 SeaChest_Lite Version: 1.5.2-2_4_0 X86_64
 Build Date: Apr  8 2022
 Today: Sun Jun  5 13:12:12 2022        User: root
==========================================================================================

/dev/sg10 - IBM-SSGSSNU7P6 - HSR030N80000822150Z3 - E185 - SCSI
Set Sector Size to 512

WARNING: It is not recommended to do this on USB enclosures as not
         all USB adapters can handle a 4k sector size.
WARNING (SATA): Do not interrupt this operation once it has started or
         it may cause the drive to become unusable. Stop all possible background
         activity that would attempt to communicate with the device while this
         operation is in progress
Press CTRL-C to cancel this operation before the timer runs out.
  0
Setting sector size not supported on this device
For SCSI Drives, try a format unit operation
Code:
# ./SeaChest_Format_x86_64-linux-gnu -d /dev/sg10 --formatUnit 512 --confirm this-will-erase-data
==========================================================================================
 SeaChest_Format - Seagate drive utilities - NVMe Enabled
 Copyright (c) 2014-2021 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
 SeaChest_Format Version: 2.3.1-2_2_1 X86_64
 Build Date: Apr 27 2021
 Today: Sun Jun  5 13:18:57 2022        User: root
==========================================================================================

/dev/sg10 - IBM-SSGSSNU7P6 - HSR030N80000822150Z3 - SCSI
Format Unit
Format Unit Failed!
Code:
# sg_format --format --size=512 /dev/sg10 -v
    IBM-SSG   IBM-SSGSSNU7P6    E185   peripheral_type: disk [0x0]
      PROTECT=0
      Unit serial number: HSR030N80000822150Z3
      LU name: 5000c500a1844778
    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=14548297592 [0x363256778]
  Block size=528 [0x210]
    mode select(10) cdb: [55 11 00 00 00 00 00 00 24 00]
mode select(10):
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 21 bit 7
  Descriptor type: Field replaceable unit code: 0x11
  Descriptor type: Vendor specific [0x80]
    00 00 05 26 00 11 ff ff ff ff ff ff 00 00
Try MODE SELECT again with SP=0 this time
    mode select(10) cdb: [55 10 00 00 00 00 00 00 24 00]
mode select(10):
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 21 bit 7
  Descriptor type: Field replaceable unit code: 0x11
  Descriptor type: Vendor specific [0x80]
    00 00 05 26 00 11 ff ff ff ff ff ff 00 00
MODE SELECT command: Illegal request, type: sense key, apart from Invalid opcode
Code:
# sg_format --format --size=512 --six /dev/sg10 -v
    IBM-SSG   IBM-SSGSSNU7P6    E185   peripheral_type: disk [0x0]
      PROTECT=0
      Unit serial number: HSR030N80000822150Z3
      LU name: 5000c500a1844778
    mode sense(6) cdb: [1a 00 01 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=14548297592 [0x363256778]
  Block size=528 [0x210]
    mode select(10) cdb: [55 11 00 00 00 00 00 00 24 00]
mode select(10):
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 21 bit 7
  Descriptor type: Field replaceable unit code: 0x11
  Descriptor type: Vendor specific [0x80]
    00 00 05 26 00 11 ff ff ff ff ff ff 00 00
Try MODE SELECT again with SP=0 this time
    mode select(10) cdb: [55 10 00 00 00 00 00 00 24 00]
mode select(10):
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 21 bit 7
  Descriptor type: Field replaceable unit code: 0x11
  Descriptor type: Vendor specific [0x80]
    00 00 05 26 00 11 ff ff ff ff ff ff 00 00
MODE SELECT command: Illegal request, type: sense key, apart from Invalid opcode
 

alsenior

Member Member
Apr 19, 2016
30
8
8
Are you attempting this via FC? What happens if you attach it directly to a SAS controller? Its shouldn't make any difference but worth a try.
 

j_h_o

Active Member
Apr 21, 2015
585
142
43
California, US
Yes, mine is an actual HBA in IT mode. LSI3008.

I believe I am aware of the requirements to do this conversion; I've done this successfully in the past, but it is not working with these Seagate/IBM SSDs.
 

PithyChats

Active Member
Feb 3, 2015
167
82
28
Yes, mine is an actual HBA in IT mode. LSI3008.

I believe I am aware of the requirements to do this conversion; I've done this successfully in the past, but it is not working with these Seagate/IBM SSDs.
Have you tried seachest with
--fastFormat 1 --formatUnit 512 --confirm I-understand-this-command-will-erase-all-data-on-the-drive


per

 

j_h_o

Active Member
Apr 21, 2015
585
142
43
California, US
Code:
# ./SeaChest_Format_x86_64-linux-gnu -d /dev/sg10 --fastFormat 1 --formatUnit 512 --confirm this-will-erase-data
==========================================================================================
 SeaChest_Format - Seagate drive utilities - NVMe Enabled
 Copyright (c) 2014-2021 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
 SeaChest_Format Version: 2.3.1-2_2_1 X86_64
 Build Date: Apr 27 2021
 Today: Mon Jun  6 18:17:15 2022        User: root
==========================================================================================

/dev/sg10 - IBM-SSGSSNU7P6 - HSR030N80000822150Z3 - SCSI
Format Unit
Format Unit Failed!
 

j_h_o

Active Member
Apr 21, 2015
585
142
43
California, US
Code:
# ./setblocksize -b512 /dev/sg10

setblocksize V0.2

Checking parameters ...
   Blocksize specified.
   Done.
New blocksize: 512 Bytes
Format timeout: 800 minutes
Open device file ...
   Done.
Prepare command ...
   Done.
Send INQUIRY command ...
   Done.
Check status ...
   Command successful.
Check for LUN ...
   LUN present.

===============================================================================
SCSI ID     : 8
LUN         : 0
Connected to: Host0 / Channel0
Manufacturer: IBM-SSG
Model       : IBM-SSGSSNU7P6
Device type : Disk
===============================================================================
Do you really want to reformat this device [y/n]? y

Prepare command ...
   Done.
Send MODE SELECT command ...
   Done.
Check status ...
   Error: Check Condition
[valid=0] Info fld=0x0, ILI Invalid sense key: Unit Attention
Raw sense data (in hex):
  72 05 26 00 00 00 00 1c 02 06 00 00 8f 00 09 00
   plus...: Driver_status=0x08 (DRIVER_SENSE,SUGGEST_OK)
   Command NOT succesful!
 

broadband

New Member
Dec 24, 2020
5
1
3
The SSD says (W) MFG CTRL #... it's mean locked by Manufacture (IBM), I have these SSD 1,6TB with 528 (pulled form Storage) cannot formatted too...
 

yemencit

New Member
Jun 17, 2022
24
0
1
Hello everyone, Im trying to format my disk from size 528 to 512 but can't succeed. I have not formatted many of my disks before, but I cannot change the size of the disk you see in the picture. here i will write the methods i tried.

the problem i faced : illegal request type sense key apart from invalid opcode
ı have a HP Qlogic QLE2562 - 489191-001 - PCIe 8GB Dual Port FC HBA




Home · ahouston/setblocksize Wiki (I tried, it didn't work)
sg_format --format --size=512 /dev/sg8 ( I tried, it didn't work)
GitHub - Drive-Trust-Alliance/sedutil: DTA sedutil Self encrypting drive software (I tried, it didn't work)

View attachment 22486








View attachment 22481
Have you resolve problem
 

yemencit

New Member
Jun 17, 2022
24
0
1
The SSD says (W) MFG CTRL #... it's mean locked by Manufacture (IBM), I have these SSD 1,6TB with 528 (pulled form Storage) cannot formatted too...
How can unlocked this hard disk from ibm the firmware update can help to unlocked