清空卷(本地卷适用)
更新时间 2025-09-29 17:49:29
最近更新时间: 2025-09-29 17:49:29
本节主要介绍清空卷命令。
./stor lun { W | wipe}{ -n | --name } LUN_NAME
此命令用来清空卷。
注意
清空卷会将卷的现有数据和快照删除,恢复到原始新创建的状态。如果克隆卷执行清空操作,会变成独立卷。
存在关联克隆卷,不允许对源卷进行清空。
清空卷过程中,只能对卷进行查询、删除和再次清空的操作,不允许执行其他操作。
参数
参数 | 描述 |
---|---|
-n LUN_NAME 或 --name LUN_NAME | 指定需要清空的卷的名称。 |
示例
清空卷lunc1。
[root@hblockserver CTYUN_HBlock_Plus_3.10.0_x64]# ./stor lun wipe -n lunc1
Start wiping LUN lunc1.
You can list lun to check whether the wipe operation is completed.