3 Administering LVM
This section contains information on the day-to-day operation of LVM. It addresses the following
topics:
•
“Administration Tools” (page 38)
•
“Displaying LVM Information” (page 40)
•
“Common LVM Tasks” (page 43)
•
“Moving and Reconfiguring Your Disks” (page 70)
•
“Migrating a Volume Group to New Disks:
vgmove
” (page 95)
•
“Migrating a Logical Volume to New Disks:
lvmove
” (page 96)
•
“Administering File System Logical Volumes” (page 97)
•
“Administering Swap Logical Volumes” (page 101)
•
“Administering Dump Logical Volumes” (page 102)
•
“Creating and Administering Snapshot Logical Volumes” (page 103)
•
“Managing the lvmpud Daemon” Page 105
•
“Hardware Issues” (page 106)
Administration Tools
HP-UX provides two tools to manage your LVM configuration:
•
HP System Management Homepage (HP SMH)
: An HP-UX tool that provides an easy-to-use
GUI for performing most LVM tasks. HP SMH minimizes or eliminates the need for detailed
knowledge of administration commands, thus saving time. Use HP SMH to manage your LVM
configuration whenever possible, especially when performing a new task. HP SMH can help
you with the following tasks:
◦
Creating or removing volume groups
◦
Adding or removing disks within volume groups
◦
Activating and deactivating volume groups
◦
Exporting and importing volume groups
◦
Creating, removing, or modifying logical volumes
◦
Increasing the size of logical volumes
◦
Creating or increasing the size of a file system in a logical volume
◦
Creating and modifying mirrored logical volumes
◦
Creating striped logical volumes
◦
Splitting a mirrored logical volume and merging a mirror copy
◦
Adding and removing mirror copies within mirrored logical volumes
◦
Creating and modifying physical volume groups
To use HP SMH, enter the command
/usr/sbin/smh
.
For help using HP SMH, see the HP SMH online help.
•
LVM command-line interface
: LVM has a number of low-level user commands to perform LVM
tasks, described in
“Physical Volume Management Commands” (page 39)
,
“Volume Group
38
Administering LVM