Cloning an EXT3 drive?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 20, 2002 at 02:35:24PM +0000, Stephen C. Tweedie wrote:
> 
> Incidentally, Ted, having an "e2image" option to select whether or not
> to copy data would be neat for doing such raw filesystem copies.  We
> could also add the ability to create a new uuid for the copied
> filesystem.  That would be safer all round, _and_ faster, than relying
> on hardware disk duplicators.  Hmm, maybe time to hack...
> 

For partially filled disks, it would definitely be faster.  It would
also be cool if it could attempt to make a read-only snapshot, since
it would really be nice to copy a mounted root filesystem.  For a
while I used create a backup root partition by waiting until the
system was relatively quiescent, and then doing a dd of the live root
partition, changing the UUID, and then running e2fsck to replay the
journal.  This *usually* worked, although of course it was dangerous
and wasn't necessarily guaranteed to result in a stable filesystem....

						- Ted





[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux