跳转到主内容

缩减LUN时应遵循哪些准则?

Views:
33
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
san
Last Updated:

可不使用  

适用场景

ONTAP 

问题解答

警告

如果在操作系统级别未执行适当步骤而缩减LUN、则可能会导致发生原因发生无法恢复的数据丢失。您只能缩减操作系统支持 将文件系统和分区表大小调整为较小大小的LUN。

  1.  使用主机操作系统的本机工具将LUN中的文件系统(以及卷、如果需要)调整为新大小。有关具体步骤、请联系您的操作系统或文件系统供应商。
  2. 调整LUN中分区的大小。您可以再次参阅操作系统供应商的文档、了解如何执行此步骤。
  3. 缩减LUN。您可以从ONTAP集群Shell通过减小大小来执行此操作、如以下示例所示:
    lun resize -vserver vs3 -volume vol3 -lun lun1 -size 75GB
  4. 主机操作系统可能要求您重新扫描HBA才能查看新大小。如果是、请立即执行该步骤。

 

追加信息

NetApp还提供了SnapDrive for Windows、SnapDrive for UNIX和SnapCenter插件等LUN管理工具、这些工具可以自动执行上述所有操作。

 

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.