Configuring HP-UX For Peripherals
Chapter 5 151
Configuring Disk Drives, Disk Arrays, and CD-ROM Drives
Configuring into your System an Unpartitioned Disk Already
Containing Data
Configuring into your System an
Unpartitioned Disk Already Containing Data
NOTE This procedure is provided for configuring a Series 700 legacy disk into
HP-UX 10.0. Before proceeding, make sure you have read “Planning to
Configure into your System a Disk Already Containing Data” and have
performed the examination documented in “Ensuring Against Clashes
with HP-UX 10.0”.
Step 1. Back up the data on the disk being configured into the system; see the
backup chapter in Managing Systems and Workgroups.
Step 2. Create a record of the system's current disk configuration for later use:
/usr/sbin/ioscan -fun -C disk
Note whether the current configuration includes the device driver
needed to communicate with the disk you intend to configure. Consult
“Selecting Device Drivers for a Disk Device and Interface” for guidelines
on compatible disks, device drivers, and interfaces.
If any necessary device driver is absent from the kernel, you will need to
rebuild the kernel to include it. Here is how you rebuild the kernel:
a. Change directory to the build environment (/stand/build). Execute
a system preparation script, system_prep, which extracts the system
file from the current kernel and writes a system file in your current
directory. (That is, it creates /stand/build/system.) The -v gives
verbose explanation as the script executes.
cd /stand/build
/usr/lbin/sysadm/system_prep -v -s system
b. Modify the /stand/build/system file to add the absent driver(s) by
invoking the kmsystem command. The -c Y specifies that
driver-name is to be configured into the system.
/usr/sbin/kmsystem -S /stand/build/system -c Y
driver-name
NOTE To avoid introducing format errors, do not edit the HP-UX system