About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • License: Freeware
  • Last update: 7 years ago
  • Total downloads: 109
  • Price: Free |
  • Operating system: Linux
  • Publisher: Michael Riepe
See full specifications

linux default iconClone2fs for Linux Publisher's description

Clone ext2/ext3 file systems.

Clone2fs is a program that copies an ext2/ext3 file system to another volume or an image file. In case the destination is a volume, it must provide enough space to hold the entire file system. If the source is larger than the destination, you can use resize2fs from the e2fsprogs package to shrink it before copying.

Unlike dd, clone2fs does not copy the whole volume but only blocks that are actually in use. Therefore, it is usually faster. It's also faster than dump/restore, tar or similar backup software because it accesses the source and destination volumes sequentially most of the time.

Note that clone2fs allows you to clone a mounted file system without warning, even if it's writable. In the latter case, you have to run e2fsck on the resulting image in order to make it consistent. Since copying takes a while, changes made while clone2fs is working may or may not appear in the clone. If you need an exact clone, umount the source file system, or remount it in read-only mode.

If the destination is a disk partition, unused blocks will be left as-is unless you ask clone2fs to zero-fill them (by means of the -Z option). If the destination is a file, clone2fs will use lseek() to skip unused blocks. This has the same effect as -Z but requires less space if the target fs supports sparse files. When writing to a pipe or another device that doesn't support seeking, clone2fs pretends that -Z is set and fills unused blocks with NUL bytes.

Clone2fs always copies the boot sector (block #0) of the source file system unmodified, even if it contains only NUL bytes. That does not mean that you'll be able to boot from a cloned volume, however. Boot sectors usually contain absolute references to specific disk sectors (e.g. GRUB's boot sector points to the installed stage2 binary). If a volume's position on disk is changed, these references become invalid. Clone2fs does not (and will not) provide a way to correct them. In order to make a cloned volume bootable again, you should mount it somewhere, chroot into it and re-install the boot loader. This is also the only way if the boot sector resides in the MBR - and much safer than modifying the boot sector directly.

Usage: clone2fs [option...] (device|image)
-h display this help
-o output write image to < output >; "-" means stdout
-O output write image to < output > even if that already exists
-q be less verbose
-V show program version and exit
-Z zero-fill unused blocks

What's New in This Release:

В· Changed license to GPL.

System Requirements:

No special requirements.
Program Release Status:
Program Install Support: Install and Uninstall

Clone2fs for Linux Tags:

Click on a tag to find related softwares

Is Clone2fs for Linux your software?

Manage your software

Most Popular

linux default icon JOrg 0.93 RC
It's a software to help you control your files and their location.
linux default icon Android HTC 2.3
Android ported to the HTC Vogue, Kaiser, Polaris, and Nike.
linux default icon iReport Designer for JasperReports 4.0.2
iReport is the free, open source report designer for JasperReports.
linux default icon jGRASP 1.8.8_07 Beta
jGRASP is a lightweight development environment,.....
linux default icon Code::Blocks 10.05
A C/C++ IDE built with configurability and extensibility in mind

Related Category

» Archiving (73)
» Benchmarking (88)
» Other (3482)
» Printer (63)
» Shell Tools (113)