I have my current partition disk space (found at /dev/mapper/cl-root) set at 50Go on my CentOS server. I want to extend the current disk space (to become 500Go) used in a neat way with commands.
How to do it ?
UPDATE : parted -l lsblk
returns /dev/sda, /dev/sdb, /dev/sdc actual sizes and other infos.
But what i want is to extend the root partition under /dev/mapper/cl-root which is listed among others with fdisk -l
cmd
After evaluating the output of commands and the comments, you need:
(execute these commands as a sudoer user, adding sudo in front or as root)
Here's a generic answer I gave a few years back, most if not all of it should still work;
How to resize the disk of a Fedora guest VM in VMWare ESXi