makersky

Member
Nov 26, 2003
19
0
151
Hello,

We have problem with 'Home Directory Prefix' feature in WHM. It's set to 'home' and as it's written in help it should allow creation of new accounts everywhere where 'home' is in the name of directory:

'Examples: home matches /home, /home2, /newhome, /usr/home, /anythingwith/homeinit'

We are now short of storage on our server so we have to use /var partition for a moment. I've created /var/home but it does not show in menu in Rearrange Account page. What am I doing wrong ?

TIA.
makersky
 

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
do you mount /var/home as a mount point or only setup it as a folder beneath /var?
 

makersky

Member
Nov 26, 2003
19
0
151
no, it's only folder, I've even tried to make symlink to /home3 (/home and /home2 are already present in my system), but it did not helped.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
77
308
cPanel Access Level
Root Administrator
It has to be a mount point. If you only create a directory it won't be used. Only mount points are checked agaisnt the HOMEMATCH value.
 

makersky

Member
Nov 26, 2003
19
0
151
so it seems that only solution for this is to make (dd) big a file in /var, then format it as a filesystem (mkfs) and mount with loop option.

thank you.