Jump to content
Meph

[6.3.5] SMART test not available (Unavailable - disk must be spun up)

16 posts in this topic Last Reply

Recommended Posts

[b]Description:[/b] 
I tested to spin down my unused disks with the green button on [Main] page and then later I started the disk with the same button (now unlit). 
After this was done I cannot run any SMART self-tests and cannot see the test results on the disk. The following is displayed:
[See attached image].. "Unavailable - disk must be spun up" ..

I have tried the [Spin Up] button too but no difference. Still same problem. 

I have tried a reboot and also power down of the unRAID server but problem is still there (Unavailable - disk must be spun up). 

Is there any way to solve this problem to have the disks available for SMART tests again? 

I can store information on the disks and also access information from them, so they are actually spun up already... 

I can also see SMART information from the disks.. 

 

Here is the disk information for the two disks that has this problem:

 

Device model: MB0500GCEHF
Serial number: Z1M1GLE0
LU WWN device id: 5 000c50 063b3523d
Firmware version: HPGD
User capacity: 500,107,862,016 bytes [500 GB]
Sector size: 512 bytes logical/physical
Rotation rate: 7202 rpm
Form factor: 3.5 inches
Device: Not in smartctl database [for details use: -P showall]
ATA version: ATA8-ACS T13/1699-D revision 6
SATA version: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local time: Wed Dec 6 12:28:50 2017 CET
SMART support: Available - device has SMART capability.
SMART support: Enabled
SMART overall-health: Passed

 

Device model: MB0500GCEHF
Serial number: Z1M1ED1T
LU WWN device id: 5 000c50 0508a9932
Firmware version: HPGD
User capacity: 500,107,862,016 bytes [500 GB]
Sector size: 512 bytes logical/physical
Rotation rate: 7202 rpm
Form factor: 3.5 inches
Device: Not in smartctl database [for details use: -P showall]
ATA version: ATA8-ACS T13/1699-D revision 6
SATA version: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local time: Wed Dec 6 12:30:02 2017 CET
SMART support: Available - device has SMART capability.
SMART support: Enabled
SMART overall-health:

Passed

 

 

 

 

 

spinup1.JPG.3c5b5207fbb782d15f10bf23f0d6ed73.JPG

main.JPG

tower-diagnostics-20171206-1237.zip

Edited by Meph

Share this post


Link to post

Your Main page doesn't look right at all. It is missing all images. Try to start your system in safe mode and see if this makes a difference. If not, post your diagnostics.

 

Share this post


Link to post
Just now, bonienl said:

Your Main page doesn't look right at all. It is missing all images. Try to start your system in safe mode and see if this makes a difference. If not, post your diagnostics.

 

It's a copy/paste of the main page.. hold on, ill make a screenshot and also attach diagnostics.. give me a minute or two ;) 

Share this post


Link to post

When you press the button "Spin Up" it should make the disk active. Does that happen?

 

Share this post


Link to post
2 minutes ago, bonienl said:

When you press the button "Spin Up" it should make the disk active. Does that happen?

 

Nope, that does not work. I have both tried the "Spin Up" button and also the grey button on main page.. The button on the main page goes green but i still see the message "Unavailable - disk must be spun up" and the SMART tests are unavailable... :(

 

 

Share this post


Link to post

What is the output of these commands:

 

hdparm -C /dev/sdb

hdparm -C /dev/sdc

 

Share this post


Link to post

root@Tower:~# hdparm -C /dev/sdb

/dev/sdb:
 drive state is:  idle

 

root@Tower:~# hdparm -C /dev/sdc

/dev/sdc:
 drive state is:  idle

 

Share this post


Link to post

Does the state change after:

 

hdparm -y /dev/sdb

hdparm -y /dev/sdc

 

 

 

Share this post


Link to post
58 minutes ago, bonienl said:

Does the state change after:

 

hdparm -y /dev/sdb

hdparm -y /dev/sdc

 

 

 

Yes it does.

 

Drives changes from idle -> standby when checking with hdparm -C

 

root@Tower:~# hdparm -C /dev/sdb

/dev/sdb:
 drive state is:  standby

 

root@Tower:~# hdparm -C /dev/sdc

/dev/sdc:
 drive state is:  standby
 

But in the web interface of unRAID i cannot see any difference.. Except when i click a disk on mainpage to see the SMART attributes and the "Spin Up" button. The SMART attribues takes 2 seconds to load (probably because the disk have to spin up again)... 

Edited by Meph

Share this post


Link to post

Another thing that is strange.. The other "working disks" (where I can start a SMART self test) they have the status: [active/idle] .. But the two disks that SMART test is unavailable have the status [idle] .... 

 

What is the difference between [active/idle] and [idle]? 

 

[Parity Disk]

root@Tower:~# hdparm -C /dev/sdg

/dev/sdg:
 drive state is:  active/idle

 

[Disk 1]
root@Tower:~# hdparm -C /dev/sde

/dev/sde:
 drive state is:  active/idle

 

[Disk 2]
root@Tower:~# hdparm -C /dev/sdf

/dev/sdf:
 drive state is:  active/idle

 

[Disk 3]
root@Tower:~# hdparm -C /dev/sdd

/dev/sdd:
 drive state is:  active/idle

 

[Disk 4]
root@Tower:~# hdparm -C /dev/sdb

/dev/sdb:
 drive state is:  idle

 

[Disk 5]
root@Tower:~# hdparm -C /dev/sdc

/dev/sdc:
 drive state is:  idle



 

Share this post


Link to post

This is from hdparm documentation:

 

-C : Check the current IDE power mode status, which will always be one of unknown (drive does not support this command), active/idle (normal operation), standby (low power mode, drive has spun down), or sleeping (lowest power mode, drive is completely shut down)

 

The state idle should not occur when a disk is active, according to hdparm. Not sure why this is happening. It does explain why the GUI doesn't work: it is looking for the word "active".

 

Share this post


Link to post

Ok this is strange... Explains why.. BUT.. From the beginning when i installed unRAID i was able to access the SMART test. Because i did ran a test on all disks.. So it has been working but is not working since i used the green button in [Main] window to spin the disks down since they were not going to be used for a while. After i did that the problem started with accessing the SMART buttons... 

 

Share this post


Link to post

Spinning down the array from the Main page can't be the cause for different behavior. I can't explain though.

 

Perhaps try unRAID 6.4 and see if that makes a difference.

 

Share this post


Link to post
18 minutes ago, bonienl said:

Spinning down the array from the Main page can't be the cause for different behavior. I can't explain though.

 

Perhaps try unRAID 6.4 and see if that makes a difference.

 

 

Could it be the version and FW of the hard disks creating this problem maybe? Since the problem is not occurring for the other disks... 

 

Instead of trying a next release on my production stuff i will put in another disk of the same brand and see if that creates the same SMART problem, then i will install unRAID on another server and try the next release there to see if that fixes the issue. It will take me a month to fix this though... :)

 

This issue is not that serious though, but it is annoying.. I can still access the SMART information and that is important to be able to catch errors happening... But i cannot run any SMART self-tests though.. witch might be a problem... 

Share this post


Link to post

Was this ever resolved? I'm seeing the same phenomena, on all my array drives (WD SE 4TBs). 

Clicking "spin up" does spin the disk up, it moves to "standby" (a-la hdparm) and green ball, but the SMART buttons are still greyed out and "Unavailable - disk must be spun up". The one button that's functional is the Download button and it works - downloads a perfectly valid SMART report.

 

Any help would be appreciated.

Share this post


Link to post
Posted (edited)

When looking into this I can see:

> smartctl -x /dev/sdh | grep "^Device State:" | sed "s/^.*: *// ; s/ *(.*//"

Active

Whereas 

> hdparm -C /dev/sdh

/dev/sdh:
 drive state is:  standby

@bonienl - this may shed light onto what's going on. hdparm seems to not report the correct state.

Edited by doron

Share this post


Link to post

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.