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.

Trying to automate "mdcmd set md_write_method 0"

Featured Replies

Hey,

I try to turn on/off Fastwrite with a cronjob depending on time.

 

Unfortunately if i type the command "mdcmd set md_write_method 0" or "mdcmd set md_write_method 1" nothing changes.

So in the GUI the setting "Tunable (md_write_method)" stays on what it was before.

On dmesg I can see that the command does apply tho.

 

How can I enable/disable fastwrite with a command?

image.png.6b6d3ce2d2adad25227359f425292a6f.png

6 minutes ago, bl00dy-c0d3 said:

So in the GUI the setting "Tunable (md_write_method)" stays on what it was before.

That's normal, but it will change the writing mode anyway.

  • Author
4 minutes ago, JorgeB said:

That's normal, but it will change the writing mode anyway.

Werid,

so its just not shown in the GUI?

Can I read out the state in CLI?

4 minutes ago, bl00dy-c0d3 said:

Can I read out the state in CLI?

That I don't know.

The CA Auto Turbo Write Mode plugin is there for this precise purpose, no need to roll your own.

Edited by Kilrah

  • Author
19 minutes ago, Kilrah said:

The CA Auto Turbo Write Mode plugin is there for this precise purpose, no need to roll your own.

Nah, that does activate it depending on how many disks are in use.

I want it depending on time.

 

Would love to have it quiet when I sleep

5 hours ago, bl00dy-c0d3 said:

I want it depending on time.

And it has a schedule feature for that.

Edited by Kilrah

  • 5 months later...

I also want to do it by cli, because I want to do it when running specific command, and not depending on time.

Any body has pointers, because the cli command definitely seems to not work, and to stay in the current mode if I look at how write are happening.

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.