- 论坛徽章:
- 0
|
HP380 G5 + p400卡下,SCO 5.0.7添加第二个SCSI硬盘
安装过程中,主要涉及以下几点:
1、 在选择SCSI host adapter时,需要输入安装系统时的btld驱动名称,如hpsas。
2、 选择Target ID时,需要输入1,依次类推,如第三个硬盘为2。
3、 需要执行二次mkdev hd,第一次执行之后,需要重启。
# mkdev hd
Your rootdisk is attached to a SCSI controller.
Pick one of the choices below or you may quit and
invoke mkdev hd -u for a detailed usage message.
1) Add a hard disk to an IDE controller
2) Add a hard disk to a SCSI controller
3) Add a hard disk to an IDA controller
4) Add a hard disk to a USB controller
Enter 1, 2, 3, 4or enter 'q' to quit: 2
Enter the prefix of the SCSI host adapter that supports this device
or press <Return> for the default: 'wd'
Enter h for a list of host adapters or enter q to quit:hpsas
Which 'hpsas' SCSI host adapter supports this device?
Select 0-1, or enter q to quit: 0
The Host Adapter parameters will be automatically configured
What SCSI Bus is this device attached to?
Press <Return> to use the default:0
Select 0-n, or h for help, or q to quit: 0
What is the Target ID for this device?
Select 0-15, or h for help, or q to quit: 1
What is the LUN of this device?
Press <Return> to use the default: 0
Select 0-7, or h for help, or q to quit: 0
You are about to add the following SCSI device:
Host Adapter
Type Adapter Device Number ID LUN Bus
-------------------------------------------------------
SCSI hpsas disk 0 1 0 0
注:以上对应到/etc/conf/cf.d/mscsi里的条目:
*ha attach number ID lun bus *表示备注
*
wd Srom 0 0 0 0 光驱
hpsas Sdsk 0 0 0 0 第一个硬盘
hpsas Sdsk 0 1 0 0 第二个硬盘
hpsas Sdsk 0 2 0 0 第三个硬盘
Update SCSI configuration? (y/n) y
The SCSI configuration file has been updated.
A new kernel must be built and rebooted before disk configuration can continue.
Would you like to relink at this time? (y/n) y
The UNIX Operating System will now be rebuilt.
This will take a few minutes. Please wait.
Root for this system build is /
The UNIX Kernel has been rebuilt.
Do you want this kernel to boot by default? (y/n) y
Backing up unix to unix.old
Installing new unix on the boot file system
The kernel environment includes device node files and /etc/inittab.
The new kernel may require changes to /etc/inittab or device nodes.
Do you want the kernel environment rebuilt? (y/n) y
The kernel has been successfully linked and installed.
To activate it, reboot your system.
Setting up new kernel environment
After the system is rebooted with the new kernel,
reinvoke mkdev hd to initialize the new hard disk.
# shutdown -y -g0 -i6
# mkdev hd
Your rootdisk is attached to a SCSI controller.
Pick one of the choices below or you may quit and
invoke mkdev hd -u for a detailed usage message.
1) Add a hard disk to an IDE controller
2) Add a hard disk to a SCSI controller
3) Add a hard disk to an IDA controller
4) Add a hard disk to a USB controller
Enter 1, 2, 3, 4or enter 'q' to quit: 2
Enter the prefix of the SCSI host adapter that supports this device
or press <Return> for the default: 'hpsas'
Enter h for a list of host adapters or enter q to quit:hpsas
Which 'hpsas' SCSI host adapter supports this device?
Select 0-1, or enter q to quit: 0
The Host Adapter parameters will be automatically configured
What SCSI Bus is this device attached to?
Press <Return> to use the default:0
Select 0-n, or h for help, or q to quit: 0
What is the Target ID for this device?
Select 0-15, or h for help, or q to quit: 1
What is the LUN of this device?
Press <Return> to use the default: 0
Select 0-7, or h for help, or q to quit: 0
During installation you may choose to overwrite all
or part of the present contents of your hard disk.
Do you wish to continue? (y/n) y
The hard disk installation program will now invoke /etc/fdisk.
Entering 'q' at the following menu will exit /etc/fdisk,
and the hard disk installation will continue.
If you wish to exit the entire installation at this menu,
press the <DEL> key.
1. Display Partition Table
2. Use Entire Disk for UNIX
3. Use Rest of Disk for UNIX
4. Create UNIX Partition
5. Activate Partition
6. Delete Partition
7. Create Partition
Enter your choice or 'q' to quit: 1
Current Hard Disk Drive: /dev/rdsk/1s0
+-------------+----------+-----------+---------+---------+---------+
| Partition | Status | Type | Start | End | Size |
+-------------+----------+-----------+---------+---------+---------+
+-------------+----------+-----------+---------+---------+---------+
Total disk size: 4550475 tracks (256 reserved for masterboot and diagnostics)
Press <Return> to continue
到此就可以进行正常分区了。以后可以使用以下命令:
# fdisk -f /dev/rhd00 第一个硬盘
# fdisk -f /dev/rhd10 第二个硬盘
# fdisk -f /dev/rhd20 第三个硬盘
HP ML350G3添加硬盘的过程类似。
*ha attach number ID lun bus *表示备注
*
wd Srom 0 0 0 0
ad160 Sdsk 0 0 0 0
ad160 Sdsk 0 1 0 0 |
|