I am running cPanel on a CentOS 5.2 server in a VMware virtual machine.
After some months I need to add a new disk/homefolder, because the old one is almost filled op.
Så I added the disk to the server, added a scsi disk in vmware to the vm guest, and let the CentOS search for new scsi drives.
When I make a Linux LVM partition and added it to a new lvm group and so on. When I maked the partition to a ext3 with mkfs
At last I added it in /etc/fstab as following.
And after it got mounted, it seems to work. I can make some files in the directory, but it seems like WHM have som problems in using it.
/dev/data/data /home2 ext3 defaults,usrquota 1 2
The disk is showed in Disk Usage / Graphs but not in Format/Mount a new Hard Drive
Do I have to runs some scripts before I can move and create accounts on that drive?
Default Home Directory: /home
Home Directory Prefix: home
Right now /home isn't a mountpoint, but just a folder under the mountpoint /. Is that the problem?
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw,usrquota)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/usr/tmpDSK on /tmp type ext3 (rw,noexec,nosuid,loop=/dev/loop0)
/tmp on /var/tmp type none (rw,noexec,nosuid,bind)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/mapper/data-data on /home2 type ext3 (rw,usrquota)
/dev/mapper/data-backup on /backup type ext3 (rw)