Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 manually loading the driver is cumbersome and time-consuming in large-scale installations

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

Embodiment 1

[0029] A method for integrating RAID card drivers under LINUX, comprising: decompressing the original initrd.img file to obtain corresponding directories and files; In the specified file; pack and compress all the modified directories and files, and get the modified initrd.img file containing the RAID card driver; replace the original file with the modified initrd.img, make ISO and burn it, and install the CD. Drive the RAID card normally.

Embodiment 2

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

[0032] 1. Get 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 corresponding suffix of the compression method in step 2.

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

[0036] 5. Use the file command to view the type of the 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 driven by the RAID card.

[0039] 8. Compress the driver module file with the gzip compression method.

[0040] 9. Add the corresponding relationship between the RAID card hardware information and the RAID card driver to the modules.alias file.

[004...

Embodiment 3

[0047] On the basis of Embodiment 1 or 2, take a Centos6.1 system disk and a 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 to isolinux / initrd.img in the CD;

[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 the gunzip command to get the initrd file gunzip initrd.gz;

[0052] 5. Check the initrd file type and compress file initrd for cpio;

[0053] 6. Create a temporary folder first. After entering the folder, use cpio to decompress the file.

[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] ...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products