The invention discloses a
server actual hard disk physical slot position and hard disk
information mapping method and device, and relates to the technical field of hard disk testing, and the method comprises the steps: marking a unique number through a hard disk recognition tool and a
visual recognition case slot position under an
operating system, highlighting a hard disk in combination with a lighting mechanism, and carrying out the recognition of the unique number through the slot position association after lighting. According to the method and the device, the actual hard disk SN code is established, the mapping relation between the actual hard disk SN code and the visual physical slot position is established, and the unique mapping between the actual hard disk position and the hard disk information is established through the mapping relation between the SN and the actual physical slot position, so that the problems of low efficiency of a hard disk testing technology, easiness in mistaken formatting, mistaken unloading and mistaken plugging after disk letter disorder, and high reliability are solved. According to the technical scheme, the technical problems that a storage path cannot be found in time, and the accuracy and efficiency of hard disk management are seriously affected are solved, and the technical effects that decoupling of the storage path and physical hardware is ensured, the influence of
system restart or hardware change on services is reduced, the fault hard disk can be directly positioned through slot position identification, and the fault
recovery time is shortened are achieved.