Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    2

    Default As i can define directory /home, /home2 when a particular reseller created an account

    I have in a hard disk (dba3) the /home directory and a second hard drive (db1) where to mount a /home2.

    I want my client reseller in particular when the make their accounts these are in /home2 and my other clients in /home. Currently all are created in /home2.

    Where I can specify or change this in any script whm, cpanel?, where please.

    thanks!

  2. #2
    Member
    Join Date
    Jul 2005
    Location
    Sticky On Internet
    Posts
    555

    Default

    cpanel will by default use the /home or /home2 whichever has largest avaliable free space.

    you can however move the accounts from WHM --->list accounts--> home partition to select /home

  3. #3
    Registered User
    Join Date
    Jul 2010
    Posts
    2

    Smile

    Quote Originally Posted by mohit View Post
    cpanel will by default use the /home or /home2 whichever has largest avaliable free space.

    you can however move the accounts from WHM --->list accounts--> home partition to select /home
    Well, this is the manual mode, but I can do it automatically by changing some value in cpanel, in any script of this?

    If possible, I would like to know how.

    Thanks mohit!

  4. #4
    Member
    Join Date
    Jul 2005
    Location
    Sticky On Internet
    Posts
    555

    Default

    there's no option in cpanel/whm to define such values to best of my knowledge atleast,

    however i think you can use cpanel scripts to make your own pre and post install sccript to do it, I personally have no experience with writing one but i am sure its quite possible, check developer center, from top of this page.

Similar Threads & Tags
Similar threads

  1. CPAN build and cache directory called "no" created under /home
    By gkgcpanel in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-20-2011, 12:31 AM
  2. Replies: 1
    Last Post: 03-17-2011, 07:13 PM
  3. accounts created on home2 instead on home
    By vasko in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 04-26-2007, 02:14 PM
  4. New account creation in /home instead of /home2
    By Pilgrim in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-14-2004, 06:22 AM
  5. I have /home and /home2.. can I backup both to /home2?
    By fog in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 10-27-2002, 01:23 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube