Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.
NetApp Knowledge Base

What are the guidelines to be followed while shrinking LUNs?

Last Updated:


Applies to

  • Data ONTAP 8
  • ONTAP 9


Warning: 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.


Scan to view the article on your device