Difference between revisions of "Btrfs Maintenance"

Read Rate Degradation possible
(ReadRateDegradation)
(Read Rate Degradation possible)
Line 87: Line 87:
There seem to be some cases where additional maintenance is needed.
There seem to be some cases where additional maintenance is needed.
==== ssd ====
==== ssd ====
===== Read Rate Degradation =====
===== Read Rate Degradation (not confirmed) =====
This is not a problem of all ssd's in general, but only of some rare cases. Replacing the firmware solves the problem.
This is not a problem of SSD's in general, but only of some rare cases. Replacing the firmware should solve the problem.
A possibility to test the read-speed with btrfs is to read all data (scrub). If your ssd has this RRD-problem, a balance will help because it does rewrite all data to a new place. This can be done while the system is in use !
A possibility to test the read-speed with btrfs is to read all data (scrub). If your ssd seems to have this RRD-problem, a balance will help because it does rewrite all data to a new place. This can be done while the system is in use ! But do it 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 shutdown your pc whenever you want. Dont't be surprised. the balance will restart after boot until it is finished !
This will take a long time. You can shutdown your pc whenever you want. Dont't be surprised. the balance will restart after boot until it is finished !
If you want to keep your data rotating ;-) do:
{{RootCmd|command=btrfs balance start -dlimit=10 /}}
This will only rewrite 10 chunks. This can be used weekly if you think it is necessary.


==== rotational disks ====
==== rotational disks ====
translator
987

edits