完成系统插框的更换后继续更换硬盘,如何处理硬盘ID为“--”的硬盘
介绍当硬盘域中的硬盘和该硬盘所在的系统插框同时出现故障的情况下,选择先进行系统插框的更换,且在更换系统插框时,依次将待更换系统插框中的部件(含故障硬盘)拔出后插入到待安装系统插框中的相同位置。系统插框完成更换、设备上线后,再继续更换硬盘,如何处理硬盘ID为“--”的硬盘(以更换DAE010.0槽位上的故障硬盘为例)。
- 登录存储系统CLI管理界面。
- 执行change user_mode current_mode user_mode=developer进入研发视图。
- 执行show disk general |filterColumn include columnList=ID,Health\sStatus,Running\sStatus,Type,Role,Disk\sDomain\sID,Model,Serial\sNumber,Manufacture\sCapacity,记录“--”对应的“Serial Number”值。
developer:/>show disk general |filterColumn include columnList=ID,Health\sStatus,Running\sStatus,Type,Role,Disk\sDomain\sID,Model,Serial\sNumber,Manufacture\sCapacity ID Health Status Running Status Type Role Disk Domain ID Model Serial Number Manufacture Capacity --------- ------------- -------------- ---- ----------- -------------- ---------------- -------------------- -------------------- DAE010.1 Normal Online SSD Member Disk 0 HSSD-D5222AM59A0 2102350SSK10G6001111 960.000GB ...... DAE010.24 Normal Online SSD Member Disk 0 HSSD-D5222AM59A0 HS000000000000428843 960.000GB -- Fault Offline SSD Member Disk 0 HSSD-D5222AM59A0 2102351KCL9WJ8000051 960.000GB
- 手工更换故障硬盘。
- 待硬盘上线后,执行show disk general |filterColumn include columnList=ID,Health\sStatus,Running\sStatus,Type,Role,Disk\sDomain\sID,Model,Serial\sNumber,Manufacture\sCapacity,记录所更换硬盘槽位号对应的“Serial Number”值。
developer:/>show disk general |filterColumn include columnList=ID,Health\sStatus,Running\sStatus,Type,Role,Disk\sDomain\sID,Model,Serial\sNumber,Manufacture\sCapacity ID Health Status Running Status Type Role Disk Domain ID Model Serial Number Manufacture Capacity --------- ------------- -------------- ---- ----------- -------------- ---------------- -------------------- -------------------- DAE010.0 Normal Online SSD Free Disk -- HSSD-D5222AM59A0 2102350SSK10G6001099 960.000GB DAE010.1 Normal Online SSD Member Disk 0 HSSD-D5222AM59A0 2102350SSK10G6001111 960.000GB ...... DAE010.24 Normal Online SSD Member Disk 0 HSSD-D5222AM59A0 HS000000000000428843 960.000GB -- Fault Offline SSD Member Disk 0 HSSD-D5222AM59A0 2102351KCL9WJ8000051 960.000GB
- 执行poweroff disk disk_id命令下电新插入的硬盘。
developer:/>poweroff disk disk_id=DAE010.0 DANGER: You are about to power off the disk. This operation causes the disk to be unreadable and unwritable for services. If the disk domain where the disk resides is in the reconstruction or degradation state, this operation may cause reconstruction failure, service interruption, and data loss. Suggestion: Before performing this operation, check the disk properties and status of the disk domain that houses the disk to avoid reconstruction failure, service interruption and data loss. Back up data before powering off. Have you read danger alert message carefully?(y/n)y Are you sure you really want to perform the operation?(y/n)y Command executed successfully.
- 执行change disk sn命令,修改该硬盘的SN号,其中,src_sn为3中记录的“Serial Number”值,tgt_sn为5中记录的“Serial Number”值。
developer:/>change disk sn src_sn=2102351KCL9WJ8000051 tgt_sn=2102350SSK10G6001099 DANGER: You are about to set the SN of a logical disk.This operation may cause system abnormalities. Suggestion: Note the following before and after the command execution: 1. Ensure that the command is to be executed by the R&D personnel. 2. The command will set the SN of a logical disk. The system may report the disk is in. 3. After executing this command, check whether the service system is running correctly. Have you read danger alert message carefully?(y/n)y Are you sure you really want to perform the operation?(y/n)y Command executed successfully.
- 执行poweron disk命令上电新插入的硬盘。
developer:/>poweron disk disk_id=DAE010.0 Command executed successfully
- 执行show disk general |filterColumn include columnList=ID,Health\sStatus,Running\sStatus,Type,Role,Disk\sDomain\sID,Model,Serial\sNumber,Manufacture\sCapacity,查看“--”是否已清除,且所更换硬盘槽位号对应的硬盘状态是否分别为“Normal”、“Online”、"Member Disk"。
developer:/>show disk general |filterColumn include columnList=ID,Health\sStatus,Running\sStatus,Type,Role,Disk\sDomain\sID,Model,Serial\sNumber,Manufacture\sCapacity ID Health Status Running Status Type Role Disk Domain ID Model Serial Number Manufacture Capacity --------- ------------- -------------- ---- ----------- -------------- ---------------- -------------------- -------------------- DAE010.0 Normal Online SSD Member Disk 0 HSSD-D6223AL960N 2102350SSK10G6001099 960.000GB DAE010.1 Normal Online SSD Member Disk 0 HSSD-D5222AM59A0 2102350SSK10G6001111 960.000GB ...... DAE010.24 Normal Online SSD Member Disk 0 HSSD-D5222AM59A0 HS000000000000428843 960.000GB
- (可选)若9中的查询结果存在异常,您还需执行命令restore disk general disk_id恢复被系统隔离的成员盘。
developer:/>restore disk general disk_id=DAE010.0 WARNING: You are about to restore an isolated member disk. This operation connects an identified risky disk (such as a failed or faulty disk) to the system, which may cause data loss. Suggestion: Before performing this operation, ensure that the isolated member disk needs to be recovered. Have you read warning message carefully?(y/n)y Are you sure you really want to perform the operation?(y/n)y Command executed successfully.
- (可选)执行show disk general |filterColumn include columnList=ID,Health\sStatus,Running\sStatus,Type,Role,Disk\sDomain\sID,Model,Serial\sNumber,Manufacture\sCapacity,查看所更换硬盘槽位号对应的硬盘状态是否分别为“Normal”、“Online”、"Member Disk",若不是,请联系技术工程师处理。