./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.