Alternative way of zeroing unused space without consuming all disk space: https://manpages.ubuntu.com/manpages/trusty/man8/zerofree.8....
The zerofree command looks useful, but I don't know how portable it is. The dd method works across many platforms (such as AIX).