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!

Risk of resizing partitions on production server?

Discussion in 'General Discussion' started by blipper, Apr 23, 2014.

  1. blipper

    blipper Member

    Joined:
    Jan 27, 2010
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    51
    I've got one centos server that we've migrated about 100 sites to, and now we've realized that the /usr partition was not sized correctly; it's too small even to handle cpanel updates. How dangerous will it be to attempt to resize? I'm thinking of reducing /home by a few gigs and adding that to /usr.

    I don't want to risk any data loss.

     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    It's likely a better idea to migrate/backup the accounts to a remote server, and then reinstall the OS with the recommended partition scheme. Resizing the partitions on the fly is not supported, and should be handled by a qualified system administrator if you decide to take that route.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    834
    Likes Received:
    28
    Trophy Points:
    178
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    You shouldn't do this on a production server, nor is there really any reason nowadays to over-partition a system like that. Use bind mounts if you need to relocate anything, but otherwise I second @cPanelMichael's suggestion of migrating to another system.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. lorio

    lorio Well-Known Member

    Joined:
    Feb 25, 2004
    Messages:
    282
    Likes Received:
    9
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Not strictly ontopic, but migrating with email accounts is always an mega act. Since SSL/TLS the hostname as emailserver changes.

    Without virtual servers or separate emailserver/cluster it isn't practical any longer. No user wants to change / understands why emailserver names has to change. I don't see a way to migrate accounts without heavily interacting with customers and their settings.
     
    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