1833049 Members
2374 Online
110049 Solutions
New Discussion

Re: Deconfiguring swap

 
SOLVED
Go to solution
Berd
Trusted Contributor

Deconfiguring swap

Hello all,

I am running 11.31 on rx6600. This box was previously suffering from a performance issue and as part of this I added a secondary swap area, /dev/vgmisc/moreswap, which is not really needed. The performance issues lay elsewhere.

/etc # swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192 122 8070 1% 0 - 1 /dev/vg00/lvol2
dev 8280 38 8242 0% 0 - 1 /dev/vgmisc/moreswap
reserve - 13269 -13269
memory 15555 5392 10163 35%
total 32027 18821 13206 59% - 0 -

I now need to deactivate volume group vgmisc so that I can increase the max physical volumes parameter, nice touch in 11.31. My problem is can I deactivate the secondary swap area so that I can do this without a reboot. I would have hoped there was a swapoff command ;-)

Cheers,
Berd
2 REPLIES 2
Pete Randall
Outstanding Contributor
Solution

Re: Deconfiguring swap

Unfortunately, no. There is no "swapoff" command. The only way to deactivate it would be to remove the entry from fstab and reboot.


Pete

Pete
Berd
Trusted Contributor

Re: Deconfiguring swap

Thanks Pete,

I was hoping maybe 11.31 might have made things a little easier, never mind.

Berd