How to Shutdown ZFSSA from CLI
The aim of this post is to show the simple method of shutting down the ZFS Storage Appliance (or one node of the appliance) from CLI without typing 'Y' to the confirmation prompt
If we add confirm
in front of the command maintenance system poweroff
- it will power off the appliance without asking you for the confirmation.
Example #1 - requiring user confirmation
zfssa1:> maintenance system poweroff This will turn off power to the appliance. Are you sure? (Y/N) Y
Example #2 - without confirmation
zfssa1:> confirm maintenance system poweroff (System shut down starts)