User Tools

Site Tools


computing:storage:zero_fill_disk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computing:storage:zero_fill_disk [2019/02/23 16:55]
gcooper
computing:storage:zero_fill_disk [2020/04/30 19:43] (current)
gcooper
Line 3: Line 3:
 There may be various reasons to zero-fill the free space on a disk drive: There may be various reasons to zero-fill the free space on a disk drive:
  
-  * Make the disk more compressible for backup+  * Make the disk **more compressible** for backup 
 +  * **Faster** than a secure-erase 
 +  * Will force a drive to **retire any bad sectors** in empty space before they are reused
  
-<note warning>This may cause a thinly provisioned virtual disk to balloon out to it'full size!</note>+<note warning>Do **not** do this on SSD drives!</note> 
 + 
 +<note warning>This may cause a thinly provisioned virtual disk to balloon out to it'fully provisioned size!  But it can also have a profound impact in the size of VM (image) backups.</note>
  
 ===== Windows ===== ===== Windows =====
Line 14: Line 18:
 sdelete -z x: sdelete -z x:
 </file> </file>
 +
 +:!: ''sdelete'' can also be used for secure erase.
  
 ===== Linux ===== ===== Linux =====
  
 https://community.linuxmint.com/software/view/zerofree https://community.linuxmint.com/software/view/zerofree
 +
 +https://snippets.khromov.se/shrinking-a-virtualbox-linux-image-with-zerofree/
  
 <file> <file>
 zerofree /dev/sdx1 zerofree /dev/sdx1
 </file> </file>
computing/storage/zero_fill_disk.1550966102.txt.gz · Last modified: 2019/02/23 16:55 by gcooper