Technical data

84 Chapter 4
Troubleshooting Your Installation
Media Install
Here are the steps required for increasing the size limit of /usr:
1. Determine if any space is available by entering the following:
/sbin/vgdisplay
You should see a display like the following:
- Volume groups -
VG Name /dev/vg00
VG Write Access read/write
VG Status available
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 4 MB extents available, in this
case this is 79 (equivalent to 316 MB).
2. Enter the following:
/sbin/shutdown
Change to single user state. This will allow /usr to be unmounted.
3. Enter the following:
/sbin/mount
You will see a display similar to the following:
/ on /dev/vg00/lvol1 defaults on Sat Jan 28 23:19:19 1995
/usr on /dev/vg00/lvol7 defaults on Sat Jan 28 23:19:28 1995
4. Determine which logical volume maps to /usr. This should be
/dev/vg00/lvol7 by default.
5. Extend the size of the logical volume by entering the following:
/sbin/lvextend -L $old space + new space /dev/vg00/lvol7
This extends the size of the logical volume.
For example,
/sbin/lvextend -L 332 /dev/vg00/lvol7
This will make this volume 332 MB.