Configuring HP-UX For Peripherals

166 Chapter5
Configuring Disk Drives, Disk Arrays, and CD-ROM Drives
Removing a Disk Drive
Removing a Disk Drive
Step 1. Back up the data on the disk drive; see the backup chapter of Managing
Systems and Workgroups.
Step 2. 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
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:
1. Enter the Remote Administration area of SAM on the NFS server
and unmount the file systems remotely.
2. 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 3. Create a backup copy of the /etc/fstab file (cp /etc/fstab
/etc/fstab.old).
Edit /etc/fstab to remove any mount entries for the disk being
removed. Update the /etc/fstab on all NFS client systems to remove
the mount entries for file systems that are on the disk drive being
removed.
Step 4. If you are removing an LVM disk,
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