Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs_in_draft:write_cache_plugin [2025/11/29 02:47] – [Configuration] crashtest | docs_in_draft:write_cache_plugin [2025/11/29 02:54] (current) – [For SD Card Users] crashtest | ||
|---|---|---|---|
| Line 67: | Line 67: | ||
| \\ | \\ | ||
| - | ===== Best Practices | + | ==== Best Practices ==== |
| - | ==== For SD Card Users ==== | + | === For SD-Card Users === |
| - | + | ||
| - | - **Enable**: Write caching for `/ | + | |
| - | - **Enable**: Flush on shutdown | + | |
| - | - **Enable**: Daily flush timer | + | |
| - | - **Enable**: Journald volatile storage | + | |
| + | - **Enable**: Write caching for `/ | ||
| + | - **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**: | + | |
| - | - **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' | There' | ||
| + | \\ | ||
| + | \\ | ||
| - | ===== 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 | + | A: Yes, if you're running OpenMediaVault on SD cards, USB drives, or SSDs. Write Cache is not needed for spinning |
| \\ | \\ | ||
| **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:\\ | ||