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

Administering a System: Managing Disks and Files
Managing Disks
Chapter 6 571
Managing Logical Volumes Using SAM
SAM enables you to perform most, but not all, LVM management tasks.
Tasks that can be performed with SAM include:
Creating or removing volume groups
Adding or removing disks within volume groups
Creating, removing, or modifying logical volumes
Increasing the size of logical volumes
Activating and deactivating volume groups
Creating or increasing the size of a file system in a logical volume
(see “Managing File Systems” on page 602)
Setting up and modifying swap and dump logical volumes (see
“Managing Swap and Dump” on page 662)
Creating and modifying mirrored logical volumes (see “Managing
Mirrored File Systems” on page 627)
These tasks can also be performed with HP-UX commands. (See the
section below as well as the specific sections referred to above.)
To use SAM, enter sam.
For help using SAM, consult SAM’s online help.
Managing Logical Volumes Using HP-UX Commands
As stated above, all disk management tasks performed by SAM can also
be done using HP-UX commands.
The following tables give you general information on the commands you
will need to use to perform a given task. Refer to the HP-UX Reference
for detailed information.
Table 6-2 Commands Needed for Physical Volume Management Tasks
Task
Commands
Needed
Changing the characteristics of a physical
volume in a volume group.
pvchange
(1M)