Configuring HP-UX For Peripherals

160 Chapter5
Configuring Disk Drives, Disk Arrays, and CD-ROM Drives
Moving a Disk Drive to a Different Address
the file systems from the client, the client will receive NFS error
messages when accessing the files on the disk.
There are several methods to unmount the NFS client file systems:
Enter the Remote Administration area of SAM on the NFS server
and unmount the file systems remotely.
Log in directly to each NFS client and unmount the file systems
using either SAM or HP-UX commands.
Refer to the file systems chapter of the Managing Systems and
Workgroups for specific instructions on un-mounting file systems. For
detailed information on Network File Systems, refer to Installing and
Administering NFS Services.
Step 5. If you are moving an LVM disk which is not being used for the root file
system,
a. Execute a vgdisplay -v command to display the contents of the
active volume groups. (When moving an LVM disk, most of your LVM
commands will be based on the volume group to which the disk
belongs.)
b. Execute lvdisplay -v for every logical volume in the volume group
of the disk being removed to locate any logical volumes currently
straddling the disk being moved and another disk. If you find any,
Back up the data and remove the logical volume, by executing an
lvremove command.
Or, if the logical volume is mirrored,
Remove the mirroring, by executing an lvreduce -m 0 command.
c. Execute a vgchange command to deactivate the volume group to
which the disk is being added.
d. If the disk comprises an entire volume group, execute a vgexport
command to remove it from the current configuration.
If the disk comprises a portion of a volume group, execute a vgreduce
command.
The disk is now free to be used as desired.
Step 6. Determine the hardware address for the new location. Look at the
Hardware Path field of ioscan output to make sure you choose an
unused hardware address.