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!

Moving the /home directory to /

Discussion in 'General Discussion' started by terrymason, Jan 24, 2013.

  1. terrymason

    terrymason Registered

    Joined:
    Jan 24, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    My host setup my server in this fashion:

    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/vg_finland-lv_root 50G 31G 17G 66% /
    tmpfs 7.8G 0 7.8G 0% /dev/shm
    /dev/cciss/c0d0p1 485M 52M 409M 12% /boot
    /dev/mapper/vg_finland-lv_home 202G 24G 169G 13% /home
    /usr/tmpDSK 485M 11M 449M 3% /tmp

    notice the 202G /home and the 50G / partitions.

    I'd like to combine this space into a 252G partition. Is it possible to move /home into / (assuming that I free up enough space), then delete /home and extend / ?

    I'm a linux noob, so let me know if this is just a bad idea.

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,665
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    There is some documentation on this provided by CentOS:

    Disk Storage

    However, I do not recommend making these changes on an active server. Instead, you should backup your accounts to a remote location, reinstall the OS with the new partition scheme, and then restore the accounts from backup.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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