什么是"wafl scan status"命令?
适用于
- Data ONTAP 8
- ONTAP 9
问题解答
- WAFL 使用各种后台扫描程序来执行文件系统操作
- 通常,创建快照或删除快照是两种最常见的扫描程序
- 运行此操作:
::> node run -node node1
::> priv set advanced
::> wafl scan status
- 扫描 ID - 这是与扫描关联的进程 ID如果进程从未完成或停止,则 ID 不会更改
注意: wafl scan status
此命令需要 Data ONTAP 7-Mode 和较新的 Clustered Data ONTAP/ONTAP 系统的高级权限。建议仅与 NetApp 人员一起使用
扫描类型:
- 主动位图重排:一种对 WAFL 数据结构执行优化的扫描程序。从 ONTAP 9 开始不再需要
- 容器块回收:一种基于卷清理最近释放的 WAFL 块的扫描程序。此扫描程序执行的工作有助于计算卷中的可用空间。这通常在快照删除期间运行
- Inode 到父节点:将 Inode 编号映射到相对路径名,这些路径名可在 Data ONTAP 7-Mode 的 fpolicy 中使用。更多详细信息,请参阅文章如何在卷上启用或禁用 I2P
- deswizzling:在 Data ONTAP 7-Mode 和 ONTAP 9 DP 样式的 SnapMirror 目标卷上,此扫描将聚合(物理)块位置映射到卷块位置,因为传输不包含物理磁盘块位置。有关此内容的更多信息,请参阅有关 deswizzling 的文章
- 快照创建摘要更新:在拍摄卷快照时更新内部元数据的扫描
- 已使用块摘要更新:在删除卷快照时更新快照空间使用情况的内部元数据的扫描
- WAFL 布局测量:重新分配过程的一部分
- 冷却:FabricPool 技术的一部分,将块标记为冷以进行分层
- 分层:FabricPool 技术的一部分,将热数据分层到冷存储
- 非活动数据报告:用于构建冷块报告的扫描是为了了解每个卷的数据访问模式
注意:扫描类型还有很多,但这些是最常见的
追加信息
示例:这是在 ONTAP 9 上运行 wafl scan status 的示例除第一行外,语法与 7-mode 相同
::*> 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)