Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fill disk failed when the size value is greater than the available disk size #171

Closed
xcaspar opened this issue Aug 29, 2019 · 0 comments
Closed
Labels
chaosblade-exec-os type/bug Something isn't working
Milestone

Comments

@xcaspar
Copy link
Member

xcaspar commented Aug 29, 2019

Issue Description

Type: bug report

Describe what happened (or what feature you want)

# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        40G  4.0G   34G  11% /

chaosblade command:
blade create disk fill --path /home/admin --size 50000

result:
{"code":604,"success":false,"error":"fallocate: /home/admin/chaos_filldisk.log.dat: fallocate failed: No space left on device\n exit status 1 exit status 1"}

Describe what you expected to happen

Use the available disk size when the size value is greater than it and return success.

Anything else we need to know?

Need to consider the chaosblade should be downgraded when the disk full.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chaosblade-exec-os type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant