Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Ignite-UX Administration Guide: HP Computers with HP-UX 10.x, 11.0 or 11i > Appendix A Troubleshooting

Adjusting File System Size

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The absolute minimum /usr file-system sizes needed to update to HP-UX 11.0 are:

  • For 32-bit: 300 MB.

  • For 64-bit: 324 MB.

If the required file-system size for the bundle you copy to a depot exceeds that file system limit set by your disk installation, you will get an error condition during the copy process. Use lvextend and extendfs in this situation to create a larger file system. You might have a problem updating your system(s) if the /usr or /var volume is too small.

If you try an update, swcopy determines how much disk space is required. If there isn't sufficient space, swcopy reports an error:

ERROR: The used disk space on filesystem "/var" is estimated
to increase by 57977 Kb.
This operation will exceed the minimum free space for this
volume. You should free up at least 10854 Kb to avoid
installing beyond this threshold of available user disk space.

In this example, you would need to increase the file system size of /var by 10 MB, which actually needs to be rounded up to 12 MB.

Follow these steps to increase the size limit of /var:

  1. Determine if any space is available by entering:

    /sbin/vgdisplay

    You should see a display like this:

             - 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

    Free PE indicates the number of 4MB extents available, in this case this is 79 (equivalent to 316 MB).

  2. Shutdown the system: /sbin/shutdown

    Change to single user state. This will allow /var to be unmounted.

  3. Enter: /sbin/mount

    You will see a display similar to this:

    / 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
  4. Determine which logical volume maps to /var. In this example, it is /dev/vg00/lvol7.

  5. Enter: /sbin/umount /var

    This is required for the next step, since extendfs can only work on unmounted volumes.

  6. Extend the size of the logical volume:

    /sbin/lvextend -L new_size_in_MB /dev/vg00/lvol7

    For example, this makes the volume 332 MB:

    /sbin/lvextend -L 332 /dev/vg00/lvol7

  7. Extend the file system size to the logical volume size:

    /sbin/extendfs /dev/vg00/rlvol7

  8. Enter: /sbin/mount /var

  9. Either go back to the regular init state,init 3 orinit 4, or reboot.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.