Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Administering a Workgroup
Managing Disks
Chapter 9870
Step 8. Recover the data from the backup; for example,
tar xv
recovers all the contents of a tape in the system default drive.
Step 9. If /work/project5 will continue to be used by NFS clients, reexport it on
the server (exportfs -a) and remount it on the clients (mount -a).
Removing a Logical Volume
In this example we’ll assume you want to remove a logical volume that is
either unused or contains obsolete data. We’ll be using SAM.
CAUTION Removing a logical volume will destroy the contents of any file system it
contains.
Step 1. Run SAM:
/usr/sbin/sam
Step 2. Go to Disks and File Systems/Logical Volumes.
Select the logical volume you want to remove, pull down the Actions
menu and choose Remove.
You can now use this space to extend an existing logical volume, or to
build a new logical volume.
Adding a Mirror to an Existing Logical Volume
For detailed discussion of mirroring see “Creating and Modifying
Mirrored Logical Volumes” on page 628. The following is a quick
reference; we’ll be using SAM.
Step 1. Decide how many mirror copies you want.
For the purposes of this example, we’ll assume you want one mirror; that
is, you’ll be keeping two copies of the data online, the original and a
mirror copy.