Pages

Wednesday, March 21, 2012

hp-ux how to add swap space file system.

powermt display dev=all |more
ioscan -fnC disk
insf -C disk
ioscan -fnC disk
powermt display dev=all
pvcreate /dev/rdsk/c29t4d5
mkdir vg09
cd vg09
mknod group c 64 0x010000
vgcreate vg09 /dev/dsk/c29t4d5
lvcreate -L 20000 /dev/vg09
lvdisplay /dev/vg09/lvol1
swapon /dev/vg09/lvol1

cd /etc
vi fstab
swapinfo -atm
glance
uname -a
kctune

kctune -v swchunk
kctune swchunk=4096
kctune -v swchunk

No comments:

Post a Comment