- If you have not yet played the tutorial, please do so. It takes about an hour, but it's well worth the effort, as it gives you basic survival skills. This guide will assume you've completed it.
I hereby claim:
- I am djkazic on github.
- I am synthlock (https://keybase.io/synthlock) on keybase.
- I have a public key ASDrlbGcmHJnUqChG3NSgpHhorKPjey_HCSIv8SYhy_qlQo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Allows you to use a [tank] and [reserve] pool | |
# Set vars for best results | |
if [ "$#" != 4 ]; then | |
echo " Usage: ./defrag <src-pool> <src-dataset> <dest-pool> <grub-disk>" | |
echo '' | |
echo " Example: ./defrag tank os reserve /dev/sda" | |
exit 1 | |
fi |