Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to setup cPanel on 15k SAS drives and email accounts on 7.2K drives?

Discussion in 'cPanel Developers' started by craigrobo1, Mar 28, 2012.

  1. craigrobo1

    craigrobo1 Registered

    Joined:
    Feb 5, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Hi,

    I posted this in the email forum but think I should have put it in this forum...

    I'm about to press the button on a server where I want to have the operating system (cPanel) running on the 15K SAS drives but the email storage on the slower 7.2K drives as these drives offer so much more storage.

    Is what I am trying to do possible, if so how do I do it?

    Thanks,
    Craig
     
  2. KostonConsulting

    KostonConsulting Well-Known Member

    Joined:
    Jun 17, 2010
    Messages:
    255
    Likes Received:
    1
    Trophy Points:
    68
    Location:
    San Francisco, CA
    cPanel Access Level:
    Root Administrator
    Re: How to setup cPanel on 15k SAS drives and email accounts on 7.2K drives

    Craig,
    cPanel stores mail in /home/$user/mail. To enact your setup, create a 'post' hook for WHM Accounts::Create that moves /home/$user/mail to the other drive/partition and then creates a symlink back to /home/$user/mail. More info on cPanel's hooks here : Introduction to Standardized Hooks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice