[Gllug] Cloning software for CentOS 4 system

- Tethys tethys at gmail.com
Wed Apr 7 15:45:50 UTC 2010

On Wed, Apr 7, 2010 at 4:27 PM, gvim <gvimrc at googlemail.com> wrote:

> I need to clone a CentOS 4.3 server which has 3 x 150GB WD Raptors in a RAID5 configuration via an LSI MegaRAID card. However, I'll be doing away with the RAID and restoring to a single 1TB 7200rpm drive. The filesystem is ext3 with minimal/standard partitions, ie. /,  /boot and /swap. Since everything is currently on /dev/sda can I fool the restore into maintaining the device by simply substituting a SATA drive or will it be expecting a RAID setup and fail to restore?

Create a /boot filesystem on the new server, make the rest of the disk
LVM, and create swap and root logical volumes. Then just

dd | netcat

to get the old filesystem data onto the new partitions/LVs. Then
resize as appropriate (for root, at least -- for /boot, just make sure
you make it large enough).


“It seems intuitively obvious to me, which means that it might be
wrong.” -- Chris Torek
Gllug mailing list  -  Gllug at gllug.org.uk

More information about the GLLUG mailing list