HP-UX HB v13.00 Ch-13 - LVM

HP-UX Handbook Rev 13.00 Page 106 (of 110)
Chapter 13 LVM
October 29, 2013
EXAMPLE:
# vgchange a y /dev/vg01
Quorum Problems with Your Root Volume Group
Your root volume group might also have a quorum problem. This might occur if you
have physically removed a disk from your system because you no longer intended to
use it with the system, but did not remove the physical volume from the volume group
using vgreduce. Although you should never remove an LVM disk from a system without
first removing it from its volume group, you can probably recover from this situation by
booting your system with the quorum override option, hpux -lq.
Problems after Reducing the Size of a Logical Volume
If you extend the logical volume without extending its file system, you can subsequently
safely reduce the logical volume's size as long as it remains as big as its file system.
(Use bdf(1) to determine the size of your file system.) Once you use the extendfs
command to expand the file system, you can no longer safely reduce the size of the
associated logical volume.
If you reduce the size of a logical volume containing a file system to a size smaller than
that of a file system within it using the lvreduce command without subsequently creating
a new smaller file system, you may crash your system. If this occurs:
1. Reboot your system in single-user state.
2. If you have already have a good current backup of the data in the now corrupt file
system, skip this step.
Only if you do not have such backup data and if that data is critical, you may
want to try to recover whatever part of the data that may remain intact by
attempting to back up the files on that file system in your usual way.
3. Immediately unmount the corrupted file system, if it is mounted.
4. You can now use the logical volume for swap space or raw data storage, or use
SAM or the newfs command to create a new file system in the logical volume.
This new file system will now match the current reduced size of the logical
volume.
5. If you have created a new file system on the logical volume, you can now do one
of the following: