Method for processing disk numbers and electronic equipment

A processing method and disk numbering technology, applied in the direction of input/output to record carrier, etc., can solve problems such as disk sorting misalignment, disk number exchange, and difficulty in finding abnormal hard disks through drive letters

Active Publication Date: 2019-09-24
LENOVO (BEIJING) LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The problems caused by this include at least: 1) If disk A and disk B are pulled out and inserted in the opposite order, the disk numbers will be exchanged; 2) After disk A is pulled out, restarting will cause all subsequent disks to be sorted misplaced; 3) It is difficult to adjust the disk Naming; 4) It is difficult to find the abnormal hard disk through the drive letter

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for processing disk numbers and electronic equipment
  • Method for processing disk numbers and electronic equipment
  • Method for processing disk numbers and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to understand the characteristics and technical contents of the embodiments of the present invention in more detail, the implementation of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. The attached drawings are only for reference and description, and are not intended to limit the embodiments of the present invention.

[0036] figure 1 It is a schematic flow chart of the disk numbering processing method of the embodiment of the present invention Figure 1 ,Such as figure 1 As shown, the processing method of the disk number includes the following steps:

[0037] Step 101: Obtain configuration information of a logical number domain, where the configuration information includes configuration information of a dynamic number domain and configuration information of a static number domain in the logical number domain.

[0038] An indispensable device in a computer system is a disk, such as a ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a disk number processing method and an electronic device. The method comprises the steps of obtaining configuration information of a logic number domain, wherein the configuration information includes configuration information of a dynamic number domain and configuration information of a static number domain in the logic number domain; when a target disk is numbered, judging whether the type of the target disk is a static disk or not; when the type of the target disk is the static disk, obtaining position attribute parameters of the target disk; converting the position attribute parameters of the target disk into position attribute parameters of the corresponding static number domain; and searching for the corresponding target static number domain from the configuration information according to the position attribute parameters of the static number domain, and selecting a number for the target disk in the target static number domain.

Description

technical field [0001] The invention relates to the technical field of disk naming, in particular to a disk numbering processing method and electronic equipment. Background technique [0002] The current Linux kernel has a problem with the numbering of disks out of order, which leads to confusion in the naming of disks. Specifically, the Linux kernel's numbering scheme for disks is a dynamic allocation scheme based on the principle of preemption. When the disk controller registers a new disk with the Linux kernel, the Linux kernel always searches for a free number from number 0. Therefore, the disk numbering sequence Depends on: 1) the order in which the disks are loaded; 2) the order in which the disk controller reports the disks to the Linux kernel; 3) the bus scanning order of the peripheral component interconnection (PCI, Peripheral Component Interconnect); 4) the hot-plug order of the disk controller; 5 ) disk hot-plug sequence. [0003] The resulting problems include...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/06
Inventor 何海洋
Owner LENOVO (BEIJING) LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products