[CentOS] Transferring system to new drive

Timothy Murphy gayleard at eircom.net
Tue Sep 14 08:54:38 EDT 2010


John R Pierce wrote:

>> Is there a document with instructions for this?
>> I've had smartd warnings that a hard disk in my server is sick,
>> so I am installing a new drive (in addition to the old).

> I generally use dump ... | restore ...     to clone a complete e2fs/e3fs
> volume.  it copies everything exactly on an inode by inode basis.

Thanks for the suggestion.
Could you give a concrete command for copying /
to say a new filesystem on /mnt/hd ?

(I'm wondering how this approach deals with symbolic links, 
/dev , /proc , etc

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland



More information about the CentOS mailing list