1
I am cloning a disk of size 500GB. Disk is not full of data. It has roughly 300GB data. How much actual data it will copy (how much read, and how much write specifically)? What if cloning utility reads a sector, and there’s no data, will it still copy that sector? Or it will skip or command the target disk to write just to next?
I have additional 50GB of such free space on the old disk that has been deleted, recovery tools recovers this kind of deleted data. Will cloning process (software in general) consider this space as data or consider as empty space.
I think you are going into unnecessary detail here and making it more complicated than it needs to be. It will clone what you have. – NiallUK – 2019-09-06T15:21:17.763
You mean, it will copy 300 GB? – LaraFlow – 2019-09-06T15:24:14.140
2really depends on how you are cloning the drive. If you are doing a simple
dd if=/dev/sda1 of=/dev/sdb1
then yes, it will clone all 500gb including empty space. If you use a tool likeclonezilla
then it will only clone actual data, not unused space, so it would only clone the 300gb. – ivanivan – 2019-09-06T15:28:24.427@ivanivan: That's more of an answer than comment. – harrymc – 2019-09-06T15:29:43.387
1Yeah it depends on how intelligent the programs being used is. Some will do an exact partition copy, others will analyse and compact/defrag – Smock – 2019-09-06T15:33:01.773
“Will cloning process (software in general) consider this space as data or consider as empty space.” Anything that is deleted will not be copied. Data copying tools will only copy undeleted data. – JakeGould – 2019-09-06T17:20:44.540
1@NiallJones My initial reaction was the same. Until I remembered there are three common ways data gets copied: File copies, sector copies and partition copies. What you are referring to is file copy. A sector or partition copy would copy all data on the volume including deleted data. – JakeGould – 2019-09-06T22:57:40.863