Hi Gary,
You can do this via the SSC commands as well.
SSC can be found on the firmware DVD of the HNAS Nodes and is also available for Windows.
This will allow you to run any CLI command.
Example Create:
ssc -u manager -p nasadmin 192.168.62.86 vn 1 snapshot-create --file-system Filesystem01 MySnapshot
Where vn is the Virtual Node (EVS) ID.
Example List:
ssc -u manager -p nasadmin 192.168.62.86 vn 1 snapshot-list --file-system Filesystem01
snapshot-list: executing on cluster node 4, though the EVS in context (1) is currently on cluster node 1
Date/Time Created Preserved Space Name Status
------------------------- -------- --------------- ---------- ------
2021-10-21 15:11:26+02:00 Manually 0 B MySnapshot Usable
File system is using block-based snapshots.
Example Rename:
ssc -u manager -p nasadmin 192.168.62.86 vn 1 snapshot-rename --file-system Filesystem01 MySnapshot MySnapshot01
Example List Again:
[root@rhel-76-1 ~]# ssc -u manager -p nasadmin 192.168.62.86 vn 1 snapshot-list --file-system Filesystem01
snapshot-list: executing on cluster node 4, though the EVS in context (1) is currently on cluster node 1
Date/Time Created Preserved Space Name Status
------------------------- -------- --------------- ------------ ------
2021-10-21 15:11:26+02:00 Manually 0 B MySnapshot01 Usable
File system is using block-based snapshots.
The password can also be base64 encoded, by using the SSC command with the flag -G and then specifying the encoded credentials with a -P (uppercase) flag.
Example:
ssc -G nasadmin
8IfYLuSE0QFexd/1jI6Ldg==
ssc -u manager -P 8IfYLuSE0QFexd/1jI6Ldg== 192.168.62.86 vn 1 snapshot-list --file-system Filesystem01
instead of:
ssc -u manager -p nasadmin 192.168.62.86 vn 1 snapshot-list --file-system Filesystem01