Tuesday, 19 September 2017

How to reduce swap size in rhel 7

Step 1

fdisk -l 

swapoff -v /dev/vg/swap

step 2

lvreduce /dev/vg/swap -L -1G

It will give result like below




Step3 

Make swap format to new

mkswap /dev/vg/swap



this is how it will shows

Step 4

Now mount swap with following command

swapon -va



that's all

Helm installation on rhel 9

 You can do install with 2 commands  first one is curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-hel...