Dont u think this will be more time consuming since it will also put up free blocks 
into the image...
there is one option in dd to ignore the free space...
its there in the partimage faq(www.partimage.org)...and they explain y using partimage 
is better than dd with that option.

Regards
G.Vinubalaji
On Fri, 04 Apr 2003 13:16:17 +0500
"Sanjeev V Kumar" <[EMAIL PROTECTED]> wrote:

> use the "dd" command to clone the disk and "dd" it back to another disk.
> another wat to clone a filesystem is "e2image" the disk and "dd" it out to another.
> 
> to clone to an image.
> dd if=/dev/hdx of=imagefile bs=512
> 
> where hdx is the source disk and bs is the disk block size
> write the clone image to another disk.
> 
> dd if=image file of=/dec/hdy
> 
> where hdy is the destination disk.
> 
> sanjeev
> 
> ----- Original Message -----
> From: Mithun Bhattacharya <[EMAIL PROTECTED]>
> Date: Thu, 3 Apr 2003 02:25:22 -0800 (PST) 
> To: [EMAIL PROTECTED]
> Subject: Re: [LIH]Cloning HDDs in Linux
> 
> > 
> > --- Binand Sethumadhavan <[EMAIL PROTECTED]> wrote:
> > > On Tue, Apr 01, 2003 at 10:39:01PM +0530, Devdas Bhagat wrote:
> > > > > Is there any way to clone an entire Hard Disk with Linux
> > > installed onto
> > > > > another HDD?
> > 
> > > rsync, too. Best of the lot.
> > 
> > rsync is not the ideal solution if the volume of data is too high and
> > the destination doesnt have any files to be synchronized against. rsync
> > has a overhead of trying to index all the files in the source path.
> > 
> > 
> > 
> > Mithun
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - File online, calculators, forms, and more
> > http://tax.yahoo.com
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: ValueWeb: 
> > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
> > No other company gives more support or power for your dedicated server
> > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> > _______________________________________________
> > linux-india-help mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/linux-india-help
> > 
> 
> -- 
> ______________________________________________
> http://www.linuxmail.org/
> Now with e-mail forwarding for only US$5.95/yr
> 
> Powered by Outblaze
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb: 
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to