fng-image - static 64bit executable for linux systems frisbee-ng-master.tar.gz - complete source code - you have to create version.h first, then compile it... - see Makefile for more info about that libowfat-0.30.tar.xz - needed for compiling - homepage of that library is here: https://www.fefe.de/libowfat/ /TR 2016-03-20 NOTES ======= - ext2 / ext3 / ext4 filesystem support is currently broken - ntfs works nice and fast ;) - cloning is fully okay and very well tested over a year currently... - imaging also, but the restore code is not finished yet... FNG-CLONE =========== Usage: fng-clone [options] -d [ .. destN ] fng-clone [options] -p [ .. destN ] General Options: -h or -? show help -v show version Application Commands: -d disk cloning, argument is source harddisk -p partiton cloning, argument is source partition Application Options: -t threadcount number of threads per disk (default: nr of cpu cores) -S skipfile do not clone files, which are given in Skipfile -r read the written data and check integrity (good harddisk test) Transport Options: -m readwrite read(2) write(2) mode (default) -m rdwr alias for readwrite -m splice use splice(2) -m splice-tee use splice(2)-tee(2) combination -m sendfile use sendfile(2) Examples: fng-clone [options] -p /dev/sda1 /dev/sdb1 /dev/sdc1 -> copy partition /dev/sda1 to /dev/sdb1 and /dev/sdc1 (they have to exist) fng-clone [options] -d /dev/sda,1,2 /dev/sdd -> copy partition table and partiton 1+2 to /dev/sdd FNG-IMAGE =========== Usage: fng-image [options] -d /dev/sda,1,2 image.fng fng-image [options] -d /dev/sda -d /dev/sdb image.fng fng-image [options] -p /dev/sda1 image.fng fng-image [options] -d /dev/sdb fng://user:pass@server:sdb-neu.fng General Options: -h or -? show help -v show version Disk and Partition Options: -d full disk should be imaged -d partition table and first partition should be imaged -p partition, which should be imaged -p / -d can be specified more then once... Application Options: -b chunksize chunksize in KiB (default: 512) -t threadcount number of threads per disk (default: nr of cpu cores) -S can be used for skipping unwanted files on some filesystems -C adding some comment for image description Compressing Options: -c use this compression type (default: "rep+delta+zstd") Encrypting Options: -P encrypt the image with xsalsa20 SPEED TESTS ============= are done right now... wait a bit ;) ----------------------------------------------------------------------------- Imaging is done from 2 ntfs partitions to /dev/null (about 42 GiB used) Test System: Latitude E6530 (Latitude E6530) Intel(R) Core(TM) i7-3632QM (limited to 8x 1,2 GHz) 8GB RAM, 1TB EVO 850 SSD ----------------------------------------------------------------------------- -> only REP: [root@lap-00488 ~]# time fng-image -c rep -d /dev/sda,1,2 /dev/null real 1m35.265s user 6m43.972s sys 0m7.560s running time: 0:01:35, eta: 0:00:00, image size: 33.9GiB, ratio: 81% data rate: 446.1MiB/s, done: 41.4GiB / 41.4GiB ----------------------------------------------------------------------------- -> only LZ4 Level 1: [root@lap-00488 ~]# time fng-image -c lz4:l1 -d /dev/sda,1,2 /dev/null real 1m34.370s user 3m25.671s sys 0m4.709s running time: 0:01:34, eta: 0:00:00, image size: 26.8GiB, ratio: 64% data rate: 450.9MiB/s, done: 41.4GiB / 41.4GiB ----------------------------------------------------------------------------- -> only ZStd Level 1: [root@lap-00488 ~]# time fng-image -c zstd:l1 -d /dev/sda,1,2 /dev/null real 1m43.244s user 7m7.622s sys 0m7.080s running time: 0:01:43, eta: 0:00:00, image size: 24.6GiB, ratio: 59% data rate: 411.5MiB/s, done: 41.4GiB / 41.4GiB ----------------------------------------------------------------------------- -> only gzip Level 1: [root@lap-00488 ~]# time fng-image -c gzip:l1 -d /dev/sda,1,2 /dev/null real 6m58.506s user 53m34.151s sys 0m9.944s running time: 0:06:58, eta: 0:00:00, image size: 24.6GiB, ratio: 59% data rate: 101.4MiB/s, done: 41.4GiB / 41.4GiB ----------------------------------------------------------------------------- -> REP + ZStd Level 1: [root@lap-00488 ~]# time fng-image -c rep+zstd:l1 -d /dev/sda,1,2 /dev/null real 2m11.776s user 14m42.772s sys 0m10.033s running time: 0:02:11, eta: 0:00:00, image size: 24.6GiB, ratio: 59% data rate: 323.5MiB/s, done: 41.4GiB / 41.4GiB ----------------------------------------------------------------------------- -> REP + ZStd Level 6: [root@lap-00488 ~]# time fng-image -c rep+zstd:l6 -d /dev/sda,1,2 /dev/null real 6m38.323s user 50m19.510s sys 0m14.474s running time: 0:06:38, eta: 0:00:00, image size: 23.8GiB, ratio: 57% data rate: 106.5MiB/s, done: 41.4GiB / 41.4GiB -----------------------------------------------------------------------------