完成硬盘和系统插框的更换后,如何处理硬盘角色为“Free Disk”的硬盘
介绍当硬盘域中的硬盘和该硬盘所在的系统插框同时出现故障的情况下,故障硬盘和系统插框均已完成更换后,如何处理硬盘角色为“Free Disk”的硬盘。
查询硬盘的信息,存在“--”的硬盘号
执行show disk general命令,“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”值和“--”对应的“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 3.840TB ...... DAE010.24 Normal Online SSD Member Disk 0 HSSD-D5222AM59A0 HS000000000000428843 3.840TB -- Fault Offline SSD Member Disk 0 HSSD-D5222AM59A0 2102351KCL9WJ8000051 3.840TB
- 执行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为“--”对应的“Serial Number”值,tgt_sn为所更换硬盘槽位号对应的“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 3.840TB ...... DAE010.24 Normal Online SSD Member Disk 0 HSSD-D5222AM59A0 HS000000000000428843 3.840TB
- (可选)若7中的查询结果存在异常,您还需执行命令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",若不是,请联系技术工程师处理。
查询硬盘的信息,不存在“--”的硬盘号
执行show disk general命令,“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.0 Normal Online SSD Free Disk -- HSSD-D5222AM59A0 2102350SSK10G6001099 3.840TB ...... DAE010.24 Normal Online SSD Member Disk 0 HSSD-D5222AM59A0 HS000000000000428843 3.840TB
- 执行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.
- 执行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 Fault Offline SSD Member Disk 0 HSSD-D5222AM59A0 2102351KCL9WJ8000051 3.840TB ...... DAE010.24 Normal Online SSD Member Disk 0 HSSD-D5222AM59A0 HS000000000000428843 3.840TB
- 执行change disk sn命令,修改该硬盘的SN号,其中,src_sn为5中记录的“Serial Number”值,tgt_sn为3中记录的“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 3.840TB ...... DAE010.24 Normal Online SSD Member Disk 0 HSSD-D5222AM59A0 HS000000000000428843 3.840TB
- (可选)若8中的查询结果存在异常,您还需执行命令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",若不是,请联系技术工程师处理。