How do I shrink the default paging space on hd6?
1) create a paging space to use temporarily
mkps -s 16 -a rootvg (PP=256MB)
2) change default paging space hd6 so it is not used at next reboot
chps -a n hd6
3) Edit /sbin/rc.boot and change swapon /dev/hd6
swapon /dev/paging00
3a)The default system dump device is /dev/hd6, it has to
be changed to the temporary swap device before you remove the old
swap device.
sysdumpdev -p /dev/paging00
4) Update information in boot logical volume
bosboot -a -d hdisk0
5) shutdown and reboot
6) remove current hd6 and create a new one of smaller size
sysdumpdev -p /dev/paging00
rmps hd6
mklv -y hd6 -t paging rootvg
7) Re-edit /sbin/rc.boot to swap to /dev/hd6
swapon /dev/hd6
8) Change the dump device back to hd6:
sysdumpdev -p /dev/hd6
9) Update information in boot logical volume
bosboot -a -d hdisk0
10) change current paging device (paging00) so it is inactive at next boot
chps -a n paging00
11) shutdown, reboot, remove paging00 using the command:
rmps paging00
You can check your paging space with "lsps -a"
Comentarios
Publicar un comentario