docs_in_draft:write_cache_plugin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs_in_draft:write_cache_plugin [2025/11/29 02:46] – [Configuration] crashtestdocs_in_draft:write_cache_plugin [2025/11/29 02:54] (current) – [For SD Card Users] crashtest
Line 41: Line 41:
  
 After installation, the plugin can be found under **Services**, **Write Cache**.\\ After installation, the plugin can be found under **Services**, **Write Cache**.\\
-For most users, enabling the Write Cache plugin with the default settings enabled, **Flush on Shutdown** and **Rotate on Shutdown**, is the best approach.\\+For the majority of users, enabling the Write Cache plugin with the default settings enabled, **Flush on Shutdown** and **Rotate on Shutdown**, is the best approach.\\
  
 \\ \\
Line 67: Line 67:
 \\ \\
  
-===== Best Practices =====+==== Best Practices ====
  
-==== For SD Card Users ===+=== For SD-Card Users ===
- +
-- **Enable**: Write caching for `/var/log` +
-- **Enable**: Flush on shutdown +
-- **Enable**: Daily flush timer +
-- **Enable**: Journald volatile storage+
  
 +- **Enable**: Write caching for `/var/log`\\
 +- **Enable**: Flush on shutdown\\
 +- **Enable**: Daily flush timer\\
 +- **Enable**: Journald volatile storage\\
 +\\
 These settings maximum write reduction with reasonable data preservation.\\ These settings maximum write reduction with reasonable data preservation.\\
  
-==== For SSD Users ===+=== For SSD Users ===
-- **Consider enabling**: Write caching for high-activity paths only +
-- **Do enable**: Flush on shutdown +
-- **Optional**: Daily flush +
-- **Why**: Extends SSD life without being overly aggressive+
  
-==== For Spinning Hard Drive Users ====+- **Consider enabling**: Write caching for high-activity paths only\\ 
 +- **Enable**: Flush on shutdown\\ 
 +- **Optionally Enable**: Daily flush\\ 
 +- **Why**: Extends SSD life without being overly aggressive\\ 
 + 
 +=== For Spinning Hard Drive Users ===
 There's no practical gain. Write Cache is not needed.\\ There's no practical gain. Write Cache is not needed.\\
 +\\
 +\\
  
-===== Frequently Asked Questions =====+==== Frequently Asked Questions ====
  
 **Q: Will this make my system faster?**\\ **Q: Will this make my system faster?**\\
Line 98: Line 101:
 A: Your personal files and shares are not affected. Only system logs and temporary files are cached.\\ A: Your personal files and shares are not affected. Only system logs and temporary files are cached.\\
 \\ \\
-**Q: Should I use this?** +**Q: Should I use this?**\\ 
-A: Yes, if you're running OpenMediaVault on SD cards, USB drives, or SSDs. Write Cache is not needed for traditional hard drives.\\+A: Yes, if you're running OpenMediaVault on SD cards, USB drives, or SSDs. Write Cache is not needed for spinning hard drives.\\
 \\ \\
 **Q: Can I customize what gets cached?**\\ **Q: Can I customize what gets cached?**\\
Line 105: Line 108:
 \\ \\
 \\ \\
-===== Sys Admin ===== +==== Sys Admin ==== 
-==== When Cached Data is Lost ====+=== When Cached Data is Lost ===
 Cached data will be lost in these situations:\\ Cached data will be lost in these situations:\\
 - Power loss or unexpected shutdown (if flush on shutdown isn't configured) - Power loss or unexpected shutdown (if flush on shutdown isn't configured)
Line 112: Line 115:
 - Between flush intervals - Between flush intervals
  
-==== I Need to See Recent Logs ====+=== I Need to See Recent Logs ===
  
 On the CLI, issue the following command flush cached logs to disk:\\ On the CLI, issue the following command flush cached logs to disk:\\
Line 119: Line 122:
  
  
-==== I Want to Temporarily Disable Write Cache ====+=== I Want to Temporarily Disable Write Cache ===
  
 On the CLI, issue the following command:\\ On the CLI, issue the following command:\\
  • docs_in_draft/write_cache_plugin.1764384400.txt.gz
  • Last modified: 2025/11/29 02:46
  • by crashtest