Based on a Medium post by @cryptographrix
Semi-automated ZFS on DVD/ Disk Image creation, mounting and management.
Usage: zod.sh [command] [options]
Commands:
create Create a new disk image pool
export Export a disk image pool
mount Mount a disk image pool
Options:
-n, --name <name> Pool name
-f, --folder <path> Folder path (default: current directory)
-h, --help Display this help and exit
Options (create):
-d, --data <count> Number of data disks (default: 2)
-p, --parity <count> Number of parity disks (default: 0)
-c, --capacity <size> Capacity of pool in MiB
-s, --size <size> Size of each disk in MiB"
I would advise against using it in production - this is a fun little experiment, feel free to fork and adjust to your own production needs.