The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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:
    18
    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
     
Loading...

Share This Page