node run -node <node>
options nodescope.reenabledcmds "aggr=destroy"
aggr destroy <foreign aggr name>
options nodescope.reenabledcmds ""
Or the newer, better way:
storage aggregate remove-stale-record -aggregate <foreign aggr name> -nodename <node>
node run -node <node>
options nodescope.reenabledcmds "aggr=destroy"
aggr destroy <foreign aggr name>
options nodescope.reenabledcmds ""
Or the newer, better way:
storage aggregate remove-stale-record -aggregate <foreign aggr name> -nodename <node>