Cannot spin drives down


Recommended Posts

I've noticed recently that all of my drives are *always* spun up.  

I can't seem to find a setting that prevents them from shutting down.  

 

Making matters worse, when I manually try and spin them down, they stay spun up.  No obvious errors in the log.  (So I literally cannot spin them down by any means).

 

Any thoughts?  Any more information or logs that I need to upload?

 

Link to comment
Just now, JorgeB said:

Nothing obvious, to confirm there's nothing external accessing the disks start the array in maintenance mode and see if they stay down.

 

I'll give that a try and post the results. 

I'm not sure when this started, but it had to be fairly recently.  (I'd have noticed at some point).  Not the end of the world, but my drives have plenty of hours on them, would prefer to make them last a bit longer, and save a bit of power.  (It's one of the main points of Unraid, right?)

 

Just odd that I can't even manually spin any of them down.  

 

... more soon.

Link to comment

I did find this in the log, whenever I do a spin down:

What is the read SMART after each spin down attempt?  

 

Mar 23 13:37:28 Elsa  emhttpd: spinning down /dev/sdf

Mar 23 13:37:32 Elsa  emhttpd: read SMART /dev/sdf

Mar 23 13:37:36 Elsa  emhttpd: spinning down /dev/sdj

Mar 23 13:37:39 Elsa  emhttpd: read SMART /dev/sdj

Mar 23 13:37:41 Elsa  emhttpd: spinning down /dev/sdi

Mar 23 13:37:41 Elsa  emhttpd: spinning down /dev/sdh

Mar 23 13:37:42 Elsa  emhttpd: read SMART /dev/sdh

Mar 23 13:37:44 Elsa  emhttpd: read SMART /dev/sdi

Mar 23 13:37:49 Elsa  emhttpd: spinning down /dev/sdg

Mar 23 13:37:50 Elsa  emhttpd: read SMART /dev/sdg

Mar 23 13:37:53 Elsa  emhttpd: spinning down /dev/sdf

Mar 23 13:37:54 Elsa  emhttpd: read SMART /dev/sdf

Mar 23 13:37:56 Elsa  emhttpd: spinning down /dev/sdd

Mar 23 13:37:59 Elsa  emhttpd: spinning down /dev/sdc

Mar 23 13:38:01 Elsa  emhttpd: read SMART /dev/sdd

Mar 23 13:38:01 Elsa  emhttpd: read SMART /dev/sdc

Mar 23 13:38:22 Elsa  emhttpd: spinning down /dev/sdf

Mar 23 13:38:26 Elsa  emhttpd: read SMART /dev/sdf

Mar 23 13:38:31 Elsa  emhttpd: spinning down /dev/sdh

Mar 23 13:38:32 Elsa  emhttpd: read SMART /dev/sdh

Mar 23 13:38:39 Elsa  emhttpd: spinning down /dev/sdi

Mar 23 13:38:40 Elsa  emhttpd: read SMART /dev/sdi

Link to comment
On 3/24/2023 at 4:31 AM, JorgeB said:

Actually after my last post I tried that and for some reason drives don't stay spun down in maintenance mode, instead boot in safe mode, disable VM and docker services and try again after that.

OK, I shut down all VMs (Normally not running anyway).  I shut down ALL dockers.  Same issue.  

What else can I shut down?  

 

Link to comment
8 hours ago, Ellis34771 said:

Oh, even more interesting.  If I stop the docker SERVICE, I can spin the drives down.   But if I start the service (even with zero (0) dockers running, ALL the drives spin up again.  

 

This is beyond weird.

 

Where is the location of your dockers, can you look at the system share to see where dockers images are located? Do you have turbo writes enabled?

Edited by SimonF
Link to comment

I notice that the ‘appdata’ share has files all over the array drives despite it being set to Use Cache=Only.   With that setting mover will ignore the files on the array - you need Prefer (with Docker service disabled when running mover) to get them onto the cache.   If any still do not move they may be duplicates of files already on the cache as mover will also not move duplicates - they need deleting manually.   Whether that is a cause of your issue I have no idea but it makes sense to tidy that up anyway.

Link to comment
8 hours ago, SimonF said:

Where is the location of your dockers, can you look at the system share to see where dockers images are located? Do you have turbo writes enabled?

 

The docker image is located at /mnt/disk1/docker.img

I can probably move it to the cache drive.  But that's still just a single disk.

Turbo writes are in fact enabled.

 

Link to comment
7 hours ago, itimpi said:

I notice that the ‘appdata’ share has files all over the array drives despite it being set to Use Cache=Only.   With that setting mover will ignore the files on the array - you need Prefer (with Docker service disabled when running mover) to get them onto the cache.   If any still do not move they may be duplicates of files already on the cache as mover will also not move duplicates - they need deleting manually.   Whether that is a cause of your issue I have no idea but it makes sense to tidy that up anyway.

Yeah, that's been bugging me for a while.  I'm not sure how they got that way, and mover doesn't touch them.  That's on my list of things to look at.  It appears that *most* of the appdata stuff is old and long since deprecated, but I want to take a methodical approach to deleting it so I don't accidentally shoot myself in the foot.

 

Good catch though, I appreciate it.

 

I'm going to resolve this.  It's become a quest at this point. 

 

Link to comment

I think I may have solved this.  

 

I had the spin down time at 2 hours.  My Time Machine backup on my work MBP was hourly.  I've lowered the spin down time to 15 minutes.  It seems OK for the moment.  (I also cleaned up the AppData mess).  Also: Turned turbo-writes off for the moment.  I may turn that back on, but I'm doing this one step at a time.


Currently my doctor is on disk1, and my thinking at the time was then it is backed up on the parity disk.  Wondering if I should move that to the cache disk and Implement a separate backup for that?  (Any thoughts?)

 

Thank you all !!

Link to comment
49 minutes ago, JonathanM said:

Parity is NOT a backup.

Agreed, and a poor choice of words on my part.  

 

What I mean is that the parity makes it a lot easier to replace if the single drive goes down.  (Rebuild).  I have other backup solutions in place for critical data.  (Including an older QNAP server that mirrors many critical files thru RSYNC).  

 

  • Like 1
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.