Open
Description
In the current Chaosd fault injection, if we want to inject a disk-full fault, due to reasons such as disk fragmentation, there may still be residual space after fallocate fails. In this case, we can consider continuing to use the dd command to fill the disk with smaller block sizes, balancing both functionality and efficiency requirements.
As shown in the figure above, after injecting the disk-full fault, there is still some remaining disk space.
Chaosblade‘s implementation :https://github.com/chaosblade-io/chaosblade-exec-os/blob/52c677bf0d19b2f38df57c03869ba982db5208d7/exec/disk/disk_fill.go#L207-L210
https://juejin.cn/post/7271946932020101157#heading-17
I can submit a pr if this Feature is valuable.
Metadata
Metadata
Assignees
Labels
No labels