New cPanel install on LVM does this look normal to you? It does not to me :-)

Operating System & Version
Centos 7
cPanel & WHM Version
100.0.9

rhenderson

Well-Known Member
Apr 21, 2005
784
2
168
Oklahoma
cPanel Access Level
Root Administrator
Hi everyone,

Been a while since I have done a server migration. I have never used LVM (using Virtualizor to create the cPanel VPS) so after researching I got Virtualizor up and running and launched a cPanel VPS, yea me. But this just doesn't look right :)

Code:
[[email protected] ~]# df -Th
Filesystem     Type      Size  Used Avail Use% Mounted on
devtmpfs       devtmpfs   23G     0   23G   0% /dev
tmpfs          tmpfs      23G     0   23G   0% /dev/shm
tmpfs          tmpfs      23G   33M   23G   1% /run
tmpfs          tmpfs      23G     0   23G   0% /sys/fs/cgroup
/dev/vda1      ext4      1.1T   17G  962G   2% /
/dev/loop0     ext4      3.9G   20M  3.6G   1% /tmp
tmpfs          tmpfs     4.6G     0  4.6G   0% /run/user/0
cPanel disk shows

Code:
Device        Size   Used    Available Percent Used    Mount Point
/dev/loop0    3.9G    20M    3.6G    1%    /tmp
/dev/vda1    1.1T    15G    965G    2%    /
I was thinking, is that right, a 4TB /tmp partition, lol. Sure doesn't look normal. There are a lot of help topics on making /tmp bigger but not on making it smaller. Any help pointing me in the right direction would be appreciated.

Thanks,
Randy Henderson
 

Attachments

rhenderson

Well-Known Member
Apr 21, 2005
784
2
168
Oklahoma
cPanel Access Level
Root Administrator
Ok, yes that is correct, thanks, then the /dev/vda1 is what I need to resize, not sure if that is possible, again new to me, I wanted /dev/vda1 to be 3.2 TB to 3.5 TB and it's 1.1TB, I knew I was missing space for some reason I misread and thought it was all in /tmp/

Randy
 

andrew.n

Well-Known Member
Jun 9, 2020
965
358
63
EU
cPanel Access Level
Root Administrator
this is more of a sys admin issue rather than cPanel :) but does your disk 3.5TB in size? What does "fdisk -l" shows? If not then you have to resize the disk first from Virtualizor and then the partition and filesystem from within the VPS.
 

rhenderson

Well-Known Member
Apr 21, 2005
784
2
168
Oklahoma
cPanel Access Level
Root Administrator
Thanks Andrew, I had deleted and recreate the volume, so the names may have changed

Code:
Disk /dev/vda: 3481.1 GB, 3481070993408 bytes, 6798966784 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000b136f

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *        2048  2389313535  1194655744   83  Linux
/dev/vda2      2389313536  2503999487    57342976   82  Linux swap / Solaris
So it i says it is correct 3481.1 GB

But that's not what's available

Code:
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
vda    253:0    0  3.2T  0 disk
├─vda1 253:1    0  1.1T  0 part /
└─vda2 253:2    0 54.7G  0 part [SWAP]
loop0    7:0    0    4G  0 loop /var/tmp
I put in a support ticket with Virtualizor but this should not be so complicated :)
 

andrew.n

Well-Known Member
Jun 9, 2020
965
358
63
EU
cPanel Access Level
Root Administrator

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,235
2,422
363
cPanel Access Level
Root Administrator
As mentioned, there isn't anything cPanel can do to help with this. You may be able to resize the existing configuration depending on how your host handles that, or you may need to create a new machine, specifying the size of the partitions before the server is built.