以下示例显示从磁盘设备组(元集)移除主机名,并检验节点是否已从磁盘设备组中移除。虽然示例显示的是从单个磁盘设备组移除节点,但一个节点可同时属于不止一个磁盘设备组。对于每个您想从中移除该节点的磁盘设备组,请重复使用 metaset 命令。
[Determine the disk device group(s) for the node:] # scstat -D -- Device Group Servers -- Device Group Primary Secondary ------------ ------- --------- Device group servers: dg-schost-1 phys-schost-1 phys-schost-2 [Become superuser.] [Remove the hostname from all disk device groups:] # metaset -s dg-schost-1 -d -f -h phys-schost-2 [Verify removal of the node:] # scstat -D -- Device Group Servers -- Device Group Primary Secondary ------------ ------- --------- Device group servers: dg-schost-1 phys-schost-1 - |