Operating System - Tru64 Unix
1751854 Members
5454 Online
108782 Solutions
New Discussion юеВ

Re: how can I to change default swap point to extend swap device

 
mac2008_1
Advisor

how can I to change default swap point to extend swap device

how can I to change default swap point to extend swap device?my system is V4.0F TRU UNIX,
now default swap is 200M,
# swapon -s
Swap partition /dev/vol/rootdg/swapvol (default swap):
Allocated space: 25536 pages (199MB)
In-use space: 25536 pages (100%)
Free space: 0 pages ( 0%)

Swap partition /dev/vol/rootdg/swapvol2:
Allocated space: 512000 pages (4000MB)
In-use space: 115885 pages ( 22%)
Free space: 396115 pages ( 77%)


Total swap allocation:
Allocated space: 537536 pages (4199MB)
Reserved space: 186982 pages ( 34%)
In-use space: 141421 pages ( 26%)
Available space: 350554 pages ( 65%)

how can I to change default swap point to extend swap device??

thanks !

from China
mac2008
4 REPLIES 4
Rob Leadbeater
Honored Contributor

Re: how can I to change default swap point to extend swap device

Hi,

You need to change the order of the swap partitions in /etc/fstab, and also update the symbolic link /sbin/swapdefault to point to the relevant swap partitions, as detailed in the man page for swapon.

Cheers,

Rob
Venkatesh BL
Honored Contributor

Re: how can I to change default swap point to extend swap device

A reboot is required for you to see the change.
mac2008_1
Advisor

Re: how can I to change default swap point to extend swap device

thank for all ,you are good man , :)
Venkatesh BL
Honored Contributor

Re: how can I to change default swap point to extend swap device

Check this out to learn about the members point system: http://forums11.itrc.hp.com/service/forums/helptips.do?#28