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.

Rearrange Accounts Problem

Discussion in 'General Discussion' started by solano101, Jan 15, 2010.

  1. solano101

    solano101 Member

    Joined:
    Mar 16, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    When we rearranged an account from /home(/dev/sda5) to /home2(/dev/sdb1), sdb1 got some disk problem and the operation was not done successfully(account files were stil in /home).

    But now system shows currently account is residing in /home2/ which affected the account backup, it might be caused by unsuccessful account rearrange.

    We tried to do the account rearrange again, but whm shows 'there is only one drive in the machine'

    Is there a way to fix this?

    And once an account is rearranged to /home2 , we found web files will still be left in /home,can those files be deleted ?caused we'd like to release some space in /home.
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    The more easy way to do is, just move the account from /home to /home2 and create a symlink, for example:

    mv /home/user /home2/
    ln -s /home2/user /home/user

    This way everything will work as it is and you don't have to make any more changes.
     
Loading...

Share This Page