SCO OpenServer Handbook
Chapter 18, Adding hard disks

Installing a hard disk

Installing a hard disk

This section describes how to install an additional IDE, EIDE, ESDI, IDA, or SCSI hard disk. If the disk is SCSI, you must already have updated the system configuration files as described in ``Configuring a SCSI hard disk''. For all disk controller types, it is assumed that you have already physically installed the hard disk and booted the system.


NOTE: If you are installing a disk that already contains filesystems, you can retain the data they contain by preserving the disk's existing partition and division information. However, as a precaution, you should back up the data before removing the disk from the old system.

  1. Log in as root and put the system into maintenance mode.

  2. Select Hard Disk from the devices listed by the Hardware/Kernel Manager, or enter the command mkdev hd. (Enter mkdev hd -u or mkdev hd -h if you require detailed usage and help information for mkdev.)

  3. Select the type of hard disk that you want to add to the system.

  4. IDA disks: Enter the logical number of the disk and the number of the controller to which it is connected.

    SCSI disks: Enter the host adapter type and number, the bus number, the disk controller ID, and the LUN of the disk.

    ST506-interface (IDE, EIDE, and some ESDI), or ESDI disks: Enter the number of the disk on the controller. If you are installing IDE or EIDE disks on ISA or EISA bus machines, you must also enter the number of the controller to which the disk is attached.

  5. Choose to continue the installation, or exit. If you choose to continue the installation, the driver outputs a message to show it has been initialized.

    The mkdev hd script now runs the programs dkinit(ADM), fdisk(ADM), badtrk(ADM), and divvy(ADM) in sequence to configure the hard disk for use.

The installation and configuration of your hard disk is now complete. You can return the system to multiuser mode. See Chapter 2, ``Administering filesystems'' in the System Administration Guide for details of how to mount the new filesystems for use.