Evening all.
I have recently setup CPanel on a Centos 7 system within HyperV. The total disk size was approximately 40GB.
This quickly filled up due to cpanel use so i expanded the Hyperv disk to 100GB (May increase to 200 once i make more room)
I have expanded within Centos so that my 'Partition2' (LVM2 PV) now utilizes the full 100GB. The problem however is that the cpanel runs from my '/dev/mapper/cl-root' which is still showing as 40GB.
My question is...
How can i change this to utilize the full 100GB?
Attached is a screen shot of an output of: lsblk;pvs;vgs;lvs;df -h;fdisk -l /dev/sda
Also I know there are errors regarding missing PV but not sure how to resolve.
Thanks in advance.
cpanel on Centos7 VM (Hyperv) - Disk resizing trouble within Centos
cpanel on Centos7 VM (Hyperv) - Disk resizing trouble within Centos
- Attachments
-
- hyperv - single disk of 107GB
- hyperv1.png (63.96 KiB) Viewed 1246 times
-
- output of centos disk
- fdisk1.png (130.07 KiB) Viewed 1246 times
-
- Posts: 58
- Joined: 2017/02/20 01:36:15
Re: cpanel on Centos7 VM (Hyperv) - Disk resizing trouble within Centos
Did you remember to extend the filesystem after adding the new storage?
xfs_growfs /filesystem
xfs_growfs /filesystem
Re: cpanel on Centos7 VM (Hyperv) - Disk resizing trouble within Centos
Why are you missing two PVs from your system?
Did you pvresize /dev/sda2? Did you lvresize the LV that the filesystem in question resides on?
Did you pvresize /dev/sda2? Did you lvresize the LV that the filesystem in question resides on?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke