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.

Disk space not recovered after account moved to different partition

Discussion in 'General Discussion' started by BlueSteam, Aug 12, 2016.

  1. BlueSteam

    BlueSteam Well-Known Member

    Joined:
    Feb 21, 2013
    Messages:
    53
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Reseller Owner
    Hi,

    I moved an account from one partition to another using the rearrange accounts method. After this I was hoping to see the disk space recovered on the old partition but alas this is not the case. The disk space usage is still the same and when looking at the account now in ssh, there is now a symbolic link where the old account used to be pointing to the new partition and the files have all been moved to the new partition.

    Also, I noticed that after the move the website was throwing 404 errors on every url so what i did was completely restore the account which naturally put it on the new partition automatically and that fixed the 404 errors but that symbolic link is still there on the old partition and the disk space is not recovered.

    any ideas?

    Thanks
    Brett
     
  2. BlueSteam

    BlueSteam Well-Known Member

    Joined:
    Feb 21, 2013
    Messages:
    53
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Reseller Owner
    UPDATE: I completely terminated the account and noticed that even after doing so, the disk space was not recovered on the old partition. It was recovered on the new partition. So I have now completely rebooted the server to see if it isnt a trash thing holding the storage. watch this space.
     
  3. BlueSteam

    BlueSteam Well-Known Member

    Joined:
    Feb 21, 2013
    Messages:
    53
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Reseller Owner
    Ok, so it seems the disk usage was a false alarm. I moved another account and it has recovered the disk usage. Im not sure why I thought it was meant to be lower after the move.

    However, the 404 errors after the move is definitely still happening. I moved another account and after moving the account the website is now throwing 404 errors. So I restarted apache and that didnt help.

    any ideas?
     
  4. BlueSteam

    BlueSteam Well-Known Member

    Joined:
    Feb 21, 2013
    Messages:
    53
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Reseller Owner
    after doing some diggin, I found the following error in the cpanel error logs:

    [2016-08-12 09:27:15 +0200] warn [Fileman::listfiles] Encountered error in Fileman::listfiles: The directory /home2/bluesteam/home/bluesteam does not exist.

    as you can see that cPanel thinks the files are all in /home2/account_name/home/account_name

    Is this a bug in the re-arrange process???
     
  5. BlueSteam

    BlueSteam Well-Known Member

    Joined:
    Feb 21, 2013
    Messages:
    53
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Reseller Owner
    I restarted apache and that didnt help.
    I restarted MySQL and that didnt help. Just for the hell of it.
    I restarted cPanel from the command line and that didnt help

    So I rebooted the entire server and everything is fixed. What Gives??? Why would a server reboot sort it out???
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,682
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you verify if "EXPERIMENTAL: Jail Apache Virtual Hosts using mod_ruid2 and cPanel® jailshell." is enabled under the "Security" tab in "WHM >> Tweak Settings" on this system?

    Thank you.
     
  7. BlueSteam

    BlueSteam Well-Known Member

    Joined:
    Feb 21, 2013
    Messages:
    53
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Reseller Owner
    Apologies this reply is so late. yet it is enabled.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,682
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Internal case CPANEL-8008 fixes the following issue in cPanel version 60:

    In the meantime, you can temporary address the issue by rebooting the system, or with the following command:

    Code:
     /scripts/clear_orphaned_virtfs_mounts --user=<username>
    Thank you.
     
  9. BlueSteam

    BlueSteam Well-Known Member

    Joined:
    Feb 21, 2013
    Messages:
    53
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Reseller Owner
    The command you provided does not resolve it. The ONLY way to resolve this is to reboot the server entirely.
     
Loading...

Share This Page