Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] Help with a SAS Drive

Featured Replies

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

Solved by SohailS

  • Community Expert

Please post the diagnostics: Tools -> Diagnostics

  • Author
10 minutes ago, JorgeB said:

Please post the diagnostics: Tools -> Diagnostics

File attached now.  thanks

Edited by SohailS

  • Community Expert
Formatted with type 2 protection

Disks are formatted with type2 protection, if you Google that you'll find how to remove it. 

  • Author
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

 

 

  • Community Expert
4 minutes ago, SohailS said:

FORMAT UNIT failed

Sorry, can't really help with that, try Google, but until protection is removed devices won't work.

  • Author
17 hours ago, SimonF said:

Have a look here.

 

 

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

  • Community Expert
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

 

 

  • Author
  • Solution

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

  • JorgeB changed the title to [SOLVED] Help with a SAS Drive
  • 11 months later...

How did you get sedutil-cli to run on Unraid? 

 

 

Figured it out. Waiting for successful sg_formats before I share just in case I'm incorrect. 

Edited by Ozbarge

  • 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

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

 

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.

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/

 

  • 8 months later...
  • Community Expert

I'm dealing with a very similar situation.  sedutil reports the same kernel flag error.  @jmztaylor, how did you manage to complete that?

 

Thanks for your time.

 

  • 8 months later...
On 9/19/2023 at 5:10 PM, 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

 


I've followed this method to install sedutil but when i got to use it i get a command not found.

Not massively familair with linux and not sure whats wrong.

Edited by Joeh

On 1/30/2025 at 12:48 PM, Joeh said:


I've followed this method to install sedutil but when i got to use it i get a command not found.

Not massively familair with linux and not sure whats wrong.

 

After doing those steps, run the following command and attach a screenshot.
 

ls -la

 

image.png.2b5c337e0b07500644d7f26bedd450a9.png

On 2/1/2025 at 2:49 AM, jmztaylor said:

 

After doing those steps, run the following command and attach a screenshot.
 

ls -la

 


Done

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.