Hello All!
Via console, what is the quickest, easiest and safest way to destroy an aggregate and CIFS.
Basically the best way to bring a FAS2040 to its factory condition.
Thanks
Reboot, ^C to enter special boot menu, select 4a (or 4 with sufficiently new Data ONTAP). For 7-Mode it won't be exactly "factory condition" - it will be less - but close. Do not forget to print out and store licenses, you will need to reenter them.
For 7G you will also need to perform normal update to the same version to get root volume files.
-----Original Message----- From: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] On Behalf Of Camillo Gornati Sent: Friday, July 03, 2015 5:34 PM To: Toasters@teaparty.net Subject: Quickest way to format
Hello All!
Via console, what is the quickest, easiest and safest way to destroy an aggregate and CIFS.
Basically the best way to bring a FAS2040 to its factory condition.
Thanks
_______________________________________________ Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
Camillo> Via console, what is the quickest, easiest and safest way to Camillo> destroy an aggregate and CIFS.
Camillo> Basically the best way to bring a FAS2040 to its factory condition.
You're asking two seperate though related questions here. Returning a system to factory is simple, just reboot the filer, break into the maintenance mode and select the option to zero disks and re-install the OS.
If you just want to delete a volume, and it's containing aggregate, it's a bit more involved, and if you have other volumes in the aggregate, you won't be able to delete it other.
vol offline <vol> vol destroy <vol> aggr offline <aggr> aggr destroy <aggr>
You might have to do vol restrict and aggr restrict as well, can't remember and I'm not going to test right now.
John
There is also (advanced or diag..can't remember for 7-Mode) "halt -c factory" but it won't destroy aggrs but will bring ONTAP back to a setup prompt with defaults set
-----Original Message----- From: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] On Behalf Of John Stoffel Sent: Friday, July 3, 2015 8:07 AM To: Camillo Gornati Cc: Toasters@teaparty.net Subject: Re: Quickest way to format
Camillo> Via console, what is the quickest, easiest and safest way to Camillo> destroy an aggregate and CIFS.
Camillo> Basically the best way to bring a FAS2040 to its factory condition.
You're asking two seperate though related questions here. Returning a system to factory is simple, just reboot the filer, break into the maintenance mode and select the option to zero disks and re-install the OS.
If you just want to delete a volume, and it's containing aggregate, it's a bit more involved, and if you have other volumes in the aggregate, you won't be able to delete it other.
vol offline <vol> vol destroy <vol> aggr offline <aggr> aggr destroy <aggr>
You might have to do vol restrict and aggr restrict as well, can't remember and I'm not going to test right now.
John _______________________________________________ Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters