修改iSCSI target的回收策略
更新时间 2025-09-29 17:49:30
最近更新时间: 2025-09-29 17:49:30
本节主要介绍修改iSCSI target的回收策略命令。
./stor target set { -i | --item } generic { -n | --name } TARGET_NAME --reclaim-policy RECLAIM_POLICY
此命令用来修改iSCSI target的回收策略。
参数
| 参数 | 描述 |
|---|---|
| -i generic 或 --item generic | 表示设置iSCSI target的回收策略。 |
| -nTARGET_NAME 或 --nameTARGET_NAME | iSCSI target名称。 |
| --reclaim-policy RECLAIM_POLICY | 指定iSCSI target的回收策略。 取值:
|
示例
将target05的回收策略修改为Retain。
[root@hblockserver CTYUN_HBlock_Plus_3.8._x64]# ./stor target set -i generic -n target05 --reclaim-policy Retain
Set target target05 successfully.