Is this disk setup is normal?

NOX1996

Registered
Jun 19, 2020
1
0
1
Hereford Base
cPanel Access Level
Root Administrator
So I run a small server and I was trying to run YUM UPDATE it says that I don't have enough space which is ok I am working on it. So I look up the disk suage on cPanel I was not very happy :)

/dev/loop0656M656M0100%/tmp
/dev/mapper/centos-home76G4.3G72G6%/home
/dev/mapper/centos-root20G17G3.3G84%/
/dev/vda11014M182M833M18%/boot

Now First order of busness for me was to resize /tmp and /
I thought ok tmp is easy let's try to resize /
While I was making a backup I ran this command to know if I am running LVM which someone said it is easier. Keep in mind I have zero experience is disk management neither windows nor Linux.
So after running this command df -Th I found this
Filesystem Type Size Used Avail Use% Mounted on
devtmpfs devtmpfs 7.8G 0 7.8G 0% /dev
tmpfs tmpfs 7.8G 6.5M 7.8G 1% /dev/shm
tmpfs tmpfs 7.8G 817M 7.0G 11% /run
tmpfs tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/mapper/centos-root xfs 20G 17G 3.3G 84% /
/dev/vda1 xfs 1014M 182M 833M 18% /boot
/dev/mapper/centos-home xfs 76G 4.3G 72G 6% /home
/dev/loop0 ext4 656M 656M 0 100% /tmp
tmpfs tmpfs 1.6G 16K 1.6G 1% /run/user/42
tmpfs tmpfs 1.6G 0 1.6G 0% /run/user/983
tmpfs tmpfs 1.6G 0 1.6G 0% /run/user/0

I don't understand much but seeing too much tmpfs made me super worried about wasted space. I am planning to add 2 more SSDs 2TB each since I am running Proxmox RAID1 yeah it will be totoal of 4 drives i know RAID 10 is better but when I started the server I only had 2 so idk if I can change now. anyway anyone have an idea what kinda of a mess I have how can I ersize /tmp and / ?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
These are all the same really:
Code:
tmpfs tmpfs 1.6G 16K 1.6G 1% /run/user/42
tmpfs tmpfs 1.6G 0 1.6G 0% /run/user/983
tmpfs tmpfs 1.6G 0 1.6G 0% /run/user/0
They're all different user sessions on the same tmpfs mount


For these:
Code:
devtmpfs devtmpfs 7.8G 0 7.8G 0% /dev
tmpfs tmpfs 7.8G 6.5M 7.8G 1% /dev/shm
tmpfs tmpfs 7.8G 817M 7.0G 11% /run
tmpfs tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
This is explained here: Do tmpfs and devtmpfs share the same memory region?

What's full is
Code:
/dev/loop0 ext4 656M 656M 0 100% /tmp
There are a number of threads on this in the forums here: How To Increase size of /var/tmp and /tmp ?