Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to modify the boot sequence of various hard disk cards in the server

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to modify the startup sequence of all kinds of hard disk cards in the server. I hope you will get something after reading this article. Let's discuss it together.

The details are as follows:

1, copy the kernel

Cp / boot/initrd-2.6.9-34.EL.img / boot/initrd-2.6.9-34.EL.img.old

2pr uname-a view version information

Linux jtback.rrl.com 2.6.9-34.ELsmp # 1 SMP Fri Feb 24 16:54:53 EST 2006 i686 i686 i386 GNU/Linux

3. Delete the kernel

Rm initrd-2.6.9-34.ELsmp.img

4. Re-import the kernel and change the order of raid loaded at startup

Mkinitrd-preload megaraid_mbox initrd-2.6.9-34.ELsmp.img 2.6.9-34.ELsmp

5. Modify the / etc/modprobe.conf file to move alias scsi_hostadapter1 megaraid_mbox to the previous line

But now there is a dell T300 server with its own megaraid array card, an array cabinet connected to sas and a dell RD1000 usb device.

The default startup is the megaraid device, then the usb device, and then the array cabinet, but it should be adjusted according to your needs to finally recognize the usb device, that is, to put the disk recognized by usb at the end.

Specific steps:

1. Back up the kernel

Mv / boot/initrd-2.6.9-34.EL.img / boot/initrd-2.6.9-34.EL.img.old

2pr uname-a view version information

[root@tonykorn97 boot] # uname-a

Linux tonykorn97 2.6.18-53.el5 # 1 SMP Wed Oct 10 16:34:19 EDT 2007 x86 "64 GNU/Linux

3. Modify the default / etc/modprobe.conf file to:

[root@tonykorn97 boot] # cat / etc/modprobe.conf

Alias eth0 tg3

Alias eth2 tg3

# alias scsi_hostadapter megaraid_sas

# alias scsi_hostadapter1 ata_piix

Alias scsi_hostadapter mptbase

Alias scsi_hostadapter1 mptsas

Alias scsi_hostadapter2 megaraid_sas

Alias scsi_hostadapter3 ata_piix

[root@tonykorn97 boot] #

4. Re-import the kernel and change the order of raid loaded at startup

Mkinitrd initrd-2.6.18-53.el5.img 2.6.18-53.el5

After reading this article, I believe you have a certain understanding of "how to modify the boot sequence of all kinds of hard disk cards in the server". If you want to know more about it, welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report