This is a staging forum for AgileBits, not an official support forum. Visit http://discussions.agilebits.com instead.

Increasing the size of sparse bundles

Hi, this question was asked in a post from last June and Mike answered: "It's possible via command line for sure, "hdiutil resize -size 20g img". Change img to your image file name." Pardon my ignorance but where am I supposed to enter this, please? In the Terminal? So, if the vault is called "iTunes Media" I enter "hdiutil resize -size 20g iTunes Media" and it resizes the vault to 20Gb? Thanks.



Wassili

Comments

  • khad
    khad Social Choreographer
    edited February 2011
    Enter this command in the Terminal:



    [code]hdiutil resize -size 20g "/path/filename.extension"[/code]

    Where [font="menlo"]/path/filename.extension[/font] is the full path and filename of your vault. Always enclose the path name in quotes. Here is a real life example:



    [code]hdiutil resize -size 20g "/Users/khad/Desktop/My Vault Name.sparsebundle"[/code]

    I hope that helps. Please let me know. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />
  • Santa1900
    edited February 2011
    Thank you. Great! That worked except that I always have to enclose the path and the file name in quotes.



    Wassili
  • [quote name='Santa1900' timestamp='1298407499' post='21180']

    … always have to enclose the path and the file name in quotes.[/quote]

    Likely means some special character(s) in the path is/are being interpreted by the shell if not quoted.
  • khad
    khad Social Choreographer
    It certainly wouldn't hurt to [i]always[/i] use quotes around the filename. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_bigsmile.png' class='bbc_emoticon' alt=':-D' />
  • [quote name='khad' timestamp='1298449763' post='21214']

    It certainly wouldn't hurt to [i]always[/i] use quotes around the filename. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_bigsmile.png' class='bbc_emoticon' alt=':-D' />

    [/quote]

    Single or double? <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/tongue.gif' class='bbc_emoticon' alt=':P' />
  • khad
    khad Social Choreographer
    I actually went and double-checked my post! Haha! <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/laugh.gif' class='bbc_emoticon' alt=':lol:' />
  • stephen-m
    stephen-m Junior Member
    Is the vault to be resized open or closed before entering the Terminal command?
  • khad
    khad Social Choreographer
    Close it first. <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/wink.png' class='bbc_emoticon' alt=';)' />
  • stephen-m
    stephen-m Junior Member
    edited November 2012
    Hi Khad,



    Thanks for your prompt reply. Experience, the great teacher, warned me to practice the resize command on a test sparsebundle first. I created a test vault and resized it a couple of times, making it larger and smaller. Once I understood the process, I successfully resized my regular vault.



    Btw, no app that runs on a Mac should ever require the user to employ Terminal commands in order to access one of the software's features. Knox ought to provide a resize menu command where the user enters a number, and bingo—vault resized.



    Stephen
  • khad
    khad Social Choreographer
    Thanks for the feedback, Stephen. This is [b]not[/b] one of Knox's features which is why you need to perform the step using diskutil (a separate utility) in Terminal. It is not supported, but we are happy to provide users with the steps to do so.



    I'll take this as a feature request, though, and pass it along to the developers. <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/smile.png' class='bbc_emoticon' alt=':)' />



    Cheers,
  • stephen-m
    stephen-m Junior Member
    Aha, if Knox doesn’t have a 'resize vault' command, then employing Terminal makes sense. Good idea turning my comment into a feature request. Knox can’t be considered a complete app without such a necessary command.



    Thanks again for your help, Khad.
  • khad
    khad Social Choreographer
    Cheers! Thanks again for your feedback. <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/biggrin.png' class='bbc_emoticon' alt=':D' />