centos install / partitioning

Posted by ServerSideX on Server Fault See other posts from Server Fault or by ServerSideX
Published on 2012-12-08T03:39:31Z Indexed on 2012/12/08 5:08 UTC
Read the original article Hit count: 216

Filed under:
|
|
|

I'm using NOC-PS to remotely install Centos 6.2 via KVM / IPMI.

I'm going to install cPanel as well and they recommend this layout

/boot (99MB)
swap (2x server RAM)
/ (remainder)

In the o/s install profile within NOC-PS software, it shows as this:

part /boot --fstype ext2 --size 250
part pv.01 --size 1 --grow
volgroup vg pv.01
logvol / --vgname=vg --size=1 --grow --fstype ext4 --fsoptions=discard,noatime --name=root
logvol /tmp --vgname=vg --size=1024 --fstype ext4 --fsoptions=discard,noatime --name=tmp
logvol swap --vgname=vg --recommended --name=swap

By the time the default partition setup was done installing Centos, I get this

[root@server005 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg-root   532G  907M  504G   1% /
tmpfs                 7.8G     0  7.8G   0% /dev/shm
/dev/sda1             243M   28M  202M  13% /boot
/dev/mapper/vg-tmp   1008M   34M  924M   4% /tmp
[root@server005 ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Fri Dec  7 18:47:24 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg-root     /                       ext4    discard,noatime 1 1
UUID=58b31aaf-5072-4fb1-a858-33bc316fa793 /boot                   ext2    defaults        1 2
/dev/mapper/vg-tmp      /tmp                    ext4    discard,noatime 1 2
/dev/mapper/vg-swap     swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0

My question is, how should the NOC-PS install profile look like to get the recommended cPanel partitioning?

The server has 16GB RAM, dual 600GB SAS drives and will be used for cPanel shared hosting.

© Server Fault or respective owner

Related posts about linux

Related posts about centos