Formating SAS drives (Bad Drives?)

I think I may possible have bad SAS drives. They spin up on boot, but when I try to format them to 512 using the instructions from the youtube video (JDM_WAAAT) I receive the error below.

First my setup:

  • Supermicro X8SIL-F, Version 1.1
  • Intel® Xeon® CPU X3450 @ 2.67GHz
  • 16 GiB DDR3 Single-bit ECC
  • LSI SAS9201-8i
  • (5) Hitachi 3TB 7.2K SAS 3.5 **H7230AS60SUN3.0T
  • Corsair CX450
  • SFF-8087 to 4 SFF-8482

Error:

ubuntu@ubuntu:~$ sudo sg_format --format --size=512 --fmtpinfo=0 /dev/sdb -v

    HITACHI   H7230AS60SUN3.0T  A310   peripheral_type: disk [0x0]

      PROTECT=1

      << supports protection information>>

      Unit serial number: (edited)

      LU name: 5000cca03e4aafb0

    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=5860533168 [0x15d50a3b0]

  Block size=512 [0x200]

 

A FORMAT UNIT will commence in 15 seconds

    ALL data on /dev/sdb will be DESTROYED

        Press control-C to abort

 

A FORMAT UNIT will commence in 10 seconds

    ALL data on /dev/sdb will be DESTROYED

        Press control-C to abort

 

A FORMAT UNIT will commence in 5 seconds

    ALL data on /dev/sdb will be DESTROYED

        Press control-C to abort

    format unit 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: 0x3

  Descriptor type: Block commands: Incorrect Length Indicator (ILI) clear

  Descriptor type: Vendor specific [0x80]

    f5Format unit command: Not ready sense key

FORMAT UNIT failed

Things I’ve Tried:

root@Tower:~# sg_start /dev/sdb
start stop unit:
Descriptor format, current; Sense key: Hardware Error
Additional sense: Internal target failure
  Descriptor type: Information: Valid=0 (-> vendor specific) 0x0000000000000000
  Descriptor type: Command specific: 0x0000000000000000
  Descriptor type: Sense key specific: Actual retry count: 0
  Descriptor type: Field replaceable unit code: 0x6
  Descriptor type: Block commands: Incorrect Length Indicator (ILI) clear
  Descriptor type: Vendor specific [0x80]
    f4 06 
  Descriptor type: Vendor specific [0x8Medium or hardware error
START STOP UNIT command failed
sg_start failed: Medium or hardware error



root@Tower:~# sg_turs -v /dev/sdb
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: 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 
  Descripdevice not ready

This happened with each drive. I bought all 5 drives from a lot on ebay. I’m very new to SAS and servers in general. I’ve searched online, but I have not found anything (probably because I’m unsure what to search for). Any tips on testing the drives or if I may be missing something would be greatly appreciated. Thanks!

have you tried the --six flag with your format command?

I have and unfortunately the output was the same. I ran it again to paste:

root@Tower:~# sg_format --format --size=512 --six -v /dev/sg1
HITACHI H7230AS60SUN3.0T A310 peripheral_type: disk [0x0]
PROTECT=1
<< supports protection information>>
Unit serial number:
LU name: 5000cca03e451150
mode sense(6) cdb: 1a 00 01 00 fc 00
Mode Sense (block descriptor) data, prior to changes:
block count maxed out, set <>
mode sense(10) cdb: 5a 10 01 00 00 00 00 00 fc 00
<<< longlba flag set (64 bit lba) >>>
Number of blocks=5860533168 [0x15d50a3b0]
Block size=512 [0x200]

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

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

A FORMAT UNIT will commence in 5 seconds
ALL data on /dev/sg1 will be DESTROYED
Press control-C to abort
Format unit 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: 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
DescripFormat unit command: Device not ready, type: sense key
FORMAT UNIT failed

I also removed everything and reassembled with different cables. No luck.

Is your controller in IT mode?

This is what my LSI Bios looks like. Under the adapter it’s washed out, but it says SAS9201-8i.

I have also tried using a different PCI slot. Would there be anything in the motherboard bios I would need to check?

You should definitely upgrade that to P20 before trying anything further.

Update:

I updated the bios to P20. Before, I was only using 4 drives at a time because I was using 1 sas cable to the LSI card. I decided to try only one drive (the one I havn’t tried yet) and booted into unraid. It immediately saw the drive and I was even able to select it as my parody without formatting. I rebooted and split the hard drives between the two sas cables and I again was able to see the one hard drive. I tried formatting the other drives, but received the same issues as before. Could this mean the other 4 drives are bad or maybe the one drive that works has already been formatted to 512?