amolmistry

Member
Sep 3, 2012
24
0
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.
 

PenguinInternet

Well-Known Member
PartnerNOC
Jun 20, 2007
195
26
78
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?
 

amolmistry

Member
Sep 3, 2012
24
0
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 ;)
 

PenguinInternet

Well-Known Member
PartnerNOC
Jun 20, 2007
195
26
78
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.