/dev/mapper/vg_server-lv_root is full, /usr/tmpDSK has loads of space available

souleater7

Member
Jan 9, 2014
12
0
1
Wolverhampton, United Kingdom
cPanel Access Level
Root Administrator
Partition Resize and remount /tmp

Hi Guys, I was wondering if you could help me, for some reason my server looks like this


[email protected] [/scripts]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_server-lv_root
50G 49G 0 100% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/sda1 477M 140M 312M 31% /boot
/dev/mapper/vg_server-lv_home
1.3T 29G 1.2T 3% /home

/Home has 1.3T of space when i think it only needs a little, say 250gb, i need /dev/mapper/vg_server-lv_root to have most the space, how can i increase thisand setup my /tmp which i also unmounted :( ?

Thanks in advance
 
Last edited:

souleater7

Member
Jan 9, 2014
12
0
1
Wolverhampton, United Kingdom
cPanel Access Level
Root Administrator
i have deleted some files and have my cpanel back up and running, it seemed my backups were being created on root, i have now changed the config to /home/backups/ in hope they fill up the 1.2t instead, anybody know about the /tmp file, its still missing and I'm wondering what it does ant how I set it up again, all my sites and e-mail are working now.

Peter
 

24x7ss

Well-Known Member
Sep 30, 2014
272
19
68
India
cPanel Access Level
Root Administrator
Twitter
As per the current output it clearly shows that you are having LVM partioning and your / is full. You have to increase the / partioning of the server because all the cpanel config file saves under /usr and also mysql is there so you must have increase / to 500G.

To increase / you have to use lvextend command. But if you are not sure how to use it that contact profeessional administrator. They will do this for you because one sigle mistake and your all data will be lost.

Before running lvextend you have to use lvreduce command to free up some space from /home so that you can add that space to /

Regarding /tmp I think you have not mounted it. Provide me the output of /etc/fstab file.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Hello :)

Yes, I suggest consulting with your hosting provider or a qualified system administrator to have the partitions modified to match the recommendations here:

Installation Guide - Partitions

Note that you should consider adding an additional partition for your backups to avoid quota issues.

Thank you.