Shrink guest on hosted platform: Difference between revisions

Note about zero'ing out an encrypted disk
(added a note to look at the vmdk file ownership after shrinking via the command line.)
(Note about zero'ing out an encrypted disk)
Line 106: Line 106:


The trigger to zero space with 0x00 has changed to -z!
The trigger to zero space with 0x00 has changed to -z!
== Zeroing an encrypted disk ==
If you use disk encryption in the guest OS then zero'ing out the disk won't help.
The reason is that a good disk encryption scheme will write out random data to the disk when you write out zero's.
In other words, if you have enabled full disk encryption in the guest then you can not shrink the disk anymore as there is no space to reclaim.


== Shrink the disk ==
== Shrink the disk ==
1,274

edits