swap space / paging space

how do you get the paging space reduced without rebooting the machine ? the os is aix

If you are referring to reducing swap space. AFAIK, you MUST reboot to disable swap...

IF you define swap in your /etc/fstab or /etc/vfstab or similar... you comment it out and then reboot...

To shrink it... do the same as above, then when you reboot. Then you will be able to reduce the size and then activate it. In HPUX, there is a swapon command to activate swap after creating it.

1 Like

Hi,

at AIX 5L it's possible to reduce size of paging space "on-fly".

Start smitty and go to "Change / Show Characteristics of a Paging Space" menu. Over there is row saying "Or NUMBER of logical partitions to remove" . Just enter a number of logical partitions that you want to remove from paging space.

I was not sure if you was asking how to reduce physical size of paging space or are you just trying to reduce usage of paging space. To reduce usage you might want to check out vmtune command.

--Tommy