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.)
-
All devices (including USB) are detected automatically and displayed by a simple
alias name (for example: disk1). Enter the alias of the disk you wish to initialize.
-
Enter 1 ("Create a partition") and follow the prompts.
-
When the partition has been created, enter 4 ("Exit").
-
The
divvy(ADM)
command is run
to create filesystems on the disk
-
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
© 2007 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 05 June 2007