Newbie School: Hard Disk path setting for Linux

Source: Internet
Author: User
Article Title: New School: Linux system hard drive path settings. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic categories. After the system is installed, the hard drive will be in/dev/sda, but after the array is connected, it is often changed to/dev/sdb, and thus cannot be started.
 
1. change/etc/modules. conf
 
Change the order of the scsci adapter to the following:
 
  
     
      
Alias scsi_hostadapter mptbase # sda alias scsi_hostadapter1 mptscsih # sda alias scsi_hostadapter2 aic7xxx # It should be sdb but go to sda
     

 
2. Update ramdisk
 
First confirm the core version
 
# Uname-
 
The next step is to re-boot ramdisk.
 
  

     
      #mv /boot/initrd-2.4.35.3-1trsmp.img /boot/initrd-2.4.35.3-1trsmp.img.orig #mkinitrd /boot/initrd-2.4.35.3-1trsmp.img 2.4.35.3-1trsmp
     

 
3. Check whether the scsi adapter sequence is correct after reboot.
 
  
     
      scsi0 : ioc0: LSI53C1030, FwRev=01000e00h, Ports=1, MaxQ=222, IRQ=22 Vendor: LSILOGIC Model: 1030 IM Rev: 1000 Type: Direct-Access ANSI SCSI revision: 02 Vendor: IBM Model: 25P3495a S320 1 Rev: 1 Type: Processor ANSI SCSI revision: 02 scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.3.11 aic7892: Ultra160 Wide Channel A, SCSI Id=15, 32/253 SCBs
     

 

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.