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.

add new hdd and move whole /home directory

Discussion in 'General Discussion' started by Mohsen Sadr, May 31, 2016.

  1. Mohsen Sadr

    Mohsen Sadr Member

    Joined:
    Sep 7, 2015
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    germany
    cPanel Access Level:
    Root Administrator
    hello;
    i have 30GB /home non-LVM
    i added new 100GB LVM and mounted (temporary) as /home2, (once copying completed i`l mount new LVM as /home !)


    **problem:
    i see virtfs become larger after copy,
    i use command for copy: rsync -ah --progress /home/* /home2
    **

    please give me advise for copy whole /home to /home2 and also keep all chown and chmod - and copy everything like what it is__.
     
  2. Mohsen Sadr

    Mohsen Sadr Member

    Joined:
    Sep 7, 2015
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    germany
    cPanel Access Level:
    Root Administrator
    done, i coppied everything exept /home/virtfs , and everything works fine,
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. Mohsen Sadr

    Mohsen Sadr Member

    Joined:
    Sep 7, 2015
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    germany
    cPanel Access Level:
    Root Administrator
    unfortunately i found my php mail not working now, i know virtfs contain systems file so should not be removed, but actualy i havent copied virtfs at all,
    cpanel created virtfs by itself also,
    so how to solve this problem now?
    im sure nothing else changed except moviing files from old /home to new /home (LVM),
    thanks in advance
    rejected by non-SMTP ACL: failed to expand ACL string ........dy}}}{1}{0}}": Undefined subroutine &main::user2uid called.
    all website those earlier have php mail enabled now can not send mail,
     
    #4 Mohsen Sadr, Jun 7, 2016
    Last edited: Jun 7, 2016
  5. Mohsen Sadr

    Mohsen Sadr Member

    Joined:
    Sep 7, 2015
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    germany
    cPanel Access Level:
    Root Administrator
    its solved by force upgrade;
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I'm happy to see updating cPanel addressed the issue. Another potential workaround is to enable jailed shell access for the account, access SSH as the account username, and then logout. Thank you for updating us with the outcome.
     
Loading...

Share This Page