How to Disable Solaris Swap Partition:
Edit the /etc/vfstab
file and make two changes:
- The line starting with
#swap
, make the yes under column "Mount at boot
" to no.
- Put a
#
at the start of the "/dev/zvol/dsk/rpool/swap
" line.
- Save and reboot.
It should now have no swap mounted when rebooted. If GNOME is installed system monitor will show swap not available.
Source
Date: July 14th 2024.
Back