translator
1,005
edits
(rotating disks) |
(rrd) |
||
Line 86: | Line 86: | ||
== special cases == | == special cases == | ||
There seem to be some cases where additional maintenance is needed. | There seem to be some cases where additional maintenance is needed. | ||
==== | ==== SSD ==== | ||
===== Read | Btrfs is optimal for SSDs due to its CoW nature | ||
This | |||
===== Read rate degradation (unconfirmed) ===== | |||
This isn't a problem with SSDs in general, it just seems to happen in a few rare cases. Updating the firmware should then solve the problem. | |||
One way to test the read speed with btrfs is to read out all the data (scrub). If your SSD seems to have this RRD issue, '''balancing''' will help so that all data is written to a new location. This can be done while the system is running! But please only '''once''' a year! | |||
{{RootCmd|command=btrfs balance start --full-balance /}} | {{RootCmd|command=btrfs balance start --full-balance /}} | ||
This will take a long time. You can | This will take a long time. You can shut down your PC at any time. Do not be surprised. The "balance" will restart after booting until done! | ||
If you want your data to rotate: | |||
{{RootCmd|command=btrfs balance start -dlimit=10 /}} | {{RootCmd|command=btrfs balance start -dlimit=10 /}} | ||
This | This rewrites 10 chunks at a time. This can be used weekly if you find it necessary. | ||
==== Rotating disks ==== | ==== Rotating disks ==== |