Shrink guest on hosted platform: Difference between revisions
Shrink guest on hosted platform (view source)
Revision as of 00:14, 13 October 2021
, 13 October 2021→Zero out using fstrim
Line 94: | Line 94: | ||
=== Zero out using fstrim === | === Zero out using fstrim === | ||
These days there's an alternative way for zero-ing out the parts of the disk that are not used using fstrim. | These days there's an alternative way for zero-ing out the parts of the disk that are not used using [https://www.man7.org/linux/man-pages/man8/fstrim.8.html fstrim]. | ||
The great thing about this is that it only zero's out the parts of the disk that are not zero and as such the disk does not inflate to its full size. | The great thing about this is that it only zero's out the parts of the disk that are not zero and as such the disk does not inflate to its full size. |