Web Hosting Talk







View Full Version : Best CPanel Partitions?


Joshua
01-27-2004, 05:24 PM
What would be the best partitions on a CPanel server for a 40GB, 80GB, 120GB, and 200GB HD?


For a 60GB drive, I'd use
/dev/hda3 3.9G /usr
/dev/hda2 3.9G /var,

but don't know how much would be the best to assign to "/", "/tmp". The leftover space would go to /home.

Thanks,
Josh

Joshua
01-28-2004, 10:53 AM
http://cpaneltips.net/articles/partition_linux/partition_linux.html

amal
01-28-2004, 11:24 AM
This is my current partition 80GB hardrive

Filesystem Size Mounted on
/dev/hda1 2.0G /
/dev/hda8 64G /home
none 499M /dev/shm
/dev/hda7 742M /tmp
/dev/hda5 2.0G /usr
/dev/hda3 2.0G /usr/local
/dev/hda2 2.0G /var

mainarea
01-28-2004, 11:29 AM
The /usr and /var partitions are very small on that machine. Josh did find the article at CPanelTips.net, and here are the recommended partitions:


40GB HD

/ 1024
/boot 100M
/usr 4096M
/var 4096M
/tmp 1024M
swap (x2 RAM, Max 2048M)
/home fill to disk

60GB
/ 1024
/boot 100M
/usr 5120M
/var 5120M
/tmp 1024M
swap (x2 RAM, Max 2048M)
/home fill to disk

80GB
/ 1024
/boot 100M
/usr 6144M
/var 6144M
/tmp 1024M
swap (x2 RAM, Max 2048M)
/home fill to disk

120GB
/ 2048
/boot 100M
/usr 8192M
/var 8192M
/tmp 1024M
swap (x2 RAM, Max 2048M)
/home fill to disk

- Matt

richmon
03-18-2004, 08:41 PM
Originally posted by mainarea
The /usr and /var partitions are very small on that machine. Josh did find the article at CPanelTips.net, and here are the recommended partitions:


40GB HD

/ 1024
/boot 100M
/usr 4096M
/var 4096M
/tmp 1024M
swap (x2 RAM, Max 2048M)
/home fill to disk

60GB
/ 1024
/boot 100M
/usr 5120M
/var 5120M
/tmp 1024M
swap (x2 RAM, Max 2048M)
/home fill to disk

80GB
/ 1024
/boot 100M
/usr 6144M
/var 6144M
/tmp 1024M
swap (x2 RAM, Max 2048M)
/home fill to disk

120GB
/ 2048
/boot 100M
/usr 8192M
/var 8192M
/tmp 1024M
swap (x2 RAM, Max 2048M)
/home fill to disk

- Matt



Current Disk Usage
Filesystem Type Size Used Avail Use% Mounted on
/dev/hda2 ext3 7.7G 141M 7.2G 2% /
/dev/hda1 ext3 76M 13M 60M 18% /boot
/dev/hda8 ext3 84G 2.1G 78G 3% /home
none tmpfs 505M 0 505M 0% /dev/shm
/dev/hda7 ext3 1012M 33M 928M 4% /tmp
/dev/hda5 ext3 7.7G 106M 7.2G 2% /var
/dev/hda6 ext3 7.7G 1.3G 6.1G 18% /usr
/dev/hdd1 ext2 76M 28K 72M 1% /home2

richmon
03-18-2004, 08:45 PM
Can any one HELP me?? PLEASE

I need advise for my 2x120GB Patitions

as I am a newbie:) need someone to be my buddy


hdd1 harddisk is 120GB where is it
76M??
--------------
Current Disk Usage
Filesystem Type Size Used Avail Use% Mounted on
/dev/hda2 ext3 7.7G 141M 7.2G 2% /
/dev/hda1 ext3 76M 13M 60M 18% /boot
/dev/hda8 ext3 84G 2.1G 78G 3% /home
none tmpfs 505M 0 505M 0% /dev/shm
/dev/hda7 ext3 1012M 33M 928M 4% /tmp
/dev/hda5 ext3 7.7G 106M 7.2G 2% /var
/dev/hda6 ext3 7.7G 1.3G 6.1G 18% /usr
/dev/hdd1 ext2 76M 28K 72M 1% /home2

richmon
03-18-2004, 08:47 PM
hello

NexDog
03-18-2004, 09:04 PM
Looks about right to me.

richmon
03-18-2004, 09:15 PM
how about hdd1?? 76M

is this a backup drive?? or

what

NexDog
03-18-2004, 09:59 PM
Looks like a mistake to me. :D

I see no backup drive mounted there.

richmon
03-18-2004, 10:03 PM
I have 2 x 120GB

Can u help me give me advise where
is the 2nd HDD?

how to configure or setup myself the partitions on WHM or SHH?


===============================
Physical Drives
hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=14593/255/63, UDMA(100)
hdd: attached ide-disk driver.
hdd: host protected area => 1
hdd: 234441648 sectors (120034 MB) w/8192KiB Cache

=================================

NexDog
03-18-2004, 10:23 PM
I think you need to hire someone who knows what they are doing because you'll probably get hacked in under a week. I just hope that you're not intending to run a hosting service the wat that things stand now. ;)

richmon
03-18-2004, 10:37 PM
thks for the advise

I will learn the hard way...24/7

If i do get hack I will learn more to be
a good hacker :)

thks