This is an automated environment to set up LUKS + ZFS RAID-1+0 tank. Once that's configured you can then simulate a failure.
For this to work it's neccessary to use the jessie-backports 4.9 kernel or stretch.
-
Update
boostrap/configto meet your needs, usingbootstrap/config.sampleas a basis. -
Install dependencies
host $ vagrant plugin install vagrant-vbguest -
Bring up the instance
host $ vagrant up -
Connect to the instance
host $ vagrant ssh -
Initialize the system. This is interactive, so it's not auto provisioned.
guest $ sudo /vagrant/booststrap/run