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.

Preclear error (Smartctl: Device Read Identity Failed (not an ATA/ATAPI device).

Featured Replies

Ok, I have 8x3TB ST3000DM001 seagate, to be used for my array/storage.  preclearing went smooth and fine with all those.

 

and i have 1x256GB Corsair SSD, which is connected via the onboard SATA.

 

when i tried to preclear the SSD drive, i got the following error

 

 Pre-Clear unRAID Disk /dev/sda
################################################################## 1.13
terminate called after throwing an instance of 'int'

smartctl may not be able to run on /dev/sda with the -d ata option.
however this should not affect the clearing of a disk.
smartctl exit status = 6
smartctl 5.40 2010-10-16 r3189 [i486-slackware-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.$

 

I used the following command

 

./preclear_disk.sh -M 4 /dev/sda

 

Any idea or suggestions?

Yes,

 

1. No need to use preclear_disk.sh on an SSD.

2. Use the -D option, otherwise it will try to access it as an ATA device.

 

There is something else going on though, since this line is most unusual:

terminate called after throwing an instance of 'int'

 

What happens when you attempt to run

smartctl -a /dev/sda

  • 3 months later...

Yes,

 

1. No need to use preclear_disk.sh on an SSD.

2. Use the -D option, otherwise it will try to access it as an ATA device.

 

There is something else going on though, since this line is most unusual:

terminate called after throwing an instance of 'int'

 

What happens when you attempt to run

smartctl -a /dev/sda

 

I bought an intel 120GB SSD and it somehow went bad.  The BIOS didn't even recognize it.  I returned it and got a new one. 

The new is now precleared.  The results (attached) didn't look like my other SATAs and not wanting to screw this one up, I searched the forum and found this post. 

If I precleared my SSD but didn't have to does this change the function of the drive?  How can I fix it so the server doesn't see it as a ATA drive?  What would the command line look like?

intel120gbSSDprecleared.txt

Yes,

 

1. No need to use preclear_disk.sh on an SSD.

2. Use the -D option, otherwise it will try to access it as an ATA device.

 

There is something else going on though, since this line is most unusual:

terminate called after throwing an instance of 'int'

 

What happens when you attempt to run

smartctl -a /dev/sda

 

I bought an intel 120GB SSD and it somehow went bad.  The BIOS didn't even recognize it.  I returned it and got a new one. 

The new is now precleared.  The results (attached) didn't look like my other SATAs and not wanting to screw this one up, I searched the forum and found this post. 

If I precleared my SSD but didn't have to does this change the function of the drive?  How can I fix it so the server doesn't see it as a ATA drive?  What would the command line look like?

First, unless you are specifically trying to burn in the SSD, the whole concept of pre-clearing it is not needed.  All you are doing is wearing it out.

 

Other than that, the drive is detected by the BIOS as whatever it presents itself.  If your have the SATA port in a IDE emulation mode, it will show as /dev/hdX

If detected as an SATA drive, it will be /dev/sdX.  Nothing says "smartctl" will work with it.  That is manufacturer dependent.  Much of the tests done by the SMART firmware have no equivalent in an SSD.

 

Joe L.

Joe thanks for the reply.  Please dumb it down a bit.  I don't understand your answer.

I am using the SSD as a Cache drive. I have precleared it already.  besides wearing down the SSD will it still work as the cache drive?

Joe thanks for the reply.  Please dumb it down a bit.  I don't understand your answer.

I am using the SSD as a Cache drive. I have precleared it already.  besides wearing down the SSD will it still work as the cache drive?

Yes, it will work as the cache drive.

 

What did you not understand?

  is it showing as /dev/sdX or /dev/hdX?

 

If hdX, you have it configured in your BIOS to emulate an IDE drive.

 

No it registered as sdf. it's good in the settings

 

I had a 250GB SATA 5400RPM drive in as my cache and it took a 1.5GB file to copy over in less than 5 min.  With the SSD it's taking over 8 min.  I thought the SSD would speed it up?

No it registered as sdf. it's good in the settings

 

I had a 250GB SATA 5400RPM drive in as my cache and it took a 1.5GB file to copy over in less than 5 min.  With the SSD it's taking over 8 min.  I thought the SSD would speed it up?

Only if the disk drive was the bottleneck.  Sounds like it was not.

 

Look to the network for your bottleneck, not the cache drive.  Are you sure you everything involved is gigabit LAN speed?  You are describing 100 Mb/speeds.

Archived

This topic is now archived and is closed to further replies.

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.