Filevault compaction problem

I have been using filevault and it won't compact my files.
I have tried the hdiutil compact command but all that happens is that I get a "permission denied" response.
Any ideas?
Here's what happens in Terminal:
hdiutil compact /Users/pete/pete.sparseimage
Initializing...
Attaching...
Finishing...
hdiutil: compact failed - Permission denied

I have been using filevault and it won't compact
my files.
What gives you that idea? Why would you want to do
that? See Help->FileVault on how it works.
Ummmm..... probably because when I delete files the amount of spare space on my hard drive doesn't get any larger, eg deleted 10GB of music but only 7GB is free
I have tried the hdiutil compact command but all
that happens is that I get a "permission denied"
response.
Normal behavior, especially with an encrypted
sparseimage. The answer is to precede the hdiutil
command with sudo, but I strongly suggest you resist
that urge until you fully comprehend what you're
trying to do. See my first response.
I'll meditate on that
Finally, which national security items are you trying
to protect with FileVault? I do not support its use
for home users or benign office users. There are
better solutions. See, for example,
http://discussions.apple.com/thread.jspa?threadID=7790
98.
I agree, unfortunately I turned it on and now can't turn it off. Filevault tells me I need another 4000GB of free space in order to decrypt my hard drive.

Similar Messages

  • Starting up from installation disk/filevault 2 problems

    I'm trying to get filevault 2 going on Lion. When I do I get an error message telling me I need to reformat my disk and reinstall Lion. I have tried running disk repair, that has identified I have a problem with my disk being corrupted. Disk repair has instructed my to reboot with an installation disk in order to repair it. However, I have installed Lion already and am therefore unable to create an installation disk. I have also tried a number of times restarting using "command-R", but this does not work either. I've also tried using a Snow Lepoard installation disk, which didn't work.I was previously using PGP encryption with Snow Leopard, I'm not sure if this is relevant, but I decrypted my hard disk and uninstalled it before upgrading.
    Any help or advice would be much appreciated!

    What happens is this: the apple logo appears, the daisy wheel spins, but then the screen goes blank. There is a lot of whirring from the innards, but eventually this all goes quite (Im still holding down the 'c' key). Then nothing. Ive waited up to 10 mins for some signs of life, but no joy.
    First, I'd expect booting from the installation disk to take a long time.
    I don't agree. I have never seen it take nearly as long as described above, nor had the screen go black for ten minutes. When I boot from the Mac OS X install disk on any of my Macs, it takes maybe a couple minutes. Longer than when booting from a hard drive, yes, but 10 minutes is not reasonable.
    Based on the description above, I would guess that either the install disk is bad or the hardware is bad. Either way, a trip to the Genius Bar would probably be recommended.

  • Xperia z1 compact problem restoring

    Hello. I've bought new sony xperia z1 compact but it has a serious problem. Every time I plug it in (to charge) it restores. The promo video keeps playing again and again, my wallpaper disappears and sets default and the worst thing is that all my photos I took before are deleted. (photos from whatsapp and messenger remain, music remains and gmail, whatsapp and viber remain logged in) All this used to happen when I plugged the mobile to charge but the last time it happened itself suddenly.Please, can you tell me what it is caused by and what can I do about it? In this moment I do not reside at the same place I bought the phone at so I am not able to return it. Thank you very much.

    Hi boavista,
    Welcome to the community,
    This sounds like the device is set to Demo mode, you can try removing this by doing the following.
    *#*#73556673#*#*
    This should remove the demo mode, let us know how you get on.

  • FileVault decryption problem fixed

    I had posted on April 30 that I could not decrypt my FileVault home folder. TechToolPro 4 and Disk Utility both reported problems, but offered no solutions. Today I got a DiskWarrior CD, and it immediately found the problems and fixed them. Easy as pie. Wanted to post this in case others have similar issues with FileVault.

    Well done, and thanks for the post back.

  • Filevault big problems

    Hello all,
    I was helping a friend who couldn't log into her PB this weekend. I didn't have the magic. Here are the symptoms:
    17" PB running 10.4.11
    Filevault enabled
    She receives an error message that she "can't log in at this time".
    I changed the Password using system DVD, no joy - same message.
    Master PW does not do anything.
    There is less than 5GB free space on the drive.
    The spars image is 55GB.
    I tried to back up PB in Target Disk Mode through my iMac to an external FW drive using CCC, then SuperDuper, and then a finder copy of the user folder only. Tried to backup PB to USB drive using same methods. All methods stalled and failed part way through the image.
    I'm afraid to do anything else unless I can back it up first.....
    Any suggestions.....
    Thanks Much,
    Dave

    Hmmm, I'm thinking the Hard Drive diretory is messed up as well as possibly the Disk Image.
    If Disk Utility or fsck should fail to repair it, or even find errors, your best bet is DiskWarrior from Alsoft, you'll need the CD to boot from if you don't have another boot drive...
    http://www.alsoft.com/DiskWarrior/
    If that fails, Data Rescue II...
    http://www.prosofteng.com/products/data_rescue.php
    This one would require another HD with plenty of space to recover to.
    You should use another Boot Disk or other Mac with this one in Target mode to do the recovery.
    They have a free demo to see what it could recover.

  • 2D Matrix, Compacting problem

    Hi!
    I'm about to implement a matrix class that need som kind of "compacting" support, meaning:
    If the the following matrix (3x4) is compacted:
    [1][0][2][8]
    [7][0][3][9]
    [0][0][0][0]
    The resulting matrix (2x3)would be:
    [1][2][8]
    [7][3][9]
    Column 2 will be removed since it's empty (only zeros)
    and row 3 will be removed as well sinces its empty.
    I've tried a number of solutions, but they are all inneficient and/or cumbersome.
    I'm thinking like this:
    Find out which rows and columns should be removed.
    Create a new matrix with the new size, and iterate over the first matrix copying the values.
    Any ideas that come to mind?
    What about choice of datastructure?
    Is the best I can do to use a long[][] or maybe a
    combination of Lists of some sort?
    Any ideas for the algorithm?
    Oh, the size of the matrix will in most of the times be around 80x80 to maybe 120x120 (not necessarily same rowcount as colcount)
    And it must support getting/adding at specific cells, because of the way it's filled with values (from database)
    / Ronnie

    Find out which rows and columns should be removed.Well, that's easy. Two arrays of booleans, initially all false, iterate through the entire matrix setting appropriate booleans to true if you find a non-zero element.
    Create a new matrix with the new size, and iterate over the first matrix copying the values.Convert each array of booleans into an array of ints, which are the subscripts of the boolean arrays which were true. E.g. {f, t, ,t f, t} -> {1, 2, 4}.
    The sizes of these arrays give the matrix size. Two nested loops to copy elements across.

  • Z1 compact problem

    For those who do not call my voice !!! What to do ?

    leher wrote:
    For those who do not call my voice !!! What to do ?
    Sorry, can you explain what the problem is a bit more......are you gtalking about Voicemail 

  • SONY Z3 COMPACT - PROBLEM

    DO NOT COMPARE THE BAR SCROLL TO RESPOND TO PHONE CALLS
    please help me, 

    I don't understand your problem, but you should contact your local Sony Xperia Care
    http://www.sonymobile.com/global-en/support/contact-us/
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • "There was a problem enabling FileVault." Error Message.

    After several attempt trying to enable the filevault on the newly fresh nstalled Mac OS X Mountain Lion, the same error messages appears:
    There was a problem enabling FileVault.
    Problems were encountered with the disk “Mac HD”. Please turn off FileVault, verify and (if necessary) repair the disk with Disk Utility, and try enabling FileVault again.
    Each time I've done the followings:
    1. I've turned FileVault off.
    2. I've erased all partitioned on my hard disk drive, using the USB disk containing the installation files of Mac OS X Mountain Lion.
    3. I've created a single Mac OS X Journaled, non-Encrypted partition using the disk utility and instaled the OS on it.
    4. I've followed the initial proccess of the newly installed OS by entering the WiFi credentials, AppleID and password and ...
    5. I've restarted the system after first boot.
    6. I've just enabled the FileVault after logging in without running any application or plugging any device or even using the system for about 6 hours!
    But every time the same error occoured.
    My system hardware specifications are as follows:
    MacBook 13-inch, Aluminum, Late 2008
    Model Identifier:          MacBook5,1
    Processor: Intel Core 2 Duo 2.4 GHz 3 MB L2 Cache
    Memory: 2x4 GB 1333 MHz DDR3
    Graphics:  NVIDIA GeForce 9400M 256 MB
    Misc:
    Boot ROM Version:          MB51.007D.B03 / SMC Version (system):          1.32f8 / Sudden Motion Sensor State:          Enabled
    HDD: 500.11 GB TOSHIBA MK5065GSX Revision: GJ003A 
    Native Command Queuing:          Yes / Queue Depth:          32
    Removable Media:          No / Detachable Drive:          No
    BSD Name:          disk0
    Rotational Rate:          5400 / Medium Type:          Rotational
    Partition Map Type:          GPT (GUID Partition Table)
    S.M.A.R.T. status:          Verified
      Volumes:
    disk0s1:
      Capacity:          209.7 MB (209,715,200 bytes) / BSD Name:          disk0s1 / Content:          EFI
    disk0s2:
      Capacity:          499.25 GB (499,248,103,424 bytes) / BSD Name:          disk0s2 / Content:          Apple_CoreStorage
    Recovery HD:
      Capacity:          650 MB (650,002,432 bytes) / BSD Name:          disk0s3 / Content:          Apple_Boot
    Please Help!

    It looks like you need to install iOS 6.0.1 that was released yesterday.  You can find more information here: http://lighthousetechnologies.com/blog/software-testing-iphone-5-bug-upgrade
    Khanh-Thy
    Lighthouse Software Testing
    www.lighthousetechnologies.com

  • Which printer will make the fewest problems?

    Hi,
    I plan to buy a new printer, since my current one (Canon Pixma 4600, had it for 3 months) is causing problem after problem. I am sick and tired of reinstalling the printer over and over. Reminds me of my windows days...
    I used to have a basic HP inkjet that did run great with and without Airport Express.
    Any recommendations for a compact, problem-free printer?
    (PS: I do not care about photo printing, I do basic stuff only)

    The opinion of a problem free printer is not objective. I'm sure that someone else who is using the same printer as you is not having to reinstall the driver many times. And any recommendation someone else has may not work perfectly for you.
    Having to reinstall the printer driver would indicate to me you have an issue with your Mac, in as far as its interoperation with the Canon driver and the core system and installed applications. This could be a fault of the Canon driver, possibly due to a conflict with something left over from a previous install, such as the HP Ink Jet driver suite. Therefore you could look at not using the Canon software and using version 5.2.3 of Gutenprint, which lists the iP4600 as a supported printer. If it works then at least you have narrowed down the cause, but if it fails in the same manner then you know you have something wrong at the core which another printer won't necessarily resolve.
    PaHu

  • Cannot enable FileVault

    I was trying to enable FileVault on my iMac where I just have been installing a clean OS X Mountain Lion. My iMac has a SSD and a HDD, and the OS is installed on the SSD.
    I enabled the FileVault in System Preferences, but after the iMac reboots it gives me the following error:
    There was a problem enabling FileVault.
    Problems were encountered with the disk “Crucial M4 SSD”. Please turn off FileVault, verify and (if necessary) repair the disk with Disk Utility, and try enabling FileVault again.
    I've verfied and repaired the disks in Disk Utility. I have been rebooting into the recovery partition to run the Disk Utility from here. Here I'm not able to mount the SSD drive.
    When trying to decrypt the volume is tells me that the volule is not encrypted, and when trying to encrypt the volume is tell me, that the volume is already encrypted. Very confusing
    Denniss-iMac:~ dennis$ diskutil coreStorage decryptVolume 4FDED44E-EC4B-4B11-9FF5-9C958BD8CEAB
    Passphrase:
    Error beginning CoreStorage Logical Volume decryption: The target Core Storage volume is not encrypted (-69755)
    Denniss-iMac:~ dennis$ diskutil coreStorage encryptVolume 4FDED44E-EC4B-4B11-9FF5-9C958BD8CEAB
    New passphrase for existing volume:
    Confirm new passphrase:
    Started CoreStorage operation on disk2 Crucial M4 SSD
    Error: -69696: The target Core Storage volume is already encrypted
    How can I enable FileVault on my iMac?
    Here is a list om by disks:
    Denniss-iMac:~ dennis$ diskutil coreStorage list
    CoreStorage logical volume groups (2 found)
    |
    +-- Logical Volume Group 52C795EE-D034-4F54-9691-EF6D04AD5FF9
    |   =========================================================
    |   Name:         Crucial M4 SSD
    |   Size:         255200755712 B (255.2 GB)
    |   Free Space:   16777216 B (16.8 MB)
    |   |
    |   +-< Physical Volume AB27C53B-03C1-481D-9E02-B21DA84AE0F4
    |   |   ----------------------------------------------------
    |   |   Index:    0
    |   |   Disk:     disk0s2
    |   |   Status:   Online
    |   |   Size:     255200755712 B (255.2 GB)
    |   |
    |   +-> Logical Volume Family BB92E15C-2063-4F56-99EB-5AD588AECDBB
    |       ----------------------------------------------------------
    |       Encryption Status:       Unlocked
    |       Encryption Type:         None
    |       Conversion Status:       Failed
    |       Conversion Direction:    backward
    |       Has Encrypted Extents:   Yes
    |       Fully Secure:            No
    |       Passphrase Required:     No
    |       |
    |       +-> Logical Volume 4FDED44E-EC4B-4B11-9FF5-9C958BD8CEAB
    |           ---------------------------------------------------
    |           Disk:               disk2
    |           Status:             Online
    |           Size (Total):       254865207296 B (254.9 GB)
    |           Size (Converted):   -none-
    |           Revertible:         Yes (unlock and decryption required)
    |           LV Name:            Crucial M4 SSD
    |           Volume Name:        Crucial M4 SSD
    |           Content Hint:       Apple_HFS
    |
    +-- Logical Volume Group F0D53CC0-68D7-44FA-B2F9-0874A4FD181D
        =========================================================
        Name:         Storage
        Size:         999860912128 B (999.9 GB)
        Free Space:   0 B (0 B)
        |
        +-< Physical Volume BFD4B09C-0CE5-40B4-BB3D-9C7E96589573
        |   ----------------------------------------------------
        |   Index:    0
        |   Disk:     disk1s2
        |   Status:   Online
        |   Size:     999860912128 B (999.9 GB)
        |
        +-> Logical Volume Family B86F5A3A-C642-4956-8D21-B724CFDC3028
            Encryption Status:       Unlocked
            Encryption Type:         AES-XTS
            Conversion Status:       NoConversion
            Conversion Direction:    -none-
            Has Encrypted Extents:   Yes
            Fully Secure:            Yes
            Passphrase Required:     Yes
            |
            +-> Logical Volume 97EDE534-A8B0-494B-8D1F-C79D136C8327
                Disk:               disk3
                Status:             Online
                Size (Total):       999709908992 B (999.7 GB)
                Size (Converted):   -none-
                Revertible:         No
                LV Name:            Storage
                Volume Name:        Storage
                Content Hint:       Apple_HFS
    Here is some people with some problems like this:
    https://discussions.apple.com/message/19078311
    https://discussions.apple.com/message/19120311

    At the moment, I doubt that Core Storage requires anything special at the drive firmware level.
    Consider the screenshot at http://apple.stackexchange.com/a/60661/8546 – that's the result of Core Storage encryption, error-free conversion forward of a logical volume:
    * without EFI
    * and the disk is virtual.

  • Unable to turn off FileVault in Mavericks

    When opening "Security and Privacy" in Settings, a window pops up stating:  "There was a problem enabling FileVault.  Problems were encountered with the disk "Macintosh HD".  Please turn off FIleVault, verify and (if necessary) repair the disk with DIsk Utility, and try enabling FileVault again".
    Clicking "Turn off FileVault" brings up a dialog box "Are you sure you want to turn off FileVault?"  Clicking "Turn Off Encryption" generates this error message:  "Disabling FileVault Failed.  An error occurred while reverting the disk.  (Error:  -69755)" and immediately afterward the same exact error message as noted at the top.
    Running DIsk Utility, verified both the physical drive and the partition, both the disk and the folder permissions.  FileVault problem persists.  Logging out and rebooting does not clear the problem.

    I had the same or a very similar problem.  I have a mid-2011 MBA that I upgraded to Mavericks, and then enabled FileVault -- no problems.  I then bought a virtually identical used mid-2011 MBA for my wife to use, upgraded it to Mavericks, and attempted to enable FileVault.  FileVault would go through the motions of encrypting the whole hard drive (256 GB SSD), and then give the error message quoted by the OP above.  When I tried to turn FileVault back off, that would not work either. 
    I tried re-installing Mavericks several times, erasing the hard drive completely and doing a clean re-install from an external drive, but each time when I attempted to enable FileVault, I would receive the same error message.  I called up Apple Support on the phone, and they suggested re-installing Mavericks from the Recovery Partition (not the external drive), but that did not work either.  They then suggested I go to the Apple Store Genius Bar to have hardware tests run on my hard drive.
    I went to the Genius Bar, and they tested the hard drive, which passed all their tests.  As one last thing to try before sending the MBA off to get the hard drive replaced, my genius (Brittney Atilano at the One Stockton Street store) asked if when I had erased the drive if I had ever changed the partitioning.  I said no, it still had the original one GUID partition that came with the MBA when I bought it, and I had never messed with the partitioning.  Brittney said that in their Apple training, they were taught to change the partitioning to something else, and then change it back to one GUID partition, to ensure complete re-formating of the hard drive.  So she changed it to two partitions in a different format, re-formatted the hard drive, then changed it back to one GUID partition, re-formated the hard drive again, and then repeated that procedure once more for good measure, ending up with one GUID partition.  We then re-installed Mavericks on the newly-formated hard drive, enabled FileVault, and lo and behold it worked this time, no problems. 
    I really wanted to be able to use FileVault on this MBA, so I am very happy that Brittney was able to solve my problem.  I hope this technique will help others out there . . . good luck!

  • FileVault + USB Flash drive = can't open excel files

    I can't open files in Excel that are stored on flash drives (I have several flash drives with the same files) in my account that has FileVault enabled.
    The files open just fine when copied to the Desktop.
    Same flash drive, same computer, same Excel, different user (no FileVault), no problem.

    I don't think it was FileVault per se. I managed to recreate the issue in a user account not protected by FileVault.
    I have my drive partitioned, and one of the partitions is named "Fun". If I then connect another disk named "Fun" (or a disk image with that name) and then try to launch an Excel file from that other disk I get the error.
    The problem seems to be in the way Excel is resolving the paths of files it's opening. You can use this Apple Script to see what I mean:
    tell application "Finder"
    return name of every disk
    end tell
    When run this will show you the names of every disk mounted. When I run it I see the following:
    {"Backups", "Fun", "Fun", "Workdrive", "work"}
    You can see there that I have two disks named fun. When excel tries to open a file called "test.xlsx" on my external disk named "Fun", it uses the path "fun:test.xlsx". This path causes confusion because there are two disks with the same name. I suspect it's more a problem with how Excel identifies files and volumes. Other applications (including older versions of Excel) must be doing it differently.

  • Disk space problems

    Hi guys, have looked around everywhere for some help on this topic but no-one seems to be having the same problem and it's quite hard to know what to search for:
    Have been trying to free up space on my HD as I'm aware it's not good to have anywhere near only 10% of free space. The problem I have is deleting large folders and files and emptying trash is not increasing the available disk space at the bottom of the finder window.
    I have even used programs like MacKeeper which found and deleted 30GB of unwanted/unnecessary files yet when I go back to check in finder (or Disk utility for that matter) disk space remains the same.
    One thing I have noticed however is that "Macintosh HD" seems to have 30Gb of free space and my personal folder seems to have roughly the same amount of free space making around 60GB total free space but this is not picked up on disk utility.
    I have seen some comments on the web about filevault causing problems but don't really know where to begin...
    My computer does seem to be performing much better since I've started cleaning it up so am now wondering whether the free space has been increased but it's just being reported wrongly
    Any input would be much appreciated..
    Cheers!

    Your FileVault is saved by OS X as a sparsebundle (something like "onjegolders.sparsebundle"), and each time you log into your account it has to be mounted. This mounted volume always expands when you create new files in your Home folder, but it doesn't shrink when you delete files. When you log out, OS X checks if there's free space in your sparsebundle, and it will try to shrink your Filevault to recover any free space.
    For example, my FileVault is usually under 1GB. Last week, I had a lot of videos in my Home folder that I was trying to burn to DVD. It caused my FileVault to expand to 27GB. After I burned the videos to DVD, I deleted them and emptied my Trash bin, then restarted my computer. When I logged back in, my FileVault was back down under 1GB.
    If your FileVault doesn't reclaim space after rebooting, you might try to verify/repair your sparsebundle (➚). Other people indicate it may be a matter of corrupted files (➚) preventing FileVault from shrinking. If you have less than 15GB of data in your FileVault, you could also just try turning off FileVault temporarily, and then turning it back on to force it to build a new sparsebundle.

  • Strange tween behaviour when copying movie clips among documents

    Does anyone else encounter this? If you have a movieclip that contains a motion tween which is split in the middle, copying the movieclip that contains it to another document may make the animation un-editable or even break it (as in some of the flash banners I'm producing).
    It seems like all transformation points get shifted randomly and Flash somehow tries to "knit" them together again.
    This also happen if you chose "save and compact" and may break your animation if it's more complicated.
    I have recorded a video which shows this behaviour:
    http://www.youtube.com/watch?v=N7nT7wza4GA
    I also filed a bug report for that and hope it could be reconstructed. But seeing it in a video just illustrates the problem even better.

    Hi there,
    Unfortunately this (the copy nested split tweens across files) is a known issue. However, if you use copy frames instead of copy you shouldn't see this issue.
    However, I haven't seen the save and compact problem even with the large complex files -- that shouldn't be touching anything to do with the spans. Are you able to reproduce this consistently or have some steps I can try?
    Thanks!
    Jen.

Maybe you are looking for