An ZFS administration tool inspired on Midnight commander
ZFS Commander is a simple front-end for the most commonly used zpool & zfs commands.
ZFS commander is build on Rust language, so make sure to have Rust installed on your machine. Instructions can be found here: https://www.rust-lang.org/tools/install
To compile and install ZFS comamnder, run the following commands:
$ sudo apt install build-essential ncurses-dev
$ make
$ sudo make install
$ make clean
To uninstall run:
$ sudo make uninstall
As the execution of some ZFS operations require higher privilege run ZFS commander with sudo or doas:
$ sudo zc
Use TAB key to switch between the modes available. Use LEFT or RIGHT keys to navigate in between the two windows.
Key | Pool | Dataset | Snapshot | Volume |
---|---|---|---|---|
F1 | - | - | - | - |
F2 | - | zfs create | - | - |
F3 | - | - | - | - |
F4 | - | - | - | - |
F5 | - | zfs snapshot | - | - |
F6 | - | zfs rename | zfs rename | zfs rename |
F7 | zpool scrub | - | zfs rollback | - |
F8 | zpool destroy | zfs destroy | zfs destroy | zfs destroy |
F9 | - | - | - | - |
F10 | Exit | Exit | Exit | Exit |