RAID card drive integration method under LINUX

A technology of integration method and compression method, which is applied in the direction of program loading/starting, program control device, etc., can solve the problems of cumbersome, complicated compiling kernel process, waste of time, etc., and achieve the effect of simple integration method and flexible and fast integration process

Inactive Publication Date: 2014-01-15
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the process of compiling the kernel is relatively complicated, and the method of

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
  • RAID card drive integration method under LINUX

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0028] Example 1:

[0029] A RAID card driver integration method under LINUX, including: decompress the original initrd.img file to obtain the corresponding directory and files; compress the module file of the RAID driver and put it in the designated directory; add the hardware information of the RAID card In the specified file; pack and compress all the modified directories and files to get the modified initrd.img file containing the RAID card driver; replace the modified initrd.img with the original file, make ISO and burn, and install the CD. Drive the RAID card normally.

Example Embodiment

[0030] Example 2:

[0031] On the basis of Embodiment 1, the method described in this embodiment includes the following steps:

[0032] 1. Obtain the original initrd.img, which is located in the installation CD or image.

[0033] 2. Use the file command to view the compression method of initrd.img.

[0034] 3. Change the suffix of initrd.img to the suffix corresponding to the compression method in step 2.

[0035] 4. Use the decompression command corresponding to the compression method viewed in step 2 to decompress the modified file in step 3.

[0036] 5. Use the file command to view the type of initrd file obtained in step 4.

[0037] 6. Use the corresponding command to decompress the file obtained in step 4.

[0038] 7. Mount the img file of the RAID card driver.

[0039] 8. Use the gzip compression method to compress the driver module files.

[0040] 9. Add the correspondence between the RAID card hardware information and the RAID card driver into the modules.alias file.

[0041] 10. Copy...

Example Embodiment

[0046] Example 3:

[0047] On the basis of embodiment 1 or 2, taking a Centos6.1 system disk and RAID card driver aacraid-RHEL6.1-el6.x86_64.img as an example, the specific operation steps are as follows:

[0048] 1. Copy the initrd.img file, located in the CD isolinux / initrd.img;

[0049] 2. Check the compression method of initrd.img, file initrd.img, the display is gzip;

[0050] 3. Change initrd.img to initrd.gz mv initrd.img initrd.gz;

[0051] 4. Decompress with gunzip command to get the initrd file gunzip initrd.gz;

[0052] 5. View the initrd file type, which is cpio compressed file initrd;

[0053] 6. Create a temporary folder first. After entering the folder, unzip the file with cpio,

[0054] mkdir initrd_files

[0055] cd initrd_files

[0056] cpio –idmv <.. / initrd;

[0057] 7. Obtain the driver module,

[0058] mkdir / home / raid

[0059] mount -o loop aaacraid-RHEL6.1-el6.x86_64.img / media /

[0060] cp / media / rpms / x86_64 / kmod-aacraid-1.1.7.28700-1.el6.x86_64.rpm

[0061] / home / raid;

[...

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 relates to a drive integration method, and discloses an RAID card drive integration method under LINUX. The RAID card drive integration method includes the steps that an original initrd. img file is decompressed to obtain corresponding catalogs and files; a module file driven by an RAID is compressed and placed in a designated catalog; hardware information of an RAID card is added to a designated file; all the modified catalogs and the files are packaged and compressed to obtain the modified initrd. img file with RAID drive; the modified initrd. img file is utilized to replace the original file, an ISO is manufactured and recorded, and then the RAID card can be normally driven after a light disk is installed. The RAID card drive integration method has the advantages that the integration method is relatively simple, the integrated RAID card can be used for PXE network installation and traditional light disk installation, the integration process is flexible and quick, time and labor are saved in the installing process of a large-scale system, and the installing process is safe and stable.

Description

technical field [0001] The invention relates to a driver integration method, in particular to a LINUX-based RAID card driver integration method. technical background [0002] Modern computer hardware is updated quickly, and sometimes the corresponding hardware cannot be supported by the original operating system. If the RAID card does not have a corresponding driver, the system cannot find the hard disk, resulting in the failure to install the system. [0003] In the process of LINUX startup, the system kernel vmlinuz is loaded into the memory and starts to provide underlying support. With the support of the kernel, various modules and services are loaded and run. When the kernel does not support the RAID card, the kernel has no way to access the hard disk, and of course it cannot load the file system on the hard disk. As a result, the hard disk cannot be recognized during the installation process, and the installation fails. [0004] The traditional method is to add the ke...

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
IPC IPC(8): G06F9/445
Inventor 孟祥飞宗栋瑞邓鹏飞邓强
Owner LANGCHAO ELECTRONIC INFORMATION IND CO 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