Skip to main content
NetApp Knowledge Base

What are the guidelines to be followed while shrinking LUNs?

Last Updated:


Applies to




Shrinking a LUN without the proper steps performed at the OS level can cause unrecoverable data loss. You should only shrink a LUN who's operating system supports resizing the file systems and partition tables to a smaller size.

  1. Resize the file system (and volume if necessary) inside the LUN to the new size using the host operating system's native tools. Contact your OS or file system vendor for specific steps.
  2. Resize the partitions inside the LUN. You may again refer to your OS vendor's documentation on how to perform this step.
  3. Shrink the LUN. You can do this from the ONTAP Cluster Shell by decreasing the size as shown in this example:
    lun resize -vserver vs3 -volume vol3 -lun lun1 -size 75GB
  4. Your host OS may require you to rescan your HBAs in order to see the new size. If so, perform that step now.


Additional Information

NetApp also offers LUN management tools such as SnapDrive for Windows, SnapDrive for UNIX, and SnapCenter Plugins which can automate all of the above.


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.
Scan to view the article on your device