[H-GEN] Cloning Linux System

Robert Brockway rbrockway at opentrend.net
Tue Jun 7 17:23:56 EDT 2005


On Tue, 7 Jun 2005, Kelvin Heng wrote:

> jason,
> 
> I totally agree with you. For best practise, I guess one would boot up using
> Linux CD into Single user mode and do a "dd if=/dev/hda of=/dev/hdb"

I strongly recommend against dd for this purpose.  Remember dd copies the 
filesystem not the files in the filesystem.  If (in the example) hdb is 
larger than hda then the additional space on hdb is wasted (without using 
a resize tool).  If hdb is smaller you'll end up with a corrupt 
filesystem (although it may not appear so right away...).

IMHO best to avoid the need to use the resize tool and just make a fresh 
filesystem and copy the files, as per Mark's excellent example.

> anyway, i have spoken to my customer to ask for setting up a new server and
> coping the individual applications over. **still in the progress of
> discussion**
> 
> haha!!!!

Have fun :)

Cheers,

Rob

-- 
Robert Brockway B.Sc.
Senior Technical Consultant, OpenTrend Solutions Ltd.
Phone: +1-416-669-3073 Email: rbrockway at opentrend.net http://www.opentrend.net
OpenTrend Solutions: Reliable, secure solutions to real world problems.
Contributing Member of Software in the Public Interest (http://www.spi-inc.org)




More information about the General mailing list