kayyy

Active Member
Mar 12, 2014
32
0
6
cPanel Access Level
DataCenter Provider
Heyho,

one question:

currently i`ve two ssd`s a` 250 GB.

cPanel is only using one ssd.

How can i tell cPanel to use both SSD`s ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Have you mounted the drive to the server? Do you mean that cPanel is not recognizing the additional drive or that new accounts are not created on it?

Thank you.
 

kayyy

Active Member
Mar 12, 2014
32
0
6
cPanel Access Level
DataCenter Provider
Hi :)

where can i see the mounted ssd ?

i mean i`ve two ssd`s.
where cpanel knows where to storage all websites if one of the ssd is full ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
You should see the drive mounted when using the "mount" command. Disk space availability should appear when using the "df -h" command. Did you mount the drive under a specific name (e.g. /home2)?

Thank you.
 

kayyy

Active Member
Mar 12, 2014
32
0
6
cPanel Access Level
DataCenter Provider
With df -h i get this results:
It seems there`s no secound ssd.

But i know i should have 2 x 240 GB ssds

Filesystem Size Used Avail Use% Mounted on
/dev/md2 204G 30G 164G 16% /
tmpfs 16G 0 16G 0% /dev/shm
/dev/md1 496M 53M 419M 12% /boot
/usr/tmpDSK 1.9G 36M 1.8G 2% /tmp
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
You may want to try mounting the drive again, or consulting with your data center/system administrator to ensure it's properly mounted to the server.

Thank you.
 

kayyy

Active Member
Mar 12, 2014
32
0
6
cPanel Access Level
DataCenter Provider
well cPanel is showing me the secound drive:

[ 7.196427] sd 0:0:0:0: [sda] 468862128 512-byte logical blocks: (240 GB/223 GiB)
[ 7.196444] sd 1:0:0:0: [sdb] 468862128 512-byte logical blocks: (240 GB/223 GiB)

but how can i say to cPanel "if the first disk is full storage all other files on the secound disk"?

Because i got an alert today:
"The file system /dev/md2, which is mounted at /, has reached critical status because it is 93% full."
 

gopkris2005

Well-Known Member
Jan 9, 2007
64
0
156
India
cPanel Access Level
Root Administrator
Twitter
Yes, You can mount additional drive to /home2 folder and change account home directory in WHM->Basic cPanel & WHM Setup-> Basic Config. Then new accounts will be stored on /home2 folder.

Otherwise you can mount additional drive to /home2 folder and move large account home folder to /home2 folder and create symlinks in your /home directory.


where can i point for /home2 to account creation ?

do i have to do this in whm ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Once the additional drive is mounted as /home2, then new accounts should automatically use that directory when created. Here is a quote from the option referenced in the previous post:

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.
Thank you.