HP-UX 11i Installation and Update Guide, March 2003

Known Problems and Troubleshooting
Adjusting Required Minimum File System Sizes
Appendix B 183
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 2000
VGDA 2
PE Size (Mbytes) 4
Total PE 249
Alloc PE 170
Free PE 79
Total PVG 0
The "Free PE" indicates the number of 4MB extents available, in this
case 79 (equivalent to 316 MB).
Step 2. Change to single user state:
/sbin/shutdown
This will allow /var to be unmounted.
Step 3. View mounted volumes:
/sbin/mount
You will see a display similar to the following:
/ on /dev/vg00/lvol1 defaults on Sat Mar 8 23:19:19 1997
/var on /dev/vg00/lvol7 defaults on Sat Mar 8 23:19:28 1997
Step 4. Determine which logical volume maps to /var. In this example, it is
/dev/vg00/lvol7
Step 5. Unmount /var:
/sbin/umount /var
This is required for the next step, since extendfs can only work on
unmounted volumes. If you get a “device busy” error at this point, reboot
the system and log on in single-user mode before continuing
Step 6. Extend the size of the logical volume:
/sbin/lvextend -L new_size_in_MB /dev/vg00/lvol7
For example, to make this volume 332 MB: