The Free and Open Source Software for Partition Imaging and Cloning

Welcome to Partclone Usage

partclone.[ [fstype] | restore | dd | chkimg | info ]

Name — The utility to show image head information.

Synopsis { FILE }

DESCRIPTION is a part of Partclone project to retrive partition head information from image file. Partclone provide utilities to backup used blocks and design for higher compatibility of the file system by using existing library, e.g. e2fslibs is used to read the used block of ext2 partition.

Partclone supported file system include btrfs, ext2, ext3, ext4, reiserfs, reiser4, xfs and jfs for LINUX. Also support some non-linux operation system, ex: NTFS, FAT, EXFAT(for Windows), HFS plus(APPLE MAC OS), UFS2(FreeBSD), VMFS(VMWare Vsphere). All partclone utils could be run like is very smiliar fsck or mkfs. For example, for backup/restore hfsplus, just run partclone.hfsp.


The program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.


Image FILE. The FILE could be a image file(made by partclone).


  Retriving partition usage information /home/partimag/sdb2.img
    Partclone v0.2.20
    File system:  EXTFS
    Device size:  928.0 MB
    Space in use: 535.4 MB
    Free Space:   392.6 MB
    Block size:   4096 Byte
    Used block :  130708


The following diagnostics may be issued on stderr: provides some return codes, that can be used in scripts:

Code: 0
Diagnostic: Program exited successfully.
Code: 1
Diagnostic: Clone or Restore seem failed.


Report bugs to or

You can get support at