Spit a file in pieces with split (30 mins, in the end full size for 60Gb)
# split -b 10G /mnt/timecapsule/Virtualbox/harry.vdi “harry.vdi.wcomp.part" # ls -lsh total 56G 10G -rw-r--r-- 1 root root 10G Jun 25 15:25 harry.vdi.wcomp.partaa 10G -rw-r--r-- 1 root root 10G Jun 25 15:36 harry.vdi.wcomp.partab 10G -rw-r--r-- 1 root root 10G Jun 25 15:46 harry.vdi.wcomp.partac 10G -rw-r--r-- 1 root root 10G Jun 25 16:06 harry.vdi.wcomp.partad 10G -rw-r--r-- 1 root root 10G Jun 25 16:29 harry.vdi.wcomp.partae 5.6G -rw-r--r-- 1 root root 5.6G Jun 25 16:42 harry.vdi.wcomp.partaf
Check the original file md5sum:
# md5sum /mnt/timecapsule/Virtualbox/harry.vdi abcd047d47e49198d92cd46c4e7e6b41 /mnt/timecapsule/Virtualbox/harry.vdi
Now, build again the orignal file, and check md5sum:
# cat harry.vdi.wcomp.parta* > harry.vdi # md5sum harry.vdi abcd047d47e49198d92cd46c4e7e6b41 harry.vdi
Or Zip (4 hours, in the end 36 Gb from the orignal 60Gb file). More time, but less size.
# zip -s 10G ./harry.vdi.zip /mnt/timecapsule/Virtualbox/harry.vdi adding: mnt/timecapsule/Virtualbox/harry.vdi (deflated 34%) # ls -lsh total 37G 10G -rw-r--r-- 1 root root 10G Jun 25 19:25 harry.vdi.z01 10G -rw-r--r-- 1 root root 10G Jun 25 18:00 harry.vdi.z02 10G -rw-r--r-- 1 root root 10G Jun 25 18:53 harry.vdi.z03 6.7G -rw-r--r-- 1 root root 6.7G Jun 25 19:25 harry.vdi.zip