Chriz1977

Well-Known Member
Sep 18, 2006
191
0
166
Hi
Ive just mounted a second hard drive on my box. Can I make WHM create accounts on this new drive? If so, how?
Ive changed the setting in the basic WHM config to recognise the home2 dir, do i need to put the drive location in front of this path? Pleasehelp

Cheers
Chris
 

Nhojohl

Well-Known Member
Nov 28, 2006
101
0
166
I'm not sure if you can simply create an account on /home2/ but I know you can create it on your /home/ drive and then go to the "Rearrange Accounts" link and move the accounts you want to the /home2/ drive.
 

Chriz1977

Well-Known Member
Sep 18, 2006
191
0
166
How about creating a link to home2 in the home dir, will that work?
 

madan.cpanelnet

Well-Known Member
Apr 1, 2006
69
0
156
INDIA
Hi,

In your WHM under "Basic cPanel/WHM Setup" use home2 as the value for "Home Directory Prefix".

Next,

As root,

[email protected] [~]# mkdir /home2
[email protected] [~]# mount -t ext3 /dev/hdb1 /home2 ( if /dev/hdb1 is your secondary drive)

Next,

[email protected] [~]# /scripts/initquotas
[email protected] [~]# /scripts/fixquotas



Make sure you see an entry like... in /etc/fstab

/dev/hdb1 /home2 ext3 defaults,usrquota 1 2