• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Software to partition-clone and *verify*? (Win or Linux)

Joined
Feb 11, 2015
Messages
81 (0.02/day)
Can anyone suggest an app that can clone partitions but also verify the copy?
Preferably something that clones sector-based (or used clusters), and not something overly "smart" that digs too much into the filesystem.
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
27,011 (3.83/day)
Location
Alabama
System Name RogueOne
Processor Xeon W9-3495x
Motherboard ASUS w790E Sage SE
Cooling SilverStone XE360-4677
Memory 128gb Gskill Zeta R5 DDR5 RDIMMs
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 2TB WD SN850X | 2x 8TB GAMMIX S70
Display(s) 49" Philips Evnia OLED (49M2C8900)
Case Thermaltake Core P3 Pro Snow
Audio Device(s) Moondrop S8's on schitt Gunnr
Power Supply Seasonic Prime TX-1600
Mouse Lamzu Maya Grey
Keyboard Monsgeek M3 Lavender, Moondrop Luna lights
VR HMD Quest 3
Software Windows 11 Pro Workstation
Benchmark Scores I dont have time for that.
I mean if you want sector by sector that’s as 1:1 as your going to get and all the big players do it:

Acronis
Paragon
Clonezilla

Probably macrium reflect
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
27,011 (3.83/day)
Location
Alabama
System Name RogueOne
Processor Xeon W9-3495x
Motherboard ASUS w790E Sage SE
Cooling SilverStone XE360-4677
Memory 128gb Gskill Zeta R5 DDR5 RDIMMs
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 2TB WD SN850X | 2x 8TB GAMMIX S70
Display(s) 49" Philips Evnia OLED (49M2C8900)
Case Thermaltake Core P3 Pro Snow
Audio Device(s) Moondrop S8's on schitt Gunnr
Power Supply Seasonic Prime TX-1600
Mouse Lamzu Maya Grey
Keyboard Monsgeek M3 Lavender, Moondrop Luna lights
VR HMD Quest 3
Software Windows 11 Pro Workstation
Benchmark Scores I dont have time for that.
As far as I recall, no obvious "verify" option?
You copy a sector or you don’t. You can’t copy part of one; and sector by sector doesn’t care what data is on it.
 
Joined
May 10, 2023
Messages
281 (0.49/day)
Location
Brazil
Processor 5950x
Motherboard B550 ProArt
Cooling Fuma 2
Memory 4x32GB 3200MHz Corsair LPX
Video Card(s) 2x RTX 3090
Display(s) LG 42" C2 4k OLED
Power Supply XPG Core Reactor 850W
Software I use Arch btw
Can anyone suggest an app that can clone partitions but also verify the copy?
Preferably something that clones sector-based (or used clusters), and not something overly "smart" that digs too much into the filesystem.
dd, really.
If you want to verify after the copy, simply do a "dd if=/dev/mydrive | sha256sum" for both drives and compare their hashes.

I just moved data from a 2TB SSD to a 4TB HDD this week this way, no issues whatsoever.
 

Morgoth

Fueled by Sapphire
Joined
Aug 4, 2007
Messages
4,246 (0.67/day)
Location
Netherlands
System Name Wopr "War Operation Plan Response"
Processor 5900x ryzen 9 12 cores 24 threads
Motherboard aorus x570 pro
Cooling air (GPU Liquid graphene) rad outside case mounted 120mm 68mm thick
Memory kingston 32gb ddr4 3200mhz ecc 2x16gb
Video Card(s) sapphire RX 6950 xt Nitro+ 16gb
Storage 300gb hdd OS backup. Crucial 500gb ssd OS. 6tb raid 1 hdd. 1.8tb pci-e nytro warp drive LSI
Display(s) AOC display 1080p
Case SilverStone SST-CS380 V2
Audio Device(s) Onboard
Power Supply Corsair 850MX watt
Mouse corsair gaming mouse
Keyboard Microsoft brand
Software Windows 10 pro 64bit, Luxion Keyshot 7, fusion 360, steam
Benchmark Scores timespy 19 104
i use Paragon Hard Disk Manager™ 15 Suite and i love it very flexible program
 
Joined
Jul 13, 2016
Messages
3,298 (1.08/day)
Processor Ryzen 7800X3D
Motherboard ASRock X670E Taichi
Cooling Noctua NH-D15 Chromax
Memory 32GB DDR5 6000 CL30
Video Card(s) MSI RTX 4090 Trio
Storage Too much
Display(s) Acer Predator XB3 27" 240 Hz
Case Thermaltake Core X9
Audio Device(s) Topping DX5, DCA Aeon II
Power Supply Seasonic Prime Titanium 850w
Mouse G305
Keyboard Wooting HE60
VR HMD Valve Index
Software Win 10
Can anyone suggest an app that can clone partitions but also verify the copy?
Preferably something that clones sector-based (or used clusters), and not something overly "smart" that digs too much into the filesystem.

Macrium has an option to verify an image or clone after completion. I always verify my backups with it.

1733247966042.png
 
Joined
Dec 14, 2013
Messages
2,725 (0.68/day)
Location
Alabama
Processor Ryzen 2600
Motherboard X470 Tachi Ultimate
Cooling AM3+ Wraith CPU cooler
Memory C.R.S.
Video Card(s) GTX 970
Software Linux Peppermint 10
Benchmark Scores Never high enough
Acronis is what I use for cloning drives and it works great.
 
Joined
Jun 2, 2017
Messages
9,250 (3.37/day)
System Name Best AMD Computer
Processor AMD 7900X3D
Motherboard Asus X670E E Strix
Cooling In Win SR36
Memory GSKILL DDR5 32GB 5200 30
Video Card(s) Sapphire Pulse 7900XT (Watercooled)
Storage Corsair MP 700, Seagate 530 2Tb, Adata SX8200 2TBx2, Kingston 2 TBx2, Micron 8 TB, WD AN 1500
Display(s) GIGABYTE FV43U
Case Corsair 7000D Airflow
Audio Device(s) Corsair Void Pro, Logitch Z523 5.1
Power Supply Deepcool 1000M
Mouse Logitech g7 gaming mouse
Keyboard Logitech G510
Software Windows 11 Pro 64 Steam. GOG, Uplay, Origin
Benchmark Scores Firestrike: 46183 Time Spy: 25121
Most software will work just fine. I like Macrium the best though.
 
Joined
Jul 30, 2019
Messages
3,289 (1.68/day)
System Name Still not a thread ripper but pretty good.
Processor Ryzen 9 7950x, Thermal Grizzly AM5 Offset Mounting Kit, Thermal Grizzly Extreme Paste
Motherboard ASRock B650 LiveMixer (BIOS/UEFI version P3.08, AGESA 1.2.0.2)
Cooling EK-Quantum Velocity, EK-Quantum Reflection PC-O11, D5 PWM, EK-CoolStream PE 360, XSPC TX360
Memory Micron DDR5-5600 ECC Unbuffered Memory (2 sticks, 64GB, MTC20C2085S1EC56BD1) + JONSBO NF-1
Video Card(s) XFX Radeon RX 5700 & EK-Quantum Vector Radeon RX 5700 +XT & Backplate
Storage Samsung 4TB 980 PRO, 2 x Optane 905p 1.5TB (striped), AMD Radeon RAMDisk
Display(s) 2 x 4K LG 27UL600-W (and HUANUO Dual Monitor Mount)
Case Lian Li PC-O11 Dynamic Black (original model)
Audio Device(s) Corsair Commander Pro for Fans, RGB, & Temp Sensors (x4)
Power Supply Corsair RM750x
Mouse Logitech M575
Keyboard Corsair Strafe RGB MK.2
Software Windows 10 Professional (64bit)
Benchmark Scores RIP Ryzen 9 5950x, ASRock X570 Taichi (v1.06), 128GB Micron DDR4-3200 ECC UDIMM (18ASF4G72AZ-3G2F1)
Can anyone suggest an app that can clone partitions but also verify the copy?
Preferably something that clones sector-based (or used clusters), and not something overly "smart" that digs too much into the filesystem.
I've used Acronis in the past and it's been great or buggy. I suppose it depends on the year you get it and what features you use. If there is anything I learned the hard way is with NVMe and Windows is be sure to use the Standard Microsoft NVMe driver if you intend to restore to a different NVMe drive or you might not be able to boot after restoring the image.
 
Joined
Oct 2, 2020
Messages
973 (0.64/day)
System Name ASUS TUF F15
Processor Intel Core i7-11800H
Motherboard ASUS FX506HC
Cooling Laptop built-in cooling lol
Memory 24 GB @ 3200
Video Card(s) Intel UHD & Nvidia RTX 3050 Mobile
Storage Adata XPG SX8200 Pro 512 GB
Display(s) Laptop built-in 144 Hz FHD screen
Audio Device(s) LOGITECH 2.1-channel
Power Supply ASUS 180W PSU
Mouse Logitech G604
Keyboard SteelSeries Apex 7 TKL
Software Windows 10 Enterprise 21H2 LTSC
Can anyone suggest an app that can clone partitions but also verify the copy?
Preferably something that clones sector-based (or used clusters), and not something overly "smart" that digs too much into the filesystem.
Paragon Hard Disk Manager, v15/16/17. A must for me.
 

NoLoihi

New Member
Joined
Sep 15, 2024
Messages
12 (0.15/day)
On Linux, tee /dev/outputblkdev </dev/inputblkdev | xxhsum --binary -H3 && xxhsum --binary -H3 /dev/outputblkdev (blkdev, block devices, are /dev/sda or /dev/sde4) will give you a 64-bit checksum of the source block device (disk or partition) followed by one for the target block device. You can get 128 bits off the slower previous xxHash algorithm version by specifying -H2 --tag in place of -H3. (--tag to keep the dumb format.) xxHash3 does have an 128b variant, though my xxhsum executable doesn't seem to support that.

Going with tee saves you one full read of the originating disk. You could also swap out xxhsum for some other hashing program, such as md5sum (pass -b as well).

xxhsum, you should be able to obtain it from some package named xxhash, xxHash or perhaps similar, if you don't already have it.
See my newer post in this thread for additional considerations, sorry for giving correct but incomplete advice. :/
 
Last edited:
Joined
Feb 11, 2015
Messages
81 (0.02/day)
Thanks all.

The idea isn't to copy a whole disk, but a specific partition.

Any automatic way to create an exact-sized new partition, exactly like the source partition?
Might dd (or tee) overwrite beyond partition boundaries? (i.e, with /dev/sda1 and such.)
I guess filesystems in general (and NTFS) are partition-relative and don't need the metadata adjusted to match the absolute offset in disk?

Was hoping for something GUI-based, or at least with progress indication.

You copy a sector or you don’t. You can’t copy part of one; and sector by sector doesn’t care what data is on it.
In theory. And yet data verification exists, for the rare cases where fishy stuff does happen.

Macrium has an option to verify an image or clone after completion.
It seems to imply it verifies image files, not data written to partitions?

You could also swap out xxhsum for some other hashing program, such as md5sum (pass -b as well).
I like xxh for custom made stuff, but for casual verification not having to install anything is an advantage.
 
Last edited:
Joined
Jul 13, 2016
Messages
3,298 (1.08/day)
Processor Ryzen 7800X3D
Motherboard ASRock X670E Taichi
Cooling Noctua NH-D15 Chromax
Memory 32GB DDR5 6000 CL30
Video Card(s) MSI RTX 4090 Trio
Storage Too much
Display(s) Acer Predator XB3 27" 240 Hz
Case Thermaltake Core X9
Audio Device(s) Topping DX5, DCA Aeon II
Power Supply Seasonic Prime Titanium 850w
Mouse G305
Keyboard Wooting HE60
VR HMD Valve Index
Software Win 10
It seems to imply it verifies image files, not data written to partitions?

"Backup verification checks the entire contents of backup files against MD5 message digests (Hashes) created from the source data when the backup was created."

It's verifying any backed up files against their original MD5 hash. If you are doing a partition or whole disk image it would check each and every file within those against their original.
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
27,011 (3.83/day)
Location
Alabama
System Name RogueOne
Processor Xeon W9-3495x
Motherboard ASUS w790E Sage SE
Cooling SilverStone XE360-4677
Memory 128gb Gskill Zeta R5 DDR5 RDIMMs
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 2TB WD SN850X | 2x 8TB GAMMIX S70
Display(s) 49" Philips Evnia OLED (49M2C8900)
Case Thermaltake Core P3 Pro Snow
Audio Device(s) Moondrop S8's on schitt Gunnr
Power Supply Seasonic Prime TX-1600
Mouse Lamzu Maya Grey
Keyboard Monsgeek M3 Lavender, Moondrop Luna lights
VR HMD Quest 3
Software Windows 11 Pro Workstation
Benchmark Scores I dont have time for that.
In theory. And yet data verification exists, for the rare cases where fishy stuff does happen.

I mean not really theory. Are you doing an image? or are you raw dumping 1:1 with the disks next to each other? It will verify a sector write, but there isnt going to be any data integrity involved. You only get into that if you are pulling and saving images.
 

OneMoar

There is Always Moar
Joined
Apr 9, 2010
Messages
8,796 (1.64/day)
Location
Rochester area
System Name RPC MK2.5
Processor Ryzen 5800x
Motherboard Gigabyte Aorus Pro V2
Cooling Thermalright Phantom Spirit SE
Memory CL16 BL2K16G36C16U4RL 3600 1:1 micron e-die
Video Card(s) GIGABYTE RTX 3070 Ti GAMING OC
Storage Nextorage NE1N 2TB ADATA SX8200PRO NVME 512GB, Intel 545s 500GBSSD, ADATA SU800 SSD, 3TB Spinner
Display(s) LG Ultra Gear 32 1440p 165hz Dell 1440p 75hz
Case Phanteks P300 /w 300A front panel conversion
Audio Device(s) onboard
Power Supply SeaSonic Focus+ Platinum 750W
Mouse Kone burst Pro
Keyboard SteelSeries Apex 7
Software Windows 11 +startisallback
reflect ftw anything else is second fiddle.
 
Joined
Aug 19, 2024
Messages
312 (2.89/day)
Location
Texas, USA
System Name Obliterator
Processor Ryzen 7 7700x PBO
Motherboard ASRock x670e Steel Legend
Cooling Noctua NH-D15 G2 LBC
Memory G.skill Trident Z5 Neo 6000@CL30
Video Card(s) ASRock rx7900 GRE Steel Legend
Storage 2 x 2TB Samsung 990 pro nmve ssd 2 X 4TB Samsung 870 evo sata ssd 1 X 18TB WD Gold sata hdd
Display(s) LG 27GN750-B
Case Fractal Torrent
Audio Device(s) Klipsch promedia heritage 2.1
Power Supply FSP Hydro TI 1000w
Mouse SteelSeries Prime+
Keyboard Lenovo SK-8825 (L)
Software Windows 10 Enterprise LTSC 21H2 / Windows 11 Enterprise LTSC 24H2 with multiple flavors of VM
+1 for Paragon, but they all work just fine.
 
Joined
Oct 2, 2020
Messages
973 (0.64/day)
System Name ASUS TUF F15
Processor Intel Core i7-11800H
Motherboard ASUS FX506HC
Cooling Laptop built-in cooling lol
Memory 24 GB @ 3200
Video Card(s) Intel UHD & Nvidia RTX 3050 Mobile
Storage Adata XPG SX8200 Pro 512 GB
Display(s) Laptop built-in 144 Hz FHD screen
Audio Device(s) LOGITECH 2.1-channel
Power Supply ASUS 180W PSU
Mouse Logitech G604
Keyboard SteelSeries Apex 7 TKL
Software Windows 10 Enterprise 21H2 LTSC
Thanks all.

The idea isn't to copy a whole disk, but a specific partition.

Any automatic way to create an exact-sized new partition, exactly like the source partition?
Might dd (or tee) overwrite beyond partition boundaries? (i.e, with /dev/sda1 and such.)
I guess filesystems in general (and NTFS) are partition-relative and don't need the metadata adjusted to match the absolute offset in disk?

Was hoping for something GUI-based, or at least with progress indication.


In theory. And yet data verification exists, for the rare cases where fishy stuff does happen.


It seems to imply it verifies image files, not data written to partitions?


I like xxh for custom made stuff, but for casual verification not having to install anything is an advantage.
paragon could copy partitions only too.
 
Joined
Nov 18, 2010
Messages
7,568 (1.48/day)
Location
Rīga, Latvia
System Name HELLSTAR
Processor AMD RYZEN 9 5950X
Motherboard ASUS Strix X570-E
Cooling 2x 360 + 280 rads. 3x Gentle Typhoons, 3x Phanteks T30, 2x TT T140 . EK-Quantum Momentum Monoblock.
Memory 4x8GB G.SKILL Trident Z RGB F4-4133C19D-16GTZR 14-16-12-30-44
Video Card(s) Sapphire Pulse RX 7900XTX. Water block. Crossflashed.
Storage Optane 900P[Fedora] + WD BLACK SN850X 4TB + 750 EVO 500GB + 1TB 980PRO+SN560 1TB(W11)
Display(s) Philips PHL BDM3270 + Acer XV242Y
Case Lian Li O11 Dynamic EVO
Audio Device(s) SMSL RAW-MDA1 DAC
Power Supply Fractal Design Newton R3 1000W
Mouse Razer Basilisk
Keyboard Razer BlackWidow V3 - Yellow Switch
Software FEDORA 41
Clonezilla is best for me, especially Linux. Compression, checksums, encrypt...
 

NoLoihi

New Member
Joined
Sep 15, 2024
Messages
12 (0.15/day)
The idea isn't to copy a whole disk, but a specific partition.
Bad wording on my part, was a bit under the weather. You can, and should, pass partitions. If you wanted to do whole disks, you'd have to remember to have a program rework the GPT so you get new disk and partition GUIDs.*
Here comes another complication into play: The filesystems should never be bigger than their containing partitions. So, shrink them first, if the target is smaller, or expand them at the end, if the target is bigger. Now, changing FS sizes (especially if files have to be relocated) will (obviously) affect their hashes.
So, use some partitioning tool (I’d say GParted is still the leading choice, unfortunately, KDE’s has done something weird last time I’ve tried.), make the target partition in there (if not done already) and shrink the source partition if necessary. (It’s not strictly required to have their sizes match down to the last byte, but then you’d have to exclude the excess of one partition from the hashing , so make sure they match, instead.) GParted will take care of maintaining the partition tables, no worries there.
Then, run the code off my previous post. This will copy the data and give you the hashes. This, in itself, does not require any external adjustments.
Finally, if the target has more space that you want assigned to the partition and the filesystem within, resize them both as you would at any other time. GParted will keep FS and part. sizes in sync automatically.
Both of these resizing operations will lead to altered hashes, so you cannot easily, anymore, verify hashes after those—you’d have to use file-level hashes or get somewhat ingenious and exclude changed file-system structures.
So, yeah, quite a bit more complicated than it seemed at first, though definitely manageable. I’m not aware of any GUI-programs that offer that functionality, maybe you could request it in one of the projects’ bug trackers? :)
[Empty line, I’m skill-issuing with the editor, it seems.]




*GParted can assign a new, randomly generated UUID (not sure why they’re calling it that and not GUID, but, whatever.)
GParted could also do the partition copying for you, though it doesn’t have any facility to do the verification. If you don’t mind the superfluous read, just open GParted, find your source partition, right click, ‘copy’, then find some unallocated space on the target disk (or make some) and ‘paste’ into that (again from the right-click menu). Apply your changes (GParted staples them by default), when all done, you should have block devices for those partitions (note their names in GParted), then run your chosen checksumming program on those two block devices and see if the results match. (Say, md5sum -b /dev/sdc3 /dev/sdd1.)
 
Last edited:
Top