You are in Home page

Soluzione integrata di telefonia su internet a banda larga.
Search on this site:  

Are you interested to be updated about all things happens to me day by day?
Visit my new blog

1. Introduction

1.1. Why another method for cloning a Linux box?

When i tried to find methods to clone a Linux box, i saw that the only good choise to do this was to use dd to duplicate an hard disk to a new one.

This tool is a great tool when necessuty was to be sure that the cloned disk is identically to the original one, moreover thios method is indipendent to data present into the disk. Being a bit-to-bit copy of the original disk to the cloned one, it creates exactly the same partition structure and the same bootable flags.

But this method suffers of some not secondary problems. First of all it's necessary to install a second disk to the linux box and so it's necessary to poweroff the computer that it's offline during installation. Even if it's possible to use the same tool we use in this document "netcat" to redirect data dd output to another computer, this possibility is negated from the fact that, to be a consistent copy, the original computer must be put in single-user mode to avoid that data changes during copy. In a copy bit-to-bit it's highly probabily to have data corruption if data changes during copy. Also if, in single-user mode, it's possible to make network link up, this is highly discouraged.

Moreover, the fact that dd make a bit-to-bit copy, implies that it's necessary to copy empty disk sector too which, related to the increase of the dimension of disks, makes that it's necessary a lot of time to copy a disk to another.

Owing to these problems this method it's not a good choise when the source computer it's a production online server.

JavaScript Menu Courtesy of Milonic.com



 Copyright© 1997-2006 Emiliano Bruni Online from 16/08/1998 with visitors Write me to: