Open frezbo opened 1 month ago
Perhaps it should be not only for XFS but flexible with possibilities to include e.g. btrfs we plan on adding, as it is also often used with a maintenance schedule in place. So I'd do a config format listing scrub configs for each FS type.
If we want to make it simple, I would start with defaults and a feature flag which enables it (and we keep it disabled for now). Then, we look at all VolumeStatus
es, find ones which are Ready
, match on filesystem type, and schedule xfs_scrub
accordingly from boot time
If we want to make it simple, I would start with defaults and a feature flag which enables it (and we keep it disabled for now). Then, we look at all
VolumeStatus
es, find ones which areReady
, match on filesystem type, and schedulexfs_scrub
accordingly from boot time
I think we'd still need the interval to be configurable, since this could potentially lockup writes to filesystem
Yes, these operations might make system slow
We should also note in the docs that xfs_scrub is considered an experimental program according to its docs
Feature Request
Implement a Talos controller for periodically running
xfs_scrub
. This also needs to be configurable by a machine configuration document.References