Backing up ext3 root partition with dd

Andreas Dilger adilger at clusterfs.com
Wed Feb 21 08:45:59 UTC 2007


On Feb 20, 2007  15:45 -0500, Yassin Hania-CHY002 wrote:
> Is there a reason why an ext3 root partition cannot be copied to an
> alternate partition using the "dd" command?   
> The dd is copying the mounted root partition into an alternate partition
> that is not mounted.  The dd returns success, but the fsck on that
> partition fails with errors as follows:

You can't use 'dd' because it backs up the journal in an unsafe manner.
If you want to do a backup use 'dump'.  It won't touch the journal.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.




More information about the Ext3-users mailing list