Configuring a USB hard disk
USB hard disks look like SCSI hard disks
to the kernel. They use the Sdsk device driver
and are configured in a similar fashion to SCSI drives.
To install and configure a USB hard disk:
-
As root, run
shutdown(ADM)
to stop the system.
-
Attach the USB hard disk
to an available USB port
and restart the system,
putting it into maintenance mode.
NOTE:
This is the recommended method
for adding USB mass storage devices.
You can hot-plug a USB hard drive,
but the disk's USB device ID
could change when the system is rebooted next,
requiring you to modify the drive's configuration.
See the
usb(HW)
manual page for more details.
-
As root, 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.)
-
Select to add a hard disk to a USB controller.
-
Enter the hard disk's USB device ID.
You can determine the disk's USB device ID
by running hwconfig -h and locating the
hard drive's entry in the list of hardware.
The id=
field indicates the assigned
USB device ID. (If you hot-plugged the drive,
the USB device ID is provided in the kernel
configuration message displayed on the console.)
-
Enter the hard disk's LUN.
For a USB hard disk, this number is typically ``0''.
-
You are prompted to confirm the configuration information
that you provided. If correct, select to use the
information to update the USB configuration.
Otherwise, start the configuration again, or exit.
-
If prompted to do so,
relink the kernel, then reboot the system.
You can defer relinking in you have other devices to configure.
After completing the USB hard disk configuration,
you must run mkdev hd or the Hardware/Kernel Manager
a second time to partition the disk, as described in
``Installing a hard disk''.
See also:
Next topic:
Configuring IDE disks and disk controllers
Previous topic:
Configuring a SCSI hard disk
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003