→ Applies to: SynetoOS 4.x
Step 1. Connect to SynetoOS appliance via SSH as admin
ssh admin@<your_ip_address_or_hostname>
Step 2. Remove bash_profile
rm ~admin/.bash_profile
After running the command, you need to perform logout and login again.
Step 3. Remove bash_profile
sudo su
Step 4. Check current swap size
zfs get volsize rpool/swap
Step 5. Unmount the swap
swap -d /dev/zvol/dsk/rpool/swap
Step 6. See that no actual swap is mounted
swap -l
Step 7. Set the swap size
zfs set volsize=16G rpool/swap
The command above set the swap to 16GB
Step 8. Mount the swap
swap -a /dev/zvol/dsk/rpool/swap
Step 9. See that the swap is mounted correctly
swap -l