Skip to main content
NetApp Knowledge Base

Can we delete ONTAP images from repository post ONTAP upgrade?

Views:
419
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • ONTAP 9
  • ONTAP Upgrade

Answer

  • Yes. You can manually remove ONTAP images from the cluster repository provided that the cluster is not undergoing an upgrade (in progress or paused)
  • Deleting images from the repository does not affect the operation of the cluster
  • Deleting images frees up space in each node's root (/mroot) filesystem
  • A root filesystem with insufficient free space may - among other issues - prevent future ONTAP uploads from completing
 

Additional Information

The following cluster commands can be used to view and manage the cluster repository.

  • Display the contents of the repository:

cluster-c1::> cluster image package show-repository
cluster-c1::> set adv
cluster-c1::*> system node image package show

Under normal circumstances all nodes will have the same contents as the cluster repository.

  • Delete the version(s) you no longer need:
cluster-c1::> cluster image package delete -version <image_name>
 
  • There are other causes for a full- or nearly-full mroot, for example large core files which can be deleted to free up space if they are no longer needed:

cluster-c1::> system node coredump show
cluster-c1::> system node coredump delete -node <nodename> -corename <corefilename>
<OR>
cluster-c1::> system node coredump delete-all
 

 
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.