2017-06-28 06:03 AM
I am building scripts to run against my filers.
After migrations I am looking to build a script that will destroy the volumes. I use the following to offline them and per processes then destroy them 24hrs later.
for i in 'cat /home/user/file.txt'; do ssh filer vol offline $i; done
Now I have this so far but when destroying the volume confirmation to destroy is asked for each volume. is there a setting to turn that off. the Filers are 7-mode.
for i in 'cat /home/user/file.txt'; do ssh filer vol destroy $i; done