#1 (permalink)  
Old 07-27-2005, 09:59 AM
Registered User
 
Join Date: Sep 2004
Posts: 69
KimBO is on a distinguished road
Wrong Partions on HDD - reconfigure HDD space

Hello...

we have on one server two partitions:

/dev/hda3 -
> 60GB, 85% in use
-> /

/dev/hda1
-> 20GB, 1% in use
-> /boot

All our webspace etc. runs on hda3 - hda1 is 20GB big, but you never need more than 1GB... we want to reconfigure our partitions now (I do not know why our server hoster did this in the beginning), because we are runing out of disk space...

How can we do it in a smooth and (most important) secure way? Is there an easy solution with a minium risk? What can go wrong (ok, worst case - all datas are gone)? What we have to think about... Any hints and ideas?

Thanks!

Greetings...

KimBO
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-27-2005, 10:37 AM
Registered User
 
Join Date: Sep 2004
Location: Cleveland, Ohio
Posts: 378
Blue|Fusion is on a distinguished road
If you want to do it in a safe way, then the only way to do it is to backup the data and have your host perform an OS Reload where he/she can repartition the drive to your specifications. You really shouldn't even need more than 100MB for /boot.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-27-2005, 11:00 AM
Registered User
 
Join Date: Sep 2004
Posts: 69
KimBO is on a distinguished road
Yes - I think, this is the safest way to do it...

Have you ( or somebody else) experience with this? Did somebody success with this things or did not success - what I have to thing about?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-27-2005, 11:09 AM
Registered User
 
Join Date: Sep 2004
Location: Cleveland, Ohio
Posts: 378
Blue|Fusion is on a distinguished road
I have had a faulty drive in the past and needed to get an OS reload and backup all the accounts and restore them to the freshly installed OS and worked fine. I also had to do the same for a few other people in the past and all went well except for one person who didn't care to take backups of the data and instead just copied everything over to a second harddrive, which makes it more complicated.

All you should do is backup all of the accounts using the WHM backup system to either a secondary harddrive which will NOT be repartitioned/reformatted or to a remote server and then restore from that point once the new OS is loaded.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-27-2005, 11:48 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
Another alternative is to have a new system HD fitted with your OS/partitions/cPanel installed and keep the old system disk as a slave drive and then restore using this procedure:
http://forum.ev1servers.net/showthre...threadid=38797
__________________
Jonathan Michaelson
cPanel Forum Moderator

Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:22 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc