(encrypted) sparsebundle not growing with content

Hi,

I have set up a sparsebundle-diskimage as suggested at: http://www.devon-technologies.com/support/academy/onlinetutorials.html?backlink=dt_tutorials.html&show=devonthink/tutorials/encryption

Unfortunately I get an error when adding content, the sparsebundle appears NOT to grow automatically. Now what can I do?

Thanks a lot, Rolf

Update:

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.

Regards, Rolf

Yes; I suggest a web search to find methods of doing all that. :slight_smile:

Hi, since someone else might stumble about this problem:

a) using Disk Utility:

  1. unmount image
  2. drag the image-file to Disk Utility’s sidebar
  3. choose Images/Change size from the menu-bar
  4. make your changes

b) using Terminal:

  1. unmount image
  2. 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!
  3. Hit return, enter password
  4. 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)

  1. unmount image
  2. 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!
  3. Hit return, enter password
  4. 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!

Regards, Rolf