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.

Replace primary hdd

Discussion in 'General Discussion' started by amolmistry, Feb 10, 2013.

  1. amolmistry

    amolmistry Member

    Joined:
    Sep 3, 2012
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello guys,

    I'm new to this forum, was seeking some help.

    One of server's primary hdd is about to die (it is still functioning and accessible) hence before crashing that I wish to change it.

    but main problem is, partitions created on primary hdd as follows.

    /
    /home
    /var
    /usr
    /etc
    /tmp
    /boot

    I can add one more hdd and move all /home (website's data) data on it, but what about all configuration after reinstalling OS and cPanel?

    Current cPanel version is 11.35 with CloudLinux on CentOS 6.0 64 Bit.

    Please suggest some better option with less downtime.

    Thanking you.
     
  2. PenguinInternet

    PenguinInternet Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2007
    Messages:
    149
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cardiff, UK
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    If you want to minimise downtime, why not migrate the sites to another server - you've just got the DNS propagation then and the sites are fine. Failing that, there will have to be downtime to perform the drive replacement, etc. I assume that you have made offsite backups of your sites (or at least to another hard disk) in the meantime?
     
  3. amolmistry

    amolmistry Member

    Joined:
    Sep 3, 2012
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    thanks PenguinInternet,

    4-6 hrs of downtime is ok with us, but just because of bad hdd (apart from hdd everything is fine and new) changing whole server is not good idea even our organisation won't afford to pay additional server cost till migration finishes ;)
     
  4. amolmistry

    amolmistry Member

    Joined:
    Sep 3, 2012
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
  5. amolmistry

    amolmistry Member

    Joined:
    Sep 3, 2012
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    Guys any solution on this plz
     
  6. PenguinInternet

    PenguinInternet Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2007
    Messages:
    149
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cardiff, UK
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    I would still recommend making an immediate offsite backup to ensure that you don't have any data loss. If you're going to go down the route of replacing the drive in that server, make sure you've run a backup of all sites just before you perform this. You then basically install the OS & cPanel again on the new drive, configure it and import the sites from the backups.

    With regards to the cPanel configuration, you can copy some items over such as the options from tweak settings which makes up the main part of your server config (stored in /var/cpanel/cpanel.config). You can also backup and restore your Exim config from within cPanel. Various other config options can be copied over from their files as well, however if you're not sure then you can always just set these options again - it doesn't take very long to go through them and if you're not sure what you're copying you may end up doing more damage than good.
     
Loading...

Share This Page