Originally posted by: guille
Trying to run HNAS CLI commands with ssc utility from Windows to create bat file but have some problems with filesystem name.
ssc -u supervisor -p supervisor 172.22.8.13 cifs-share add -e -S disable -c test2 -o 12 test2 simevs16/fs2 \test2 returns error message because could not find a file system or a name space for label 'simevs16/fs2' but I'm sure it's a live filesystem as I checked with filesystem-list command.
When I run cifs-share add from SSH command line it works fine.
Any idea why scc utilty cannot find existing filesystem?
Originally posted by: guille
I got it. There is context argument, so to specify use filesystem from one EVS before CLI command evs console-context has to be provided as:
ssc -u supervisor -p supervisor 172.22.8.13 console-context --evs simevs16 cifs-share add -e -S disable -c test -o 12 test fs2 \test
Hope helps anyone dealing with ssc.