How to replace a server hard drive
The Blondeguy server hard drive needed to be replaced. Because
the server is a retired ThinkPad, the procedure is fairly complex. The
server needed to be backed up, the hard drive replaced and the server
restored, without the luxury of having a second hard drive.
A workstation with a CD-RW drive was available to hold backups and create the bootable CD used.
The procedure required a bootable CD. I made mine with the bootAble
program. The networking was temporarily not working for me, so I used a
boot CD without that feature. Once the bootable CD was created, I
copied it to the hard drive. I can make new boot CDs quickly by copying
the files to a blank CD. I used the RSJ program cdboot.exe to make cdloader.bin the startup file.
- Back up the entire server. The server has two bootable
partitions, the alternate partition can be backed up to another
computer with no fuss. Any directories on the data drive that don't
have open files are backed up this way, too.
- Down the web, ftp, and e-mail servers. This will unlock the log
files, and e-mail directories. Back those up to another computer.
- Boot from a bootable CD, and back up the principle boot drive. At
this point, all further logs and changes will be lost until the new
drive is functioning.
- Reboot from the principle partition, but don't start web, ftp or e-mail servers.
- Copy the archive of the boot partition to another computer and burn a new boot CD with the archive on it.
- Down the server and disconnect it.
- Replace the hard disk.
- Reconnect the server and boot from the new boot CD.
- Partition the new hard drive.
- Restore the boot partition from the archive on CD.
- Reboot from the new principle partition, not letting web, ftp or
e-mail servers start up.
- Restore all partitions from the other computer.
- Reboot normally.
- Ensure that all servers have started and are running.
The entire procedure took 1 hour and 45 minutes to complete, from
the time the e-mail server was down to the time it was running again.
Last Modified: 6 Aug 2006
Graphics by Colorful Language
Copyright 2006 by Blonde Guy