清空卷(本地卷適用)
更新時間 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.