以下示例显示从磁盘设备组配置中删除主机名 phys-schost-2 的过程。这样做就排除了 phys-schost-2 作为指定磁盘设备组的主节点的可能性。通过运行 scstat -D 命令并检查删除的节点不再显示在屏幕文本中来检验节点的删除。
[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 - |