Adding hard disks

Installing a hard disk

For all disk controller types, it is assumed that you have already physically installed the hard disk and booted the system.

This section describes how to install an additional IDE, EIDE, UDMA, ESDI, IDA, SCSI, or USB hard disk. If the disk is SCSI or USB, you must already have updated the system configuration files, as described in ``Configuring a SCSI hard disk'' and ``Configuring a USB hard disk''.

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.

    USB disks: Enter the USB device ID and the LUN of the disk.

    ST506, IDE, EIDE, UDMA, or ESDI-interface disks: Enter the number of the disk on the controller. If you are installing IDE, EIDE, or UDMA 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), 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 ``Administering filesystems'' for details of how to mount the new filesystems for use.
Next topic: Changing default disk parameters using dkinit
Previous topic: Configuring IDE disks and disk controllers

© 2007 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 05 June 2007