[Excellent] how to add SCSI hard disks to sco unix systems

Source: Internet
Author: User

How to add SCSI hard disks to sco unix systems


After the sco unix operating system is installed, the hard disk is called the first hard disk on the first controller, or the first hard disk on the first primary adapter (for SCSI hard disk. A standard hard disk controller or IDA smart array expansion controller is a logical hard disk consisting of more than one actual hard disk. The following command is used to make it easier to distinguish between hard disks and mkdev HD.
First, you must know which hard disk controller to add. Whether the newly added hard disk is the first disk or the second disk of the controller. Both types of Hard Disk controllers have the same restrictions, that is, each controller can only support up to two hard disks. Mkdev syntax structure: mkdev HD disk Controller
Here, disk and controller are hard disks and controller numbers, both starting from 0. Therefore, the system supports two controllers of the same type. Their numbers should be 0, 1. The first controller is equipped with two hard disks, which are also numbered 0, 1. The following is the correspondence between the mkdev HD command and the attached hard disk:
Command attached hard disk
Mkdev HD 0 0 the first disk on the first controller (system installation)
Mkdev HD 0 1 second disk on the first Controller
Mkdev HD 1 0 the first disk of the second Controller
Mkdev HD 1 1 second controller on the second disk
The hard disks installed here are used in UNIX file systems and are not in the DOS zone. For a SCSI hard disk, you must first configure the hard disk. For an IDE hard disk, the hard disk added to the system must be supported by Bois. If the installed hard disk already has a file system, retain the annual configuration of the original partition parameter or back up the original data. The following describes how to install a SCSI hard disk and create a file system and a bare device. List the steps for installing the hard disk.
1. boot the system and enter the single-user mode by entering the root password at the "control-d" prompt. Type: # mkdev HD
2. System display:
(1) Add a hard disk to ide Controller
(2) Add a hard disk to SCSI Controller
Enter 1, 2 or enter Q to quit. Enter 2 to add a hard disk to the SCSI controller.
3. System display:
Enter the prefix of the SCSI host adapter that supports this device or press for the default: xxxx
Enter h for a list of host adapters or enter Q to quit:
XXXX is the name of the driver that connects the existing hard disk to the SCSI controller. Press the default adapter (if this is the new hard drive to connect to the adapter), or, when the new drive is connected to another adapter, enter the appropriate name of the adapter drive (assuming that any other adapter has been configured on the system ).
4. System display:
Which xxxx scsi host adapter supports this device?
Select 0-4, or enter Q to quit:
XXXX is the name of the SCSI controller to connect the hard disk to. If there is only one SCSI controller, enter 0.
5. System display:
What SCSI bus is this device attached?
Press to use the default: 0
Select 0-n, or H for help, of Q to quit:
When there is only one SCSI controller and the new hard disk is placed on the first bus, press the default value "0 ".
6. System display:
What is the target ID for this device?
Select 0-15, or H for help, or Q to quit:
The scsi id is determined by the Jumper settings on the new hard disk. The correct ID must be determined by referring to the instructions provided by the hard drive, or the application using the SCSI Controller Program Determines the ID. See the Controller documentation to find out whether the application applies to the Controller and how to use it.
7. When the appropriate scsi id has been entered and pressed, the system displays:
What is the Lun of this device?
Press press to use the default: 0
Select 0-7or h for help, of Q to quit:
In most cases, the Lun should be 0.
8. Now you should see a host adapter type, device, adapter number, ID, Lun, and bus list, and prompt:
Update SCSI configuration? (Y/n) Input y.
9. The SCSI configuration file is updated. Enter y to reconnect to the core. Type Y at the prompt, boot the kernel by default, and then type y to recreate the kernel environment.
10. When the system returns to the prompt, type the following content to close the system: #/etc/init 0
Then, when the "safe to power off" message appears, press any key to restart the system.
11. Start the system and enter single-user mode again. Type: # mkdev HD
Enter the same information as above. Then, the partition process of the added hard disk is configured. At this time, the system prompts you to divide the data into several blocks. Make sure that the data can be divided into two parts. The first block (which can be named filesysl) is used as the htfs File System (4 GB ), the remaining parts are used as non FS bare devices (which can be named raw2). The starting point of the file system is 0. The default type is used as the file system and the ending point is 4000000; the starting point of the bare device is 4000001, And the ending point is the last available point. Then, run the file system on the first block and enter C, then enter the block number of the first block, which should be 0. Then exit Q. The system prompts whether to create a file system. Select I (install. Then you need to mount the first block to go to scoadmin-filesystem Manager-mount-local, enter the device name (that is, the first block name/dev/filesysl) and mount point (such as usr/filesysl/conf, add the readwrite permission to other users. The corresponding parameter file is:/etc/default/filesys. When the system enters the multi-user mode, the filesysl file system should be automatically installed.

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.