Skip to main content

Question about Partition size

Comments

3 comments

  • SysSachin
    Hello, Please note that on cPanel server account data stored in /home directory and database stored in /var partition. Might be there is large size database on your server and due to that / partition showing 15G used. Please paste the output for flowing command so that I can assist you.
    cd / du -sch *
    0
  • userkhan724
    Hi
    [root@server2 ~]# cd / [root@server2 /]# du -sch * 4.0K backup 6.9M bin 50M boot 276K dev 8.0K error_log 31M etc 7.5G home 291M lib 27M lib64 16K lost+found 4.0K media 4.0K mnt 128M opt du: cannot access `proc/31546/task/31546/fd/4': No such file or directory du: cannot access `proc/31546/task/31546/fdinfo/4': No such file or directory du: cannot access `proc/31546/fd/4': No such file or directory du: cannot access `proc/31546/fdinfo/4': No such file or directory 0 proc 12K quota.user 4.0K razor-agent.log 13M root 16M sbin 0 scripts 0 selinux 4.0K srv 0 sys 7.9M tmp 4.4G usr 9.6G var 22G total [root@server2 /]#
    0
  • cPWilliamL
    What's the specific issue? I'm assuming that you're receiving alerts about the '/' partition filling up? You can try reducing disk usage on '/'. but really, the best solution will be to move '/var/' and likely '/backup/' to their own partition. Not only will this free up space, it will make MySQL less likely to crash, and your backups less likely to cause issues with other services, as well as improve performance. This will either require adding a new disk or re-partitioning your drive, trimming some off '/home/'. If you're not familiar with partition drives, I would highly recommend reaching out to your host or system administrator, as it could result in complete data loss. Below are some articles on partitioning: How to Resize a Partition using fdisk - Red Hat Customer Portal
    0

Please sign in to leave a comment.