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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Moving the /home directory to /

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

  1. terrymason

    terrymason Registered

    Jan 24, 2013
    Likes Received:
    Trophy Points:
    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.

  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    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.

Share This Page