HP-UX System Administrator's Guide: Routine Management Tasks
2. Make sure no one has files open in any file system mounted to this logical volume
and that it is no one’s current working directory, for example:
fuser -cu /work/project5
NOTE: If the file system is shared with other systems (exported), use the fuser
command to check on the systems it is shared with to verify that no one is using
it. Then unmount it on those systems before unmounting it on the server.
3. Unmount the file system; for example:
umount /work/project5
4. Access the HP SMH Homepage.
5. Select Tools, Disks and File Systems, Logical Volumes. The Logical Volumes
page will be displayed.
6. Select the logical volume you want to extend and click on the Extend LV... action
on the right side of the page. The Extend LV page will be displayed.
7. Check to make sure that the Available Space in VG is sufficient for the desired
increase. Enter the new total space in the New Size field. Click on Extend. When
the process is completed click on Back to return to the Logical Volumes page.
Note that the size of the selected Logical Volume has been increased.
8. Remount the file system; for example:
mount /dev/vg01/lvol5 /work/project5
9. If /work/project5 will continue to be used by NFS clients, share it again on the
server:
(shareall -F nfs /work/project5)
and remount it on the clients:
mount -F nfs serversys: /work/project5 /work/localproject5
Extending a Logical Volume When You Can’t Use HP SMH
Before you can extend a logical volume, you must unmount the file system mounted
to it. In the case of system directories, such as /var and /usr, you will need to be in
single-user mode to do this.
100 Managing Systems