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

Add support for filestorage testing #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

phausman
Copy link

@phausman phausman commented Jul 2, 2021

This PR allows Woodpecker charm to handle filestorage instead of just block storage. The idea is to be able to benchmark Manilla-Ganesha or other RWM file-systems.

The example below triggers fio tests using /mnt/nfs/woodpecker-0 file.

# Tell woodpecker where the files for fio testing should be laid out
juju config woodpecker directories=/mnt/nfs

# Mount a NFS share in woodpecker unit
juju run --application woodpecker "sudo mount -t nfs ${SHARE} /mnt/nfs/"

# Run fio test with a 10GB file
juju run-action woodpecker/0 \
  fio operation=randwrite runtime=60 block-size=4k filesize=10G

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant