Jump to content

SAS Drive 520 sector size


Recommended Posts

Hi i just got a  lsi 9271-8i and i tryed everything to get it to format 512 bytes, and i cant get i to se drives in SG_scan so cant format, tryed to flash the controller to 2308 IT mode, cuz i read somewhere some ppl do that, but i failed, i am giving up on my projekt and trashing 12 3TB sas 520bytes drives soon..

writing here in hopes there are someone who can point me in a diriction of a controller that is sure to be able to format the drives.. 

will this work ?  https://www.ebay.de/itm/Fujitsu-Raid-Controller-D2507-C11-GS-1-SAS-SATA-PCIe-D2507-C11-LSI-SAS-1068E/251981232440?epid=2254415229&hash=item3aab407938:g:w-MAAOSwNSxVbdrT

 

hope there is someone out there who can help.. 
 

do we have a list of confirmed controllers that can do the 520 to 512 format ? ?

Link to comment
  • 3 weeks later...

I am having some issues using this command for some reason it appears to stop as soon as it trys to format. 

 

root@PlexServer:~# sg_format --format --size=512 -v /dev/sg9
    inquiry cdb: 12 00 00 00 24 00 
    HGST      HUS724040ALS640   A152   peripheral_type: disk [0x0]
      PROTECT=1
      << supports protection information>>
    mode sense (10) cdb: 5a 00 01 00 00 00 00 00 fc 00 
    mode sense (10): pass-through requested 252 bytes but got 28 bytes
Mode Sense (block descriptor) data, prior to changes:
Mode sense number of blocks maxed out, set longlba
    mode sense (10) cdb: 5a 10 01 00 00 00 00 00 fc 00 
    mode sense (10): pass-through requested 252 bytes but got 36 bytes
Mode Sense (block descriptor) data, prior to changes:
  <<< longlba flag set (64 bit lba) >>>
  Number of blocks=7814037168 [0x1d1c0beb0]
  Block size=512 [0x200]

A FORMAT will commence in 10 seconds
    ALL data on /dev/sg9 will be DESTROYED
        Press control-C to abort
A FORMAT will commence in 5 seconds
    ALL data on /dev/sg9 will be DESTROYED
        Press control-C to abort
    format cdb: 04 18 00 00 00 00 
format unit:  Descriptor format, current;  Sense key: Not Ready
 Additional sense: Logical unit not ready, initializing command required
  Descriptor type: Information
   >> descriptor too short
    00 00 00 00 00 00 00 00 00 00 
  Descriptor type: Command specific
    0x0000000000000000
  Descriptor type: Sense key specific: Progress indication: 0.00%
  Descriptor type: Field replaceable unit
    code=0x0
  Descriptor type: Block commands
    Incorrect Length Indicator (ILI) clear
  Descriptor type: VendoFormat command, device not ready

Link to comment
11 hours ago, sota said:

also try: scsi_ready -v /dev/sg9

 

it should come back with:

test unit ready cdb: 00 00 00 00 00 00 
ready

 

If not, the drive isn't playing nice with something, or has other issues.

Thanks for the reply soto. This is what comes back with that command. I even tried the format drive command after that and I get the same message as before. 

 

root@PlexServer:~# scsi_ready -v /dev/sg9
sg_turs -v /dev/sg9
        test unit ready cdb: 00 00 00 00 00 00 
test unit ready:  Descriptor format, current;  Sense key: Not Ready
 Additional sense: Logical unit not ready, initializing command required
  Descriptor type: Information
   >> descriptor too short
    00 00 00 00 00 00 00 00 00 00 
  Descriptor type: Command specific
    0x0000000000000000
  Descriptor type: Sense key specific: Progress indication: 0.00%
  Descriptor type: Field replaceable unit
    code=0x0
  Descriptor type: Block commands
    Incorrect Length Indicator (ILI) clear
  Descriptor type: Vdevice not ready

Link to comment
  • 3 months later...
On 1/30/2020 at 11:58 AM, Jayroller said:

I'm having some problem trying to convert HP SAS drive from 520 to 512 block size using sg_format, Make:HP Model:HMRP4000S

can anyone see where I'm going wrong?


root@Tower:~# sg_format -v --fmtpinfo=0 --format --size=512 /dev/sg3
    HGST      HMRP4000S5xnN7.2  3P00   peripheral_type: disk [0x0]
      PROTECT=1
      << supports protection information>>
      Unit serial number:         PBHR336X
      LU name: 5000cca03b608d44
    mode sense (10) cdb: 5a 00 01 00 00 00 00 00 fc 00 
Mode Sense (block descriptor) data, prior to changes:
Mode sense number of blocks maxed out, set longlba
    mode sense (10) cdb: 5a 10 01 00 00 00 00 00 fc 00 
Mode Sense (block descriptor) data, prior to changes:
  <<< longlba flag set (64 bit lba) >>>
  Number of blocks=7814037168 [0x1d1c0beb0]
  Block size=520 [0x208]
    mode select (10) cdb: 55 11 00 00 00 00 00 00 22 00 
mode select (10): transport: Host_status=0x03 [DID_TIME_OUT]
Driver_status=0x00 [DRIVER_OK]

MODE SELECT command: Sense category: -1
root@Tower:~#

any help would be great.

try this command 

sg_format --format --size=512 -v /dev/sg3

 

Link to comment
On 2/2/2020 at 10:38 PM, MadZoul said:

Hi i just got a  lsi 9271-8i and i tryed everything to get it to format 512 bytes, and i cant get i to se drives in SG_scan so cant format, tryed to flash the controller to 2308 IT mode, cuz i read somewhere some ppl do that, but i failed, i am giving up on my projekt and trashing 12 3TB sas 520bytes drives soon..

writing here in hopes there are someone who can point me in a diriction of a controller that is sure to be able to format the drives.. 

will this work ?  https://www.ebay.de/itm/Fujitsu-Raid-Controller-D2507-C11-GS-1-SAS-SATA-PCIe-D2507-C11-LSI-SAS-1068E/251981232440?epid=2254415229&hash=item3aab407938:g:w-MAAOSwNSxVbdrT

 

hope there is someone out there who can help.. 
 

do we have a list of confirmed controllers that can do the 520 to 512 format ? ?

https://www.ebay.com.au/itm/LSI-6Gbps-SAS-HBA-LSI-9200-8i-9211-8i-IT-Mode-ZFS-FreeNAS-unRAID-AU-seller/143058624384

you cant use RAID cards happily with URAID OS

Edited by SundarNET
info addition
Link to comment
  • 2 years later...
On 1/30/2020 at 11:58 AM, Jayroller said:

I'm having some problem trying to convert HP SAS drive from 520 to 512 block size using sg_format, Make:HP Model:HMRP4000S

can anyone see where I'm going wrong?

root@Tower:~# sg_format -v --fmtpinfo=0 --format --size=512 /dev/sg3
    HGST      HMRP4000S5xnN7.2  3P00   peripheral_type: disk [0x0]
      PROTECT=1
      << supports protection information>>
      Unit serial number:         PBHR336X
      LU name: 5000cca03b608d44
    mode sense (10) cdb: 5a 00 01 00 00 00 00 00 fc 00 
Mode Sense (block descriptor) data, prior to changes:
Mode sense number of blocks maxed out, set longlba
    mode sense (10) cdb: 5a 10 01 00 00 00 00 00 fc 00 
Mode Sense (block descriptor) data, prior to changes:
  <<< longlba flag set (64 bit lba) >>>
  Number of blocks=7814037168 [0x1d1c0beb0]
  Block size=520 [0x208]
    mode select (10) cdb: 55 11 00 00 00 00 00 00 22 00 
mode select (10): transport: Host_status=0x03 [DID_TIME_OUT]
Driver_status=0x00 [DRIVER_OK]

MODE SELECT command: Sense category: -1
root@Tower:~#

any help would be great.

i think i found out this one its obviosly very late but i just got a bunch of drives and they are protected as well 

the new command is : sg_format --format --fmtpinfo=0 --size=512 -v /dev/sgXXXX

Link to comment
8 minutes ago, SundarNET said:

i think i found out this one its obviosly very late but i just got a bunch of drives and they are protected as well 

the new command is : sg_format --format --fmtpinfo=0 --size=512 -v /dev/sgXXXX

and if that doesnt work add --six after size=512

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...