HP-UX Logical Volume Manager and MirrorDisk/UX Release Notes (March 2008)

Changed Features
The following features have changed in the March 2008 release of LVM and MirrorDisk/UX:
vgcreate Autocreation of Volume Group File
The vgcreate command now automatically creates the device file /dev/vgname/group to
manage the volume group, regardless of the volume group version.
If you want to specify the minor number of the group file, create /dev/vgname/group before
running the vgcreate command. To create the volume group device file, follow these steps:
1. Create a directory for the volume group. For example:
# mkdir /dev/vgname
By convention, vgname is vgnn, where nn is a unique number across all volume groups.
However, you can choose any unique name up to 255 characters.
2. Create a device file named group in the volume group directory with the mknod command.
For example:
# mknod /dev/vgname/group c major minor
The c following the device file name specifies that group is a character device file.
major is the major number for the group device file. For a Version 1.0 volume group, it is
64. For a Version 2.0 volume group, it is 128.
minor is the minor number for the group file in hexadecimal. For a Version 1.0 volume
group, minor has the form 0xnn0000, where nn is a unique number across all Version 1.0
volume groups. For a Version 2.0 volume group, minor has the form 0xnnn000, where
nnn is a unique number across all Version 2.0 volume groups.
For more information on mknod, see mknod(1M); for more information on major numbers
and minor numbers, see HP-UX System Administrator's Guide: Logical Volume Management.
vgremove Removal of Volume Group File
The vgremove command now supports a -X option to remove the volume group device files
in /dev.
Display Enhancements
The lvdisplay, pvdisplay, vgdisplay and vgcfgrestore commands display additional
information.
vgdisplay displays the volume group version, the maximum size to which the volume
group can grow, and the maximum number of physical extents. For example:
# vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 7
Open LV 7
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4328
VGDA 2
PE Size (Mbytes) 16
Total PE 4319
Alloc PE 4318
Free PE 1
Total PVG 0
8