HP-UX 11i Version 1 Installation and Update Guide, June 2004
Installing and Updating System Requirements
Disk Space and Memory Requirements
Chapter 366
To increase /stand, you’ll first have to create a larger /swap volume,
since both require contiguous blocks and are adjacent volumes. If you
need help with this procedure, refer to the Managing Systems and
Workgroups manual, available on the HP-UX 11i v1 Instant Information
CD and on HP’s documentation web site:
http://docs.hp.com/hpux/os/11i/oe/ or,
http://devrsrc1.external.hp.com/STK/howtosystems.html
Step 1. As root, use sam to create a new contiguous /swap volume of the required
size, say, 300 MB. Name the new volume /dev/vg00/swap.
Step 2. Using sam, verify that there is no bad block relocation and the new
/swap volume is contiguous.
Step 3. As root from a console window, remove and add primary swap and dump
devices:
1. Remove the current dump device:
lvrmboot -v -d lvol2 /dev/vg00
2. Add a new dump device:
lvlnboot -d /dev/vg00/swap
3. Remove the current swap device:
lvrmboot -s /dev/vg00
4. Add a new swap device:
lvlnboot -s /dev/vg00/swap
Step 4. Verify your change by entering:
lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (8/0/19/0.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t6d0
Root: lvol3 on: /dev/dsk/c0t6d0
Swap: swap on: /dev/dsk/c0t6d0
Dump: swap on: /dev/dsk/c0t6d0, 0
Step 5. If your changes are correct, reboot the system.