- 論壇徽章:
- 0
|
HP380 G5 + p400卡下,SCO 5.0.7添加第二個SCSI硬盤
安裝過程中,主要涉及以下幾點:
1、 在選擇SCSI host adapter時,需要輸入安裝系統(tǒng)時的btld驅動名稱,如hpsas。
2、 選擇Target ID時,需要輸入1,依次類推,如第三個硬盤為2。
3、 需要執(zhí)行二次mkdev hd,第一次執(zhí)行之后,需要重啟。
# 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
到此就可以進行正常分區(qū)了。以后可以使用以下命令:
# 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 |
|