Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # run this script on each node concurrently
- loop=1
- while ((loop++)) ; do
- for i in `seq 1 100`; do
- reflink "/mnt/shared/testnode1.qcow2" "/mnt/shared/.snapshots/testnode1.qcow2.${loop}.${i}.`date +%m%d%H%M%S`.`hostname`"
- done
- rm -f /mnt/shared/.snapshots/testnode1.qcow2.*.`hostname`
- echo "`hostname` `date +%m%d%H%M%S`: loop - $loop"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement