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 move account from /home/home2 to /home and remove sub-directoy /home2 of /hom

Discussion in 'General Discussion' started by calvinphanctt, Mar 17, 2011.

  1. calvinphanctt

    calvinphanctt Active Member

    Mar 27, 2007
    Likes Received:
    Trophy Points:
    Hello everyone,

    My server has:
    1 NEW 500 GB hard drive with the operating running WHM set as /home
    1 OLD 500 GB hard drive set as /home2 which has about 10 accounts on it
    1 old 200 GB hard drive set as /home3 which has about 4 accounts on it.

    When I do command " rsync -vrplogDtH /home2 /home " when I was in root@server [/]# , but it turn out to be all the accounts from the OLD 500 GB hard drive were copied to /home/home2 but not as /home as I expected.

    My questions are:
    1) How do I move those "copied user accounts" from /home/home2 to /home ONLY ? or can I set in the WHM some way to make it recognize those accounts?

    2) Those copied accounts don't show up in the WHM when I click on "List Accounts"

    3) Old accounts on /home3 (of the 200 GB hard drive) also don't show up in the WHM in the "List Accounts"

    What should I do?

    Thank you for your help!

  2. Infopro

    Infopro cPanel Sr. Product Evangelist Staff Member

    May 20, 2003
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Re: How to move account from /home/home2 to /home and remove sub-directoy /home2 of

    I'm not sure this will help here, but have a look at:

    WHM > Account Functions > Rearrange an Account

    Click an account from here to see what options you are provided with.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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