Jun 7, 2016
8
1
3
Hungary
cPanel Access Level
Root Administrator
Hi,

I'd like to add a new disk, and I want to use it for account's home.

1st drive (currently in home): /dev/nvme0n1p4 (mounted at Filesystem Root) (EFI, BOOT, SWAP on same disk, but on separate partitions, of course)

2nd drive - it's a new disk: /dev/nvme1n1 (mounted at /home02)

3rd drive: /dev/sda (mounted at /backup)

So, how can I set the home directories in WHM's Basic Webhost Manager?

Currently I get some error message, when i create a new cpanel account.

Thank you,
Zoltan

Képernyőfotó 2019-03-09 - 14.11.45.png
 

Attachments

Last edited:

Gojko

Well-Known Member
Nov 24, 2014
101
7
18
Macedonia
cPanel Access Level
Root Administrator
i also have question about this, when i create account how to choose which partition? or it need to go default partition and then rearrange account to second partition? (if this is true is any API for this rearrange?) because i use API for create new accounts

my second partition is /mnt/home2 (do i need to do something in basic configuration WHM for additional mount point option)?
 
Last edited:

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,910
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello @Gojko,

This is configurable with the following options in WHM >> Basic WebHost Manager® Setup:

Enter the location where you wish for new users’ home directories to be created. By default all directories matching the "Home Directory Prefix" are checked for available disk space and the directory with the most free space will be used.

Additional home directories matching the following value will also be used for new home directory creations. (Leaving this value blank disables the feature.) Only mount points are considered. This option only takes one value.

Can you share the output from /usr/local/cpanel/logs/error_log when creating a new account?

Thank you.
 

Gojko

Well-Known Member
Nov 24, 2014
101
7
18
Macedonia
cPanel Access Level
Root Administrator
You are right. When i create it create on second partition.
But i have problem. In WHM > List Accounts show 0MB disk usage i run: "/scripts/fixquotas" but still show 0MB.