Forums Knox

Compacting error

Subscribe to Compacting error 4 post(s), 2 voice(s)

 
Avatar jbrueck 3 post(s)

Hi! I tried to compact a 42GB vault and Knox asked for the password. I typed the correct password for that vault but the password form appears again with a crippled error message, which reads “Funktion nicht” (german) that translates to “Function not”. So I don’t know what’s wrong. The vault mounts correctly. MacBook3,1, Mac OS X 10.5.2, Knox 1.5.3

 
Avatar jbrueck 3 post(s)

btw, console shows:
14.03.08 14:31:21 Knox4462 -[KCompactionManager diskImageCompactor:compactedVault:withResult:] Compaction failed with result 4
14.03.08 14:31:21 [0×0-0×198198].com.knoxformac.knox 2008-03-14 14:31:21.243 Knox[4462:10b] -[KCompactionManager diskImageCompactor:compactedVault:withResult:] Compaction failed with result 4

 
Avatar Kalle Karjal... Administrator 34 post(s)

Hello!

Does restarting Knox and trying the operation again make it go any further?
If not, here’s how to do it in the Terminal.app:

- Open /Applications/Utilities/Terminal.app
- Assuming the vault is stored in the default location, ~/Documents/Knox/, inside the user’s home directory, paste this command in the Terminal.app, substituting your vault name and press return:

hdiutil compact -stdinpass ~/Documents/Knox/yourvaultnamehere.sparseimage

If the vault name has spaces in it, say “My Secure Bits’n’Bobs”, the command would be

hdiutil compact -stdinpass ~/Documents/Knox/My\ Secure\ Bits\'n\'Bobs.sparseimage

At this point you will be asked for the password, “Enter disk image passphrase:”.
Input your password for the vault and the compact operation commences.

The error message “Compaction failed with result 4” you got from Console indicates that user aborted the operation. This is clearly not the case here, and we’re digging into this bug.

Let me know if this works. If it does, would you be so kind as to try placing some files into
the vault, deleting them and try the compact operation from Knox again. This information
would be of value. Thanks!

 
Avatar jbrueck 3 post(s)

Thank you very much for your reply. Meanwhile I continued working with that vault (added some files, deleted some). Today I tried compacting it again via knox preferences and now it works. Unfortunately I can’t say what I did to make it work. Maybe a second restart in the meantime fixed it? I tried restarting my Mac before. I’ll let you know if that error appears again. Thanks again!

Jens

Forums Knox