[SOLVED] Help with a SAS Drive


Recommended Posts

I am hoping i can get some help.  i have purchased 2 SAS drives to put into my unraid server.  they are :

 

HGST 1.8TB 2.5" SAS drive, 10K RPM 12Gb/s HDD , HUC101818CS420

 

in order to get them to connect i used some adapters:

 

SAS 22 Pin to SATA 22Pin 7+15 Hard Disk Drive Raid Adapter with 15Pin Power Port

 

the SAS Card i am using is as below and flashed to IT mode 

 

LSI SAS2308-8i(9217-8i) 6Gbps 8Ports HBA

 

I think i have a compatibility issue somewhere maybe?? but that's where i need help.  my symptoms are.

 

The drives are seen by the HBA Card. and on the main page in the Unraid dashboard

 

image.png.c55146e1169a76a3d73236eb64db69e9.png

 

the preclear plugin even sees them :

 

image.thumb.png.3763ed16938fa5a1b5251050248d250f.png

 

here was my first issue, preclear cant read them.

 

image.thumb.png.f08481375b9beba6e606ede1959f2d51.png

 

if i go to the main screen on the unraid dashboard they are not visible :

 

image.thumb.png.8ad5fbaab12f8f879f15f13a51f74f7c.png

 

however when i go to tools and system devices i can see them

 

image.png.6beac7871efced1820bc42677b926e7e.png

 

where am i going wrong i think maybe im using the wrong adapter? some guidance would be great

jarvis-diagnostics-20210701-1020.zip

Edited by SohailS
Link to comment
2 hours ago, JorgeB said:

Forgot I saved this link

 

https://forums.unraid.net/topic/93432-parity-disk-read-errors/?do=findComment&comment=864067

 

sg3_utils can be installed with the nerd pack plugin.

Thanks I have been searching for this but it doesn't work

 

Format unit command: Data protect
FORMAT UNIT failed

 

this is the information from the disk

 

 smartctl -i /dev/sde
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.10.28-Unraid] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HGST
Product:              HUC101818CS4205
Revision:             NE02
Compliance:           SPC-4
User Capacity:        1,800,360,124,416 bytes [1.80 TB]
Logical block size:   512 bytes
Physical block size:  4096 bytes
Formatted with type 2 protection
8 bytes of protection information per logical block
LU is fully provisioned
Rotation Rate:        10520 rpm
Form Factor:          2.5 inches
Logical Unit id:      0x5000cca02c3798f0
Serial number:        08GZKW4A
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Thu Jul  1 13:31:40 2021 BST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

 

 

Link to comment
19 minutes ago, SohailS said:

Thanks for this but again it doesn't work.  the issue is that i have a SED drive.  its a pain and im looking for a way to turn the encryption off as nothing lets me format it

Ok I thought that was the thread where we had the solution, but its this one I think. You need to use seatools

 

 

Link to comment

finally figured this one out in case it helps anyone.

 

the issue I was have was that the disk would not format due to the protection so I needed to disable it.  there is a PSID printed on the disk.  i used this to reset the disk, by usng the below command where <PSIDNODASHS> is the PSID on the disk and device> is the device

 

sedutil-cli --PSIDrevertAdminSP <PSIDNODASHS> /dev/<device>

 

I was then able to run the format command and Type 2 Protection was now removed.

 

Hopefully this will help someone

 

Thanks everyone for helping

Edited by SohailS
  • Like 2
Link to comment
  • JorgeB changed the title to [SOLVED] Help with a SAS Drive
  • 11 months later...
  • 1 year later...
On 7/3/2021 at 7:15 PM, SohailS said:

finally figured this one out in case it helps anyone.

 

the issue I was have was that the disk would not format due to the protection so I needed to disable it.  there is a PSID printed on the disk.  i used this to reset the disk, by usng the below command where <PSIDNODASHS> is the PSID on the disk and device> is the device

 

sedutil-cli --PSIDrevertAdminSP <PSIDNODASHS> /dev/<device>

 

I was then able to run the format command and Type 2 Protection was now removed.

 

Hopefully this will help someone

 

Thanks everyone for helping

Hi, I'm in a similar boat where I need to unlock Type 2 protected disk. Could you please let me know how to install the sedutil-cli in Unraid? Thanks

Link to comment
6 hours ago, sfaruque said:

Hi, I'm in a similar boat where I need to unlock Type 2 protected disk. Could you please let me know how to install the sedutil-cli in Unraid? Thanks

 

Login to unraid cli

 

wget https://github.com/ChubbyAnt/sedutil/releases/download/1.15-5ad84d8/sedutil-cli-1.15-5ad84d8.zip
unzip sedutil-cli-1.15-5ad84d8.zip
chmod +x sedutil-cli

 

Then use whatever parameters you need to run

 

./sedutil-cli XXXXXXXXXX

 

Link to comment
9 hours ago, jmztaylor said:

 

Login to unraid cli

 

wget https://github.com/ChubbyAnt/sedutil/releases/download/1.15-5ad84d8/sedutil-cli-1.15-5ad84d8.zip
unzip sedutil-cli-1.15-5ad84d8.zip
chmod +x sedutil-cli

 

Then use whatever parameters you need to run

 

./sedutil-cli XXXXXXXXXX

 

Thank you @jmztaylor. I've install it and run the command --scan. It says 'The Kernel flag libata.allow_tpm is not set correctly'. Any idea how this is done? I'm looking for the readme but nothing like that downloaded with the sedutil-cli wget.

Link to comment
14 hours ago, sfaruque said:

Thank you @jmztaylor. I've install it and run the command --scan. It says 'The Kernel flag libata.allow_tpm is not set correctly'. Any idea how this is done? I'm looking for the readme but nothing like that downloaded with the sedutil-cli wget.

 

I have never used the utility before so I can't help with that.  But the repo should have plenty of details

 

https://github.com/ChubbyAnt/sedutil/

 

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.