#Easy disk sanitize?

1 messages · Page 1 of 1 (latest)

pearl briar
#

Is there an easy way to sanitize all disks on a system? (Spinning rust)... I used to do this while the cluster was up, but you then have to tear down oeverything in order to delete the aggregates and end up with spare disks... it did have the advantage that the "disk sanitize start" command didn't complain and I was able to script some of this so that I just pasted in a bunch of "disk sanitize start" commands... (of cause not too many at one time)... but now I need to do this on a smaller system with 72 disks. I ended up opting for a "halt; boot_ontap menu;9a" and then booted into maint mode where disk sanitize can be used... sadly it asks you two questions after every command... and I am not sure if there is a way do avoid this? (in cMode you have the "set -confirmations off" but is there a similar option in "7mode" ? (there is no "-f" or "-force" on the command) It's a bit tedious to run this command followed by two "y" for 6 x 72 disks 😉 Why isn't there a boot_ontap menu option that just sanitize all disks?

opal jasper
#

try priv set -q in maint-mode

#

But be aware you're not able to get the sanitize log-files in maint-mode if these are needed.