Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Administering a System: Managing Disks and Files
Managing Disks
Chapter 6574
Increasing the size of logical volume by
allocating disk space.
lvextend
(1M)
Decreasing the size of a logical volume.
lvreduce
(1M)
a
Removing the allocation of disk space for one
or more logical volumes within a volume
group.
lvremove
(1M)
Preparing a logical volume to be a root,
primary swap, or dump volume.
lvlnboot
(1M)
b
Removing link that makes a logical volume a
root, primary swap, or dump volume.
lvrmboot
(1M)
Increasing the size of a file system up to the
capacity of logical volume.
extendfs
(1M)
c
Splitting a mirrored logical volume into two
logical volumes.
lvsplit
(1M)
d
Merging two logical volumes into one logical
volume.
lvmerge
(1M)
e
a. To prevent data loss and possible file system corruption, back
up contents first.
b. Invoked automatically whenever the configuration of the root
volume group is affected by one of the following commands:
lvextend, lvmerge, lvreduce, lvsplit, pvmove, lvremove,
vgextend, or vgreduce.
c. You will first need to unmount the file system and then
increase the size of the logical volume that contains the file
system using lvextend. If you are using JFS (VxFS) and have
the OnLineJFS product, you can do online resizing with fsadm
(1M). (See Disk and File Management Tasks on HP-UX for
additional information.)
d. Requires optional HP MirrorDisk/UX software.
e. Requires optional HP MirrorDisk/UX software.
Table 6-4 Commands Needed for Logical Volume Management Tasks
Task Commands Needed