跳转到主内容

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

Views:
30
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
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.
Scan to view the article on your device