The Redhat cannot recognize the disk array ing.

Source: Internet
Author: User
Article Title: The Redhat cannot recognize the disk array ing. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Q: I mapped two partitions to one channel of the disk array. The result is that the fdisk/dev/sda can be edited in the Redhat 9 system, however, the second fdisk/dev/sdb is gone. Why?

A: 1) Use uname? A to obtain the linux kernel version, for example, 2.4.18-3.

2) Creating a Linux recovery floppy disk is a good idea before any update. You can use this command to create a recovery disk:

/Sbin/mkbootdisk '

For example,/sbin/mkbootdisk 2.4.18-3

3) add options scsi_mod max_scsi_luns = 255 to the last line in/etc/modules. conf.

4) to make this change take effect, you must re-create your initrid boot image. First, save your original name as another name,

'Cp/boot/initrd- . Img/boot/initrd- . Old '.

5) Now, to create a new initrd image, you can enter:

'Mkinitrd? F/boot/initrd- . Img '.

Example: mkinitrd-f/boot/initrd-2.4.21-15.EL.img 2.4.21-15.EL

6) If you use GRUB as your boot loader, you only need to restart it. Then you can see multiple Luns when loading the scsicard driver.

7) if you use LILO, run lilo and restart the system.

8) if the system cannot be started normally, use the recovery disk to restart and then load the original initrd image initrd- . Old. If you use GRUB, restart your system. If you use LILO, run lilo and restart it.

9) command: echo "scsi add-single-device 0 0 0 1">/proc/scsi

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.