We have a dedicated server with OVH. We can access the server via SSH and WHM Cpanel. We want to increase the size of the /dev/sda2
partition. It is only 20 GB. And running out of space frequently (every other day). We want to increase the size to at least to 50GB. How can we do it. Can you please provide technical guidelines to increase the space on the /dev/sda2the
partition without disrupting the files. We have several websites hosted in that server, so we don't want to disrupt the live websites, but we want to increase the space in that disk.
After logging in to the server as root and SSH ; We have used df -h
to see how much space is left. as you can see from the screenshot /dev/sda2 has only 20 gb space and out of which 17Gb is full.
we are not knowledgeable enough in server administration and Linux, so we cannot get much information from the similar type questions.
Additional information:
/var/log
is filling up all the space. We clear the folder as temporary fix.
lvm
, you will need to repartition the harddrive (sda
). – Panki Jan 29 '20 at 11:06