跳转到主内容

显示的逻辑空间和物理空间有什么区别

Views:
675
Visibility:
Public
Votes:
1
Category:
oncommand-system-manager
Specialty:
om
Last Updated:

适用于

ONTAP System Manager (OSM)

回答

  • 物理空间是指正在使用的物理块数量。
  • 逻辑空间是指在不考虑重复数据删除或压缩等因素的情况下可能使用的理论空间。

如果基于重复数据删除和压缩节省的空间很高,这可能会导致逻辑空间膨胀。
在这种情况下,如果未启用重复数据删除和压缩,则已用空间可能超出卷的容量。

 
重复数据删除示例:
  • ONTAP 中的块大小为 4k。假设我有一个约 4k 的文件,我有 20 个副本,每个副本的 4k 块都是相同的。
  • 如果我启用重复数据删除,它会删除重复块并创建指向共享块的指针。
  • 从理论上讲,我只会使用约 4k 的物理空间,而逻辑空间大约是约 80k。
  • 如果我禁用重复数据删除并撤消它,使用的空间将从约 4k 增加到约 80k。
快照的影响:
  • 当您创建卷的快照时,它会创建一组指向活动文件系统中所有已使用块的指针。
  • 在活动文件系统不再使用该块之前,快照不拥有这些块。
  • 然后,引用该块的最旧快照将拥有它。
  • 直到最后一个引用它的快照被删除,该块才会被释放。
  • 这就是快照占用逻辑空间但不占用物理空间的方式。
重复数据删除和压缩都应用于活动文件系统。它们不会应用于快照。

追加信息

不适用

 

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.