the problem appears to be the “maximum size” chosen when creating the sparsebundle. The sparsebundle can grow up to this chosen size. This information should be included in the tutorial!
It is possible to resize the image (adjust the maximum size) via either disk utility or terminal, even resize it (compact/defragmentize) it.
Hi, since someone else might stumble about this problem:
a) using Disk Utility:
unmount image
drag the image-file to Disk Utility’s sidebar
choose Images/Change size from the menu-bar
make your changes
b) using Terminal:
unmount image
in Terminal type (or copy/paste in - without the quotes) “hdiutil resize -size 50g /path/to/bundle/your-Image.sparsebundle” while “-size 50g” should be replaced with your desired new maximal size. The new maximal size cannot be smaller than the space/size already used by data on the image!! Note: one can drag the image-file into the Terminal-window and the path will be filled in!
Hit return, enter password
done, re-mount image check via adding content, should now grow upt to the new maximal size!
Quite handy might this to de-fragment the image-bundle using Terminal:
c)
unmount image
in Terminal type (or copy/paste in - without the quotes) “hdiutil compact /path/to/bundle/your-image.sparsebundle”. Note: one can drag the image-file into the Terminal-window and the path will be filled in!
Hit return, enter password
done, re-mount image check via adding content, should now grow upt to the new maximal size!
Note: use at your own risk, keep a backup!
I really think it is necessary to adjust the tutorial with information on the fact that the size one is asked to put in is the MAXIMUM SIZE the sparese-bundle can grow to!