Sparse Bundle Image not shrinking when I take file out

Hey all,
I want to use encrypted disk images to keep some of my files safe. My understanding was that using a Sparse Bundle Image means that the image resizes itself to the contents of what's in it. It seems to expand when I put files in, but it does not contract when I remove files. I made an image, put a 1gb file in it, then deleted it (and emptied the trash can, too). When I checked the size of the disk image, it was still 1 gb. That is going on here? How do I get the image to size back down after taking files out?

that's normal behavior. sparse bundles don't shrink automatically when you take stuff out (it would be nice if they did though). you have to compact them. unmount the sparse bundle and run the following command in terminal
hdiutil compact path/to/sparsebundle
put the unix path to the sparse bundle in the above.
P.S. filevault compacts the sparse bundle with user's home directory automatically when that user logs out.
Message was edited by: V.K.

Similar Messages

  • Why won't my MacBook Pro backup to Time Machine (on my 1TB Time Capsule) when I'm running Lion OSX 10.7.5.? What does it mean when this error pops up: MacBook Pro.sparse bundle could not be assessed (error - 1).???? Please help me fix this!

    Apparently I am not the only person having this problem as I have seen many threads about it. If ANYONE OUT THERE CAN HELP ME, I WOULD SINCERELY APPRECIATE IT.
    I try and run my backup as I always have, but it HAS NEVER COMPLETED SINCE I UPGRADED TO LION. As many mentions, I updated from 10.7.4 to 10.7.5 hoping that would fix my issue and it didn't help at all. I also unistalled WD SmartWare to no avail. It's really starting to annoy me since I have as much money invested in my MacBook Pro and Time Capsule as I do in my car....
    I have more than enough space on the Time Capsule, but Time Machine is still failing and coming up with an error message: MacBook Pro.sparsebundle could not be assessed (error - 1).
    Someone, anyone, please help!

    . . . sparse bundle could not be accessed (error -1)

  • Sparse Bundle Images on external NTFS formatted drive

    I'm currently in the process of re-arranging my own backup setup following on from my recent update to Snow Leopard. For this purpose i have the lend of a NTFS formatted external drive and used a large Sparse bundle disk image.
    Under 10.5.7 with the latest MacFuse and and unknown version of NTFS-3G i had no problem using the sparse bundle images, they mounted, I could read and write, and the images where only unmounted when I explicitly ejected them.
    Under 10.6 with the latest MacFuse and the latest NTFS-3G i have a very strange behavior.
    Read and write works fine on the NTFS drive, as do regular disk images and old style sparse disk images.
    However sparse bundle disk images will mount and then immediately dismount again. I have no problems mounting the sparse bundle images from HFS+ drives or when using the NTFS drive read only using apples drivers instead of MacFuser+NTFS3G.
    The disk image dose not see the be the source of the problem; as any sparse bundle that opens fine on a HFS+ drive exhibits the behavior when moved onto the NTFS drive. Moving the image back onto a HFS+ drive allows the image to be mounted.
    The problem is that I require to move some additional files onto the NTFS drive so I can reformat my backup drive
    As a side note mounting using "hdiutil attach -readonly" seems to partially resolve the issue; the image will mount and stays mounted but it is read only.

    I too am having this issue. Intel / 10.5.8 attached to an SMB share from Ubuntu Linux.
    I ran a test of various image types, and while Sparse Image works, Sparse Bundle fails. Here are my logs. Happy to do some testing and log posting if anyone has a test theory to try.
    9/5/09 2:20:29 PM Disk Utility[1822] Disk Utility started.
    9/5/09 2:22:38 PM Disk Utility[1822] Creating Image “test1-rw-disk-image.dmg”
    9/5/09 2:22:38 PM Disk Utility[1822] Initializing…
    9/5/09 2:22:38 PM Disk Utility[1822] Creating…
    9/5/09 2:22:39 PM Disk Utility[1822] Formatting…
    9/5/09 2:22:39 PM com.apple.KernelEventAgent[37] KernelEventAgent: sysctl_queryfs: No such file or directory
    9/5/09 2:22:39 PM Disk Utility[1822] Attaching…
    9/5/09 2:22:40 PM Disk Utility[1822] Finishing…
    9/5/09 2:22:41 PM Disk Utility[1822] Image “test1-rw-disk-image.dmg” created successfully.
    9/5/09 2:23:21 PM Disk Utility[1822] Creating Image “test2-sparse-disk-image.sparseimage”
    9/5/09 2:23:21 PM Disk Utility[1822] Initializing…
    9/5/09 2:23:21 PM Disk Utility[1822] Creating…
    9/5/09 2:23:21 PM Disk Utility[1822] Formatting…
    9/5/09 2:23:21 PM com.apple.KernelEventAgent[37] KernelEventAgent: sysctl_queryfs: No such file or directory
    9/5/09 2:23:21 PM Disk Utility[1822] Attaching…
    9/5/09 2:23:23 PM Disk Utility[1822] Finishing…
    9/5/09 2:23:24 PM Disk Utility[1822] Image “test2-sparse-disk-image.sparseimage” created successfully.
    9/5/09 2:24:04 PM Disk Utility[1822] Creating Image “test3-sparse-bundle-image.sparsebundle”
    9/5/09 2:24:04 PM Disk Utility[1822] Initializing…
    9/5/09 2:24:04 PM Disk Utility[1822] Creating…
    9/5/09 2:24:04 PM Disk Utility[1822] Formatting…
    9/5/09 2:24:05 PM Disk Utility[1822] Finishing…
    9/5/09 2:24:05 PM Disk Utility[1822] Unable to create “test3-sparse-bundle-image.sparsebundle”. (Operation not supported)
    9/5/09 2:24:05 PM Disk Utility[1822]

  • Sparse Bundle Image Unmounts from External Drive (NTFS)

    This is a duplicate of https://discussions.apple.com/thread/2135602?start=0&tstart=0 but the problem still exists in Mountain Lion. I have NTFS-3G ans FUSE for OSX installed to mount my external drive. I copied a sparse bundle image over to the drive. Now when I try to mount the drive it instantly unmounts. Disk Utility says it mounts Successfully, even though it unmounts. Can anyone help me figure out how I can mount the sparse bundle image while it lives on my external NTFS drive?

    madhusudhan wrote:
    Thanks for response V.K
    Not sure what you mean what sparsebundle?
    I want to know what sparse bundle you are talking about.
    the sparse bundle with your filevaulted home directory which was originally located in /users/yourusername? or some other sparse bundle?
    I was using FileVault. Probably I may have put the trailing slash (can't remember as it was almost two weeks back).
    The External HDD is FAT formatted drive. I haven't done any changes to permissions.
    you should not be using a FAT drive for this. move everything over to an HFS+ formatted drive. and don't use a FAT drive for backing up OS X. FAT is an old file system which does not support many features needed by OS X.
    so what you need to do is put all the stuff you listed (token, Info.plist, Info.bckup and the bands folder) into a folder and give that folder the name username.sparsebundle where username is your old username. then you need to add a bundle flag to that folder. you need setFile command for that. it's not a part of the basix OS X install. you can install XCode (it's on the SL install DVD) or use Pacifist http://www.charlessoft.com/ to install just the setFile command. then run the command
    setFile -a -B /path/to/unsername.sparsebundle
    This will restore the bundle bit to it and it will look like an actual sparse bundle. you can then try mounting it by double-clicking it. you'll have to enter your old user password. if it works you are in luck and can reuse it. if it doesn't work it's most likely corrupt beyond repair and you should trash it. you can try fixing it first but it's almost never possible with corrupt encrypted sparse bundles. but try mounting it first and see if it simply mounts. post back with the results.
    Advance thanks for assistance.

  • Time machine is giving me this error;sparse bundle could not be access (error-1)

    The time machine is giving me this error; Disk Image"/Volumes/Data/adminstration Mac Book Pro (2).sparse bundle" could not be access (error-1)

    Restart the TC.. ie pull out the power.. count to 10.. plug in power.
    Still have issues restart the whole network in correct order.. modem.. TC.. clients. 2min gap. Any other network clutter.. restart in order it is connected..
    See C17 for more info if you still have issues.
    http://pondini.org/TM/Troubleshooting.html
    C12 is most popular problem.. but C17 is close second.
    I would also read C9 as your naming is perhaps a cause of the problem.

  • Macbook pro camera produces a lot of green particles on my screen which are not visible when i take a picture or on the screen of a skype partner

    macbook pro camera produces a lot of green particles on my screen which are not visible when i take a picture or on the screen of a skype partner. Does anyone have a solution for this problem

    macbook pro camera produces a lot of green particles on my screen which are not visible when i take a picture or on the screen of a skype partner. Does anyone have a solution for this problem

  • HT4060 I'm having some problems with my ipad and charging it. I am having to leave it in charge for a lot longer, but when I take it out and want to use it the battery is still not completely full and goes down a lot faster than usual

    I'm having some problems with my ipad and charging it. I am having to leave it in charge for a lot longer, but when I take it out and want to use it the battery is still not completely full and goes down a lot faster than usual. The other day, I had charged  my iPad overnight so that I could take it to university with me for the day, and when I had switched it on the next day the battery was on 5% and I had not used it since charge.

    Your battery may be dying. THey are only good for so many charges/discharges. If you have an apple store near by make an appointment and have them check itout

  • I was updating my iphone and i deleted everything now it say there is no sim in the phone, i have gone to the iphone shop and they say is is working The sim is in the phone . when i take it out and put it in another phone i can call and recieve calls

    I was updating my iphone and i deleted everything now it say there is no sim in the phone, i have gone to the iphone shop and they say is is working The sim is in the phone . when i take it out and put it in another phone i can call and recieve calls

    I did call apple care and they guided me through everything..  they said it was the hardware
    I was given this phone last year as a present
    i know, it was not new.. so it could have been on an other cell provider  i am not sure if it was so at the moment that is all i can do

  • My Ipod touch will only work when plugged into a itouch radio.  When I take it out, it goes blank.  Why can I do?

    My Ipod touch will only work when plugged into an Itouch radio.  When I take it out of the charger, it goes blank.  The battery shows fully charged.  It appears that the battery is no longer charging.  What should I do?

    Try a reset: Hold the home and power buttons at the same time until the Apple boot logo appears. No data will be lost. If that fails, the battery may have gone kaput.

  • My iPhone has a protective cover on it and I carry it in my pocket a lot.  Quite often when I take it out of my pocket the silent/ring switch is off and I am sure it was on when I put the phone in my pocket.  How can this be happening?

    My iPhone has a protective cover on it and I carry it in my pocket a lot.  Quite often when I take it out of my pocket the silent/ring switch is off and I am sure it was on when I put the phone in my pocket.  How can this be happening?

    Protective cover as in screen protector?  This would have nothing to do with the silent switch.
    If you're referring to an actual case though... take the case off and see if the problem continues.
    It may be as simple as the silent switch being lose, which will require a device replacement to resolve.

  • When i take file classes12.zip

    Hi all,
    When I take file classes12.zip?
    I need that file for database connection URL?
    Can you give me link for download this file?
    Thanks,
    Best Regards
    Okik Setianto

    Welcome to the forum!
    >
    When I take file classes12.zip?
    I need that file for database connection URL?
    Can you give me link for download this file?
    >
    Here is the official FAQ site with all the jars.
    And it has the link to the main download page
    http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html
    And that page has the link for Oracle 8i files which include classes12.
    http://www.oracle.com/technetwork/database/enterprise-edition/jdbc817-100207.html
    Why do you need such an ancient file?

  • Mounting the TC sparse bundle image

    I have a question. I took my TC back home to transfer some of my files on my other iMac. I went to open my sparse bundle backup on my TC capsule. After like 5 minutes it continued to say "checking volume..." There was a cancel and skip. I hit skip, and the image mounted, and I was able to access my files. Question, is it OK hitting skip.. am I screwing anything up. And why does it take so long to check the volume, when I just wanted to open it?
    Thanks,
    Bryan

    Does anyone have an answer to this? I deal with a lot of sensitive information during my software consulting, and I've always used 128 bit encrypted sparse images to perform my work on. Now I notice that I have 256 bit and sparse bundle disk images. Are the sparse bundles as secure as disk images, and will I still need to manually run the compact command from hdiutil to "shrink" the drive when I delete files off of it?
    Thanks,
    Todd

  • Missing iPhoto library - replaced by MacFort with sparse bundle image

    Hello to everyone!
    I am new to the community and to Apple in General! Got my new Macbook Air abouth a month ago and one the first thing I did was to transfer all my pictures to iPhoto (about 18k or 55Gb). I sorted them in Events, Albums, etc - all cool. Then, I decided to password protect my iPhoto library using MacFort. I guess thhis was a big mistake from my part as I didn't really understand how this software really worked...
    Anyway, here's what I did step by step and what was the rather unpleasant outcome:
    1) Installed MacFort; found my iPhoto Library there and started encrypting it straight away
    2) Once the encrypting was finished, iPhoto started to request a password everytime it was launched - so far so good
    3) After the trial of MacFort expired I decided to uninstall the App. Stupid as I am, I did it with CleanApp and not using the uninstall option through MacFort
    4) When decided to launch iPhoto it couldnt find any libraries as if none really existed before .. :X
    5) I then restored MacFort as it was still in my Trash and tried to load the encrypted file.. Unfortunately the App doesn't find any files and I cannot decrypt the vault I had previously created for iPhoto...
    - even worse: it doesn't find iPhoto nor its library when scanning for files to encrypt
    - the only thing that MacFort recognises is the a vault which I can lock or unlock:
    6) I then did some searches and found out that all my pictures (about 50gb) are considered as 'Other' storage (i.e. the sparse bundle disk image) and I have nothing considered as photos in Iphoto
    7) Right then I found out that I approached the entire encrypting process in a very wrong way. I did not create a copy of my iPhoto library and then encrypt it but insted I worked directly on my original iPhoto library file.
    Now I have a single file called Valentin.sparsebundle that contains my entire iPhoto library. I thought I had lost everything when mis-uninstalling MacFort but I can still access my photos when selecting the sparse bundle file when iPhoto asks to 'Choose Library'
    So my question now is: Is there a way I can change this Sparse Image and return my original iPhoto library in order then to unistall MacFort and delete any encrypted disk images? In other words, put back everything the way it was before installing MacFort?
    Sorry for the long post but I wanted to give you as much detail as possible. Any help will be greatly appreciated!
    Many thanks,
    Valentin 

    Not sure how I can do this.
    So I can see the image file is located in Users->MacFort (again no storage allocated to Iphoto...) :
    The file itself:
    I can open my entire library and as you can see all of my pictures/events/albums are visible under Media in the open file command:
    However in the Pictures folder there is barely anything:
    I think the second file (45bytes) is only an alias(shortcut) to the sparsebundle image.
    So in fact I can access my iPhoto library but it doesn't really exist :/

  • TC Sparse Bundle Image Stopped working

    My TC MBP 13" Time Machine no longer works on my MBP 13. I am sure that the reason is the following action I did the other day.
    1. I purchased an IMAC and migrated all the data from my MBP 13 inch over to it using the TM backup as the source.
    I still use my MPB 13" for most of my work and as my main computer. The IMAC was more purchased for the family.
    I believe this action cancelled out the ability to continue using it.
    The image above shows that the MBP BCC 13" is now a sparsebundle and not included as a folder Backup.backupdb
    I did try the ALT browse but it won't open on either computer.
    I researched Pondini's suggestions - but nothing works. Am I now stuck having this sparsebundle without the ability to load it up?
    Thanks for any help and have a great new year...
    Skip

    Larry Nolan wrote:
    Apple's knowledge base article HT1198 (http://support.apple.com/kb/HT1198) on sharing iphoto libraries among multiple users on the same Macintosh describes using a _sparse disk image_ in the /users/Shared/ directory. For a Mac that uses a *Time Capsule* for Time Machine backups won't this require the entire iPhoto library to be backed up anytime a picture is added or modified?
    Would using a _sparse bundle disk image_ instead work better?
    yes, it would work much better because a sparse bundle is split in a number of small bands (8MB each) and only the changed bands would be backed up afresh after changes to the iphoto library are made.
    Also, HT1198 doesn't say anything about "Partitions" parameter setting in Disk Utility when creating a blank sparse image or sparse bundle disk image. Does it matter what setting is selected if the image is being kept on the Mac internal disk drive?
    no, it doesn't matter.
    another option to share the iphoto library which is not mentioned in that KB article is to put it in a folder in /Users/Shared/ and put inherited ACLs on that folder. see this link for details
    http://discussions.apple.com/thread.jspa?messageID=8863687&#8863687

  • Word documents located in a sparse bundle will not open after update to Lion

    I have several files of Word documents created by Office for Mac 2008. These files are located in two different sparse bundles for security. One sparse bundle is the original. The second sparse bundle is a larger maximum size that I copied the original Word documents into.  My plan was to delete the original after I confirmed that the second larger one worked.   After updating to Lion, I also uninstalled Office for Mac 2008, and installed Office for Mac 2011.  Now when I try to open these Word documents, I get a message saying that Word cannot not open these documents because they may be in use or may have unacceptable symbols in the file name.  If I control click on the documents, I can see the document in Preview but still cannot open in Word.  In addition, I am able to open Word documents that are on my desktop. I tried moving my folders out of the sparse bundles by copying them to the desktop but this did not work either.
    Help with this problem would be greatly appreciated.

    ok i created a hello world app to try a nail down this issue.
    i created the app with version 1.0.0
    uploaded it to my server on the net.
    hit the web address from my phone, downloaded and installed
    then changed the version number to 1.0.1
    uploaded this apk
    downloaded and installed to phone
    app would then open for sec then close
    only fixable by clearing application cache.
    I can't believe the answer to this problem is not available by googling it.
    has no one else encountered this?
    please help, i am scared to release any updates to my programs - massive influx of email from mad users who can not open there apps.

Maybe you are looking for

  • E70 PDF Reader : Unable to open. File type not sup...

    This morning I have bought an E70, among others due to its highscreen resolution and the possibility to run a PDF reader on it. I have now tried ...   - the pre-installed Adobe PDF Reader   - the Adobe PDF Reader supplied with the PC Suite CD-ROM   -

  • How to get rid of Apple logo in photo book back cover

    When I finish the photo book preparation, at the back flap, there is a "Made on a Mac" & an apple logo. Can I get rid of that? Since this is not a free book, there should be no bundled ads on my personal photo book, right?

  • Can i re-link a bank account that i've closed?

    okay, so basically this is my first time using paypal. i have everything set up okay until i tried to link my account. i waited the 2-3 days and didn't see any deposits to my account. so, thinking i did something wrong, i removed the account only to

  • Service Scope

    Hi! I have a service that I created using Axis2 that is set to have a scope of session. In flex, by default is seems, the scope is request. How do I change it to session? When writing clients in java I've used the Axis setMaintainSession(true) method

  • Composed Look and System Master Page

    Hi, I have been able to create my composed looks, but it keeps resetting our System Master Page setting to match that of the composed look master page setting. My Question - Is there a way like an event reciever or something so I can extend the Compo