Closed athajaerel closed 6 months ago
[ansible@k3s-mother-002 ~]$ sudo swapoff -v /dev/rhel_k3s-mother-001/swap
swapoff /dev/rhel_k3s-mother-001/swap
[ansible@k3s-mother-002 ~]$ sudo lvremove -y /dev/rhel_k3s-mother-001/swap
Logical volume "swap" successfully removed.
[ansible@k3s-mother-002 ~]$ sudo vi /etc/fstab
[ remove from fstab : /dev/VolGroup00/LogVol02 swap swap defaults 0 0 ]
[ansible@k3s-mother-002 ~]$ sudo systemctl daemon-reload
[ansible@k3s-mother-002 ~]$ sudo vi /etc/default/grub
[ remove from grub : all references to swap disk ]
[ansible@k3s-mother-002 ~]$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
[ rolling restart of all nodes ]
Must be disabled. How did it get turned on again?