Configuring HP-UX For Peripherals

Chapter 5 159
Configuring Disk Drives, Disk Arrays, and CD-ROM Drives
Moving a Disk Drive to a Different Address
Moving a Disk Drive to a Different Address
Occasionally, you might find yourself having to move a disk from one
interface card to another. This procedure explains how to do so.
NOTE Moving the root disk and moving an LVM root disk are special cases. You
will find additional instructions at several points in this procedure to
cover these requirements.
To move a disk drive using HP-UX commands:
Step 1. Back up the files on the disk drive to be moved; see the backup chapter in
Managing Systems and Workgroups.
Step 2. If you aremoving a root LVM disk, execute the lvlnboot -v command to
view the current configuration. Record the information. For example,
/usr/sbin/lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (56/52.6.0) Boot Disk
Root: lvol1 on: /dev/dsk/c0t6d0
Swap: lvol2 on: /dev/dsk/c0t6d0
Dump: lvol3 on: /dev/dsk/c0t6d0
Step 3. Notify users that the system will be shut down to move the disk. You can
use the wall command and/or the interactive capabilities of the
shutdown command to broadcast a message to users before the system
goes down. See wall (1M) or shutdown (1M) in the HP-UX Reference.
Step 4. If your system is an NFS server and file systems on the disk you are
moving are exported,
a. Find the NFS clients by logging in to the NFS server and looking at
the /etc/exports file. Refer to exports (4) in the HP-UX Reference.
b. Notify the users on the NFS client systems that data on the disk
being relocated will be inaccessible temporarily (users on a diskless
system will be unable to use their system at all).
c. Unmount the file systems from the NFS client. If you do not unmount