Skip to main content

Unusual disk partition config - is it OK?

Comments

8 comments

  • dalem
    Its oK and will work but you will likely run out of room on your /var partition quickly I have no idea why providers do this? in this day & age with modern Hard drives its not necessary to partition out everything This is our standard default for a single SAT/SAS configuration /boot 300M /tmp 4096M /swap 8096 (variable depending on Ram) / The rest Note: depending on customer request we will do it anyway they want to only thing different we may do on occasion is add a /var partition There is no reason to set it up this way unless you are adding extra drives into the mix EG: running MySQL on SSD,etc
    0
  • Bruce123
    Thanks dalem. But I don't understand -- I don't see a /var partition at all. I don't see any partitions! Everything reports like this: root@ns7 [~]# df -hT /var Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/sysvg-ROOT ext4 443G 11G 410G 3% / On one of my other servers - root@ns5 [~]# df -hT /var Filesystem Type Size Used Avail Use% Mounted on /dev/sda2 ext3 7.6G 2.5G 4.8G 35% /var Where/how can I see the size of the /var (or /home or /usr or anything else)? Thanks again.
    0
  • dalem
    They mounted your file system on a LVM parttion df -h /dev/mapper/sysvg-ROOT
    0
  • Bruce123
    Thanks dalem. Executing df -h /dev/mapper/sysvg-ROOT returns the same output as everything else: Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/sysvg-ROOT ext4 443G 11G 410G 3% / I am still interested to see the size and location of the /var partition you believe may be too small. Thanks again.
    0
  • Bruce123
    Update from my data canter -- I asked: So do I understand that the "typical" cpanel/WHM partitions for /home, /temp, /usr, /var... are not present, but instead directories are used, and they will therefore expand as needed to accommodate what must reside within? They replied: Correct, /home, /temp, /usr, /var are all under root and will use the space as needed. Being paranoid, I would appreciate it if someone from cPanel could verify that this configuration is OK. Thanks again. Bruce
    0
  • dalem
    It will work fine the way they have it
    0
  • cPanelMichael
    Hello :) Actually, your data center setup your partitions exactly how we recommend. See "Recommended partitions" at: Installation Guide It's good that it's setup that way because there is no concern of your /var or /usr partitions reaching capacity. Thank you.
    0
  • Bruce123
    Thank you. That's just what I needed to know.
    0

Please sign in to leave a comment.