Jump to content
Squid

[Plugin] CA Auto Turbo Write Mode

85 posts in this topic Last Reply

Recommended Posts

I too love this plugin, get consistent writes of 90MB/s straight to the array, nice!

Sent from my SM-G935F using Tapatalk

Share this post


Link to post

This has never worked for me. I have 20 disks and it always says 16 are spun down even though I have them all spun up. If I manually enable turbo write, it'll disable it because it thinks too many drives are spun down.image.png.6e04dd87a19cd5d04d689115307cf4e3.png

image.png.a15ca889c5a64a7078214cabc584aa9c.png

Edited by tyrindor

Share this post


Link to post

Looks like your log message might have a line feed causing a blank line in the syslog:

Dec  6 05:15:38 MediaServer kernel: mdcmd (167): set md_write_method 0
Dec  6 05:15:38 MediaServer kernel: 

Not a big issue, but adds to the log.  Could you also change the message to 'set turbo write enable/disable' rather than 'set md_write_method 0/1'?

Share this post


Link to post
Looks like your log message might have a line feed causing a blank line in the syslog:
Dec  6 05:15:38 MediaServer kernel: mdcmd (167): set md_write_method 0Dec  6 05:15:38 MediaServer kernel: 

Not a big issue, but adds to the log.  Could you also change the message to 'set turbo write enable/disable' rather than 'set md_write_method 0/1'?

That message and the blank line is logged by the md driver, not the plugin

Sent via telekinesis

  • Upvote 1

Share this post


Link to post
This has never worked for me. I have 20 disks and it always says 16 are spun down even though I have them all spun up. If I manually enable turbo write, it'll disable it because it thinks too many drives are spun down.image.png.6e04dd87a19cd5d04d689115307cf4e3.png
image.png.a15ca889c5a64a7078214cabc584aa9c.png
Enable debug logging and then post diagnostics

Sent via telekinesis

Share this post


Link to post
4 hours ago, Squid said:

That message and the blank line is logged by the md driver, not the plugin

Sent via telekinesis
 

Ok.  I'll post a bug report.

Share this post


Link to post
1 hour ago, dlandon said:

Ok.  I'll post a bug report.

b9d5326a1bdfc890a19095586c759918--i-can-relate-totally-me.jpg.2978c1c0070eacb931a49b034fa48081.jpg

Share this post


Link to post

Hi,

 

I have a similar issue: 4 drives shown as spun down even though the MAIN tab has them spun up.

image.png.d01f5c2f8183a5c9f1b7783dd861cd7b.pngimage.png.e5164684f84f917eac64ee25e9eb4333.png

 

I enabled debug logging and shortened the polling time. I also issued the spin up command to no avail.

Quote

Dec 6 16:07:28 atlas root: Starting Auto Turbo
Dec 6 16:07:28 atlas root: #012/dev/sdb:#012 drive state is: standby
Dec 6 16:07:28 atlas root: #012/dev/sdc:#012 drive state is: standby
Dec 6 16:07:28 atlas root: #012/dev/sde:#012 drive state is: standby
Dec 6 16:07:28 atlas root: #012/dev/sdf:#012 drive state is: standby
Dec 6 16:07:28 atlas root: Total Spundown: 4
Dec 6 16:07:28 atlas root: Entering Normal Mode
Dec 6 16:07:28 atlas kernel: mdcmd (197): set md_write_method 0
Dec 6 16:07:28 atlas kernel: 
Dec 6 16:07:48 atlas root: #012/dev/sdb:#012 drive state is: standby
Dec 6 16:07:48 atlas root: #012/dev/sdc:#012 drive state is: standby
Dec 6 16:07:48 atlas root: #012/dev/sde:#012 drive state is: standby
Dec 6 16:07:48 atlas root: #012/dev/sdf:#012 drive state is: standby
Dec 6 16:07:48 atlas root: Total Spundown: 4
Dec 6 16:07:49 atlas emhttpd: req (37): cmdSpinupAll=true&startState=STARTED&csrf_token=****************
Dec 6 16:07:49 atlas emhttpd: Spinning up all drives...
Dec 6 16:07:49 atlas emhttpd: shcmd (286): /usr/sbin/hdparm -S0 /dev/sdg
Dec 6 16:07:49 atlas kernel: mdcmd (198): spinup 0
Dec 6 16:07:49 atlas kernel: mdcmd (199): spinup 1
Dec 6 16:07:49 atlas kernel: mdcmd (200): spinup 2
Dec 6 16:07:49 atlas kernel: mdcmd (201): spinup 5
Dec 6 16:07:49 atlas kernel: mdcmd (202): spinup 6
Dec 6 16:07:49 atlas root: 
Dec 6 16:07:49 atlas root: /dev/sdg:
Dec 6 16:07:49 atlas root: setting standby to 0 (off)
Dec 6 16:07:49 atlas emhttpd: shcmd (287): /usr/sbin/hdparm -S0 /dev/sdh
Dec 6 16:07:49 atlas root: 
Dec 6 16:07:49 atlas root: /dev/sdh:
Dec 6 16:07:49 atlas root: setting standby to 0 (off)
Dec 6 16:08:08 atlas root: #012/dev/sdb:#012 drive state is: standby
Dec 6 16:08:08 atlas root: #012/dev/sdc:#012 drive state is: standby
Dec 6 16:08:08 atlas root: #012/dev/sde:#012 drive state is: standby
Dec 6 16:08:08 atlas root: #012/dev/sdf:#012 drive state is: standby
Dec 6 16:08:08 atlas root: Total Spundown: 4

 

What might help is those 4 disks (1/2/5/6) are on a Dell H310 Perc in IT Mode. The card has never given me trouble otherwise. Here is hdparm and it recognizes my cache drives as being active (on Intel Chipset) but not the drives on the H310:

 

Quote

Linux 4.18.17-unRAID.
Last login: Wed Dec  5 10:48:33 -0800 2018 on /dev/pts/2.
root@atlas:~# hdparm -C /dev/sdb

/dev/sdb:
 drive state is:  standby
root@atlas:~# hdparm -C /dev/sdc

/dev/sdc:
 drive state is:  standby
root@atlas:~# hdparm -C /dev/sde

/dev/sde:
 drive state is:  standby
root@atlas:~# hdparm -C /dev/sdf

/dev/sdf:
 drive state is:  standby
root@atlas:~# hdparm -C /dev/sdg

/dev/sdg:
 drive state is:  active/idle
root@atlas:~# hdparm -C /dev/sdh

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

 

Think I'm just SOL because of the H310?

Share this post


Link to post
8 hours ago, jelthi said:

Hi,

 

I have a similar issue: 4 drives shown as spun down even though the MAIN tab has them spun up.

image.png.d01f5c2f8183a5c9f1b7783dd861cd7b.pngimage.png.e5164684f84f917eac64ee25e9eb4333.png

 

I enabled debug logging and shortened the polling time. I also issued the spin up command to no avail.

 

What might help is those 4 disks (1/2/5/6) are on a Dell H310 Perc in IT Mode. The card has never given me trouble otherwise. Here is hdparm and it recognizes my cache drives as being active (on Intel Chipset) but not the drives on the H310:

 

 

Think I'm just SOL because of the H310?

Yeah, the plugin doesn't work for me either - and I have a Perc H310. So I think it's the culprit. 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now