chenclosurecanister

使用 chenclosurecanister 命令可修改机柜容器的属性。

语法

阅读语法图跳过直观语法图 chenclosurecanister -excludesasportyesno-port12-force-reset-identifyyesno -canister canister_id enclosure_id
注: 必须设置以下某个参数。
  1. -port-excludesasport 参数必须一起指定。
  2. 必须设置以下某个参数。

参数

注: 可选参数是互斥的。
-excludesasport yes | no
(可选)排除或包含指定的 SAS 端口。-port-excludesasport 参数必须一起指定。
如果存在从属卷,那么可以使用 -force 标志。
要点: 使用 -force 标志可能导致无法访问数据。
-force
(可选)强制排除容器上的机柜。
要点: 使用 -force 参数可能会导致无法访问数据。仅在产品支持小组或产品支持代表的指示下使用。
-reset
(可选)重置容器上的机柜。
要点: 当伙伴容器未联机时,使用 -reset 参数会导致无法访问驱动器(和数据)。指定 lsdependentvdisks - enclosure ID -canister ID 以确定对一个或多个卷的数据的访问权是否取决于正在重置的容器。使用 -reset 参数可能会导致无法访问驱动器(和数据)。仅在产品支持小组或产品支持代表的指示下使用。
-identify yes | no
(可选)将故障发光二极管指示灯 (LED) 的状态更改为 slow_flashing 或者从该状态进行更改。
-port 1 | 2
(可选)指定要包含或排除的 SAS 端口。-port-excludesasport 参数必须一起指定。
-canister canister_id
指定要对其应用更改的容器。
enclosure_id
指定容器所属的机柜。

描述

该命令可用于修改机柜容器的属性。在使用此参数时,还必须指定端口(使用 -port 参数)。

用于排除机柜 1 的容器 2 上的 SAS 端口 1 的调用示例

chenclosurecanister -excludesasport yes -port 1 -canister 2 1

生成的输出:

无反馈

用于使机柜 3 的容器 1 上的故障指示灯闪烁的调用示例

chenclosurecanister -identify yes -canister 1 3

生成的输出:

无反馈