Skip to content

Instantly share code, notes, and snippets.

@brunopadz
Created May 12, 2018 17:23
Show Gist options
  • Save brunopadz/988dc42f16ba0d97251d804f5a663285 to your computer and use it in GitHub Desktop.
Save brunopadz/988dc42f16ba0d97251d804f5a663285 to your computer and use it in GitHub Desktop.
Use fio command to initialize EBS volumes restored from snapshot
#!/bin/bash
fio --filename=/dev/xvdx --rw=read --bs=1m --iodepth=32 --ioengine=libaio --direct=1 --name=volume-initialize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment