什么是 "WAFL 扫描状态 " 命令?
不可不使用
适用于
- Data ONTAP 8
- ONTAP 9
解答
- WAFL 使用各种后台扫描程序来执行文件系统操作
- 通常,创建或删除快照是两种最常见的扫描程序。
- 要运行此命令:
::> node run -node node1
node1> priv set advanced
node1> wafl scan status
- 扫描 ID —这是与扫描关联的进程 ID 。如果进程从未完成、或者已停止、则不会更改 ID 。
注意:wafl scan status
是一个命令,要求 Data ONTAP 7- 模式和更新的集群模式 Data ontap/ONTAP 系统都具有高级权限。建议仅对 NetApp 人员使用。
扫描类型:
- 主动位图重新排列:对 WAFL 数据结构执行优化的扫描程序。从 ONTAP 9 开始不再需要。
- 容器块回收:一种扫描,用于按卷清理最近释放的 WAFL 块。此扫描仪执行的工作有助于计算卷中的可用空间。此操作通常在快照删除期间运行。
- 索引节点到父节点:将索引节点编号映射到相对路径名称,此映射可在 Data ONTAP 7- 模式的 fpolicy 中使用。有关详细信息,请参见文章如何在卷上启用或禁用 I2P
- deswizzling :在 Data ONTAP 7- 模式和 ONTAP 9 DP 模式 SnapMirror 目标卷上,此扫描会将聚合(物理)块位置映射到卷块位置,因为传输不包括物理磁盘块位置。有关详细信息,请参见我们有关 deswizzling 的文章。
- snap create summary update :创建卷快照时用于更新内部元数据的扫描。
- Blocks Used summary update :创建卷快照时用于更新快照空间使用情况的内部元数据的扫描。
- WAFL 布局测量: 重新分配过程的一部分。
注:扫描类型越多、但最常见的扫描类型也越多。
其他信息
示例: 下面是在 ONTAP 9 上运行 WAFL 扫描状态的示例。7- 模式的语法相同,但第一行除外。
Cluster1::> node run -node node1 node1> priv set advanced node1*> wafl scan status Volume vol1: Scan id Type of scan progress 131021 container block reclamation block 245 of 673 (fbn 666) Volume vol2: Scan id Type of scan progress 131015 container block reclamation block 410 of 1050 (fbn 305) Volume vol3: Scan id Type of scan progress 131013 container block reclamation block 2463 of 4038 (fbn 3586) Volume vol4: Scan id Type of scan progress 131017 container block reclamation block 32 of 97 (fbn 63) Volume vol5: Scan id Type of scan progress 130504 WAFL layout measurement public inode 1599012 of 9074660, block 765 of 1996 Volume vol6: Scan id Type of scan progress 131029 container block reclamation block 5 of 20 (fbn 17) Volume vol7: Scan id Type of scan progress 131024 volume deswizzling snap 911, inode 4068843 of 6198122. level 1 of normal files. Totals: Normal files: L1:5/179926 L2:4/33564 L3:1/1237 L4:0/0 Inode file: L0:0/0 L1:0/0 L2:0/0 L3:0/0 L4:0/0 131023 container block reclamation block 1229 of 2019 (fbn 268) Volume vol8: Scan id Type of scan progress 131038 container block reclamation block 3 of 17 (fbn 6) Volume vol9: Scan id Type of scan progress 131020 volume deswizzling snap 910, inode 1822107 of 13286210. level 1 of normal files. Totals: Normal files: L1:14/95800 L2:8/169379 L3:1/10743 L4:0/0 Inode file: L0:0/0 L1:0/0 L2:0/0 L3:0/0 L4:0/0 131019 container block reclamation block 3684 of 8144 (fbn 6565)