跳转到主内容

逻辑空间与物理空间之间的区别是什么 将显示

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

适用场景

ONTAP 系统管理器(OSM)

问题解答

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

如果通过重复数据删除和数据压缩节省的空间量很大、则可能会增加逻辑空间。
在这种情况下、如果未启用重复数据删除和数据压缩、则已用空间可能会超过卷的容量。

 
重复数据删除示例:
  • ONTAP中的块大小为4 k。假设我有一个~4K文件、我有20个副本、每个文件的4K块都相同。
  • 如果启用重复数据删除、则会删除重复块并创建指向共享块的指针。
  • 理论上、我只会使用~4K物理空间、其中逻辑空间大约为~80 k。
  • 如果禁用了重复数据删除并将其撤消、则已用空间将从~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.