Using dd to copy a partition.


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 06-13-2011
Using dd to copy a partition.

Here's a conundrum. I use a ThinkPad (T30) which has a slot on the side for the hard drive. It is very easy to swap this with another hard drive which I keep as a backup. Now when I copy the Linux partition from my (in use) hard drive to the backup one (in my UltraBay slot) it takes only 30 minutes. If instead I copy this partition to my storage drive (in my docking station's drive slot) and save it as a file, the same copying takes 2 and a half hours. How come so much longer? Any thoughts?
From the hard drive to the backup I use this:
Code:
dd if=/dev/sda6 of=/dev/sdb6

From the hard drive to a storage drive I use:
Code:
dd if=/dev/sda6 of=/media/160GB/sda6file

Note that the file size is 18.0GB and the partition size is 28.6GB.

Last edited by pludi; 06-13-2011 at 08:32 AM.. Reason: Additional information added.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Shrink LVM partition & create new Linux Primary partition gr8_usk Red Hat 5 09-02-2014 12:33 AM
Ask concept soft partition vs hard partition edydsuranta Filesystems, Disks and Memory 2 11-11-2013 06:28 AM
how to copy the directory but not copy certain file yanglei_fage Shell Programming and Scripting 6 08-26-2012 06:00 PM
Partition overlaps another partition while creating new parition in solaris nikhil kasar Solaris 2 07-20-2012 05:26 AM
rsync from partition to partition fastest jaysunn Shell Programming and Scripting 6 11-27-2010 12:29 PM
Enhanced partition copy script (new & improved!) jwzumwalt Shell Programming and Scripting 3 08-27-2010 12:00 AM
What is in-core copy and disk-copy of i-node table? dearanik UNIX for Dummies Questions & Answers 1 10-14-2009 03:08 AM
copy a whole partition excluding specified. thegeek UNIX for Advanced & Expert Users 2 10-08-2009 05:07 AM
Partition RaNoNeR Linux 3 07-29-2007 05:31 PM
I've created a partition with GNU Parted, how do I mount the partition? jtp51 UNIX for Dummies Questions & Answers 1 09-18-2006 11:01 AM
How to copy single partition? siegfried Gentoo 12 08-21-2006 11:49 PM
understanding logical partition, physical partition yls177 UNIX for Dummies Questions & Answers 3 11-15-2002 09:49 AM
Partition jonas27 UNIX for Dummies Questions & Answers 4 01-24-2002 09:58 AM