Skip to content

[Feature Request] Enhanced disk fill attack #274

Open
@my-vegetable-has-exploded

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.

Image

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

ref #243 , #242, #212

I can submit a pr if this Feature is valuable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions