Contents of disk-image lost (mounted from iDisk)

I've stored an encrypted disk-image on my iDisk and mounted it directly from the network-drive by double-clicking the sparseimage-file. Then I worked directly with the files on that mounted volume. I neither copied the disk-image nor any of the files to a local drive.
Suddenly my MacBook Pro freezed and I have to reboot it. When I mounted the disk-image again, I discovered, that nothing of my work has been saved. I've created a lot of new files and regularily saved changes by storing them on the mounted volume. But it seems, that this changes have never been transferred to my iDisk. Two days of work got lost!
My question: is there any local copy of a mounted disk-image, where I can recover the lost files?
At what time an encrypted disk-image got synced? Only when dismounting it?
I'm very disappointed if mounted network-drives are that unsecure and fragile.
Thanks for any help,
makeCents

I'm thinking it would only be saved on closing/dismounting it., local Disk Images would be that way too.
I can't believe virtual disks work that way. The documentation of disk-images tells that you can open, read, and write files on disk-images like on normal drives. Writing should be a transaction, that means the data should be securely saved or an error message has to be raised if not.
It can't be, that a successful write transaction isn't really stored. Even on network drives this has to be secured. That's basic operating system stuff.

Similar Messages

  • Disk image can mount from local terminal with "open" command but not via ssh

    I have a disk image "backup_image.sparsebundle". If I go to the terminal on my machine and type "open backup_image.sparsebundle" the disk image mounts as expected. No problems. If I secure shell (ssh) log in from a remote Mac and execute the same "open backup_image.sparsebundle" a warning dialog pops up and states that "The following disk images couldn't be opened" followed by my disk name. This is incredibly odd because it used to work just fine. I didn't think there were any ACL differences between a local terminal shell and remote ssh. I mean a shell is a shell right? Or, it used to be and now it isn't? I'm not doing anything obviously incorrect (to me); I'm the same user locally and remotely, same path to disk image. This used to work fine before Mountain Lion.
    Background: All of this started because I wrote a script that would ssh in to a remote machine, open the disk image on that remote machine, mount it across the network over afp and rsync. If I leave the disk image mounted on the remote machine, the script runs fine but if the image is close and I try to remotely open the image as I always did, it fails. The only thing that has changed in the system is, now, both machines are running Mountain Lion. Odd.
    Suggestions?

    Storing the password for the remote disk image in the local keychain of the computer running the script (in to a variable), then passing it accross to the remote machine worked. I'm not sure why all of this changed moving from Lion to Mountain Lion but I suppose it is slightly more secure.
    To programatically mount and sync a remote encrypted disk:
    #!/bin/bash
    if [ -n "`mount | grep ~/sync`" ]; then
      echo "Already mounted"
    else
      pw=$(security -v find-generic-password -w -D "application password")
      ssh -o ConnectTimeout=1 [email protected] "echo $pw | hdiutil attach /Users/user/backup_image.sparsebundle"
      mkdir ~/sync
      mount_afp -s "afp://matdup01:[email protected]/Disk Image" ~/sync
    fi
    if [ $? -eq 0 ]; then
      echo "Mount succeeded!"
    else
      echo "Mount Failed"
      exit 0
    fi
    rsync -vrxtu --delete-before --exclude _* "/Volumes/Media/new Media/" ~/sync/new\ media/
    umount ~/sync
    rmdir ~/sync
    exit

  • Disk images not mounting

    Here's the question: how come .dmg files downloaded from apple.com (amongst other places) won't mount?
    Here's the detail: This has to be a FAQ going by Google searches. I've downloaded the Mac Firefox DMG 3 times, and the Safari DMG from apple.com once, and when I try to mount the images I get a range of different cryptic errors, including "codec overrun", "not recognized", "error -some number or other", and so on. Sometimes, I get two different errors for the Safari image.
    Existing disk images on my hard drive mount fine. Today my hard disk has been playing up, with files being corrupted, keychain being broken, prefs disappearing, and so on. I boot from the Tiger DVD, run Disk Utility and Repair Disk, tells me no repairs carried out as all hunky dory. Use Disk Utility on the HD to check permissions, those are fine. Run Onyx maintenance, all is fine. I've not changed the router prefs at all, so it's not that corrupting the downloads.
    All was fine until mid-afternoon today, when a number of apps (Firefox, Safari, Dreamweaver) started behaving strangely and the machine kept on hanging. On restart a number of taskbar icons became question marks, so something's being corrupted. Some downloaded PDFs became corrupted.
    What I might try to do is download DMGs from my work PC, put them on a stick, and try to mount them. If the problem recurs then that would eliminate download errors.
    My conclusion is that either the OS has become damaged, or the HD is physically fubar'd, or at least has some physical errors on it somewhere which DU isn't picking up. If the latter I'm screwed as I'm out of warranty and I might as well chuck the machine in the bin, so let's hope it's the OS. I could reinstall the OS (again) but a) that would be highly time-consuming as I'd also have to reinstall a shedload of apps, prefs, configs, etc, and b) if there's a physical HD error it'll do zero.
    I've already spent some fruitless and frustrating hours today on diagnosis, and having done tech supp in my career I know what to look for, so this is my last throw of the dice to try to get some kind person to suggest a) a diagnosis, and b) suggestions for a cure.
    Without a cure I might as well take a clawhammer to the thing and get a Linux laptop. Ok, PCs are far inferior to Macs with crappy hardware, but at least you don't lose over a thousand quid when your PC laptop fails.
    Cheers
    Fred Riley
    Web Developer, Nottingham, UK

    I was able to get a partial fix of this problem by following instructions that I found on the All Experts web site:
    Regarding disk images and mounting media:
    delete the following files and folders:
    * /System/Library/Extensions.kextcache (file)
    * /System/Library/Extensions.mkext (file)
    * /System/Library/Caches/com.apple.kernelcaches (folder)
    (Note that after deleting these files you need to reboot your Mac for the fix to take effect.)
    All of these files and folders were date 18 Aug 2009, which is in around the timeframe when I installed the last security update for OS10.4 ppc.
    I say the solution is a partial fix, because it did allow me to open some, but not all .dmg files (the problematic ones are showing a checksum error). Now I find that iTunes will not operate (yeah I know that should be another thread), but I have not used it in several weeks, prior to the last OS update.

  • Disk image not mounted

    I have had a host of problems since i installed a Time Capsule. The latest is that after reinstalling my system software -- another story -- I have not been able to make back-ups. The message I get is back up failed, disk image not mounted. What is this? On my time capsule there is a disk image of my hard drive on a dog eared page called a sparse bundle. I'm sure this is easy, but I'm stumped.

    huk730,
    Welcome to the Apple discussion!
    Consider the following causes of that error message. Also bear in mind that when you reinstall the system software, Time Machine cannot continue using the same backups as before and will start a fresh set of backups. [http://support.apple.com/kb/TS1338]
    *_"The Backup Disk Image Could Not Be Mounted" (Console - “Failed to mount disk image”)_*
    First, it is important to distinguish this error message from another, similar Time Machine error that states “The backup volume could not be mounted”. This is important as the causes and cures for these two errors can be very different.
    Consider each topic below separately. When one option does not resolve your issue, then move on the next one.
    *Unmount the Backup Disk Image* (TC)
    If, for some reason, you have manually mounted the Time Machine backup disk image (sparsebundle), or Time Machine failed to eject it after the previous backup, subsequent backups may fail. (Console - “Failed to mount disk image”… “Backup failed with error: 21”)
    Eject the backup disk image (white drive icon) by either clicking the little Eject icon to the right of the disk image in the Finders’ Sidebar, or Ctrl-Click the drive icon on the desktop and select “Eject” from the contextual menu. Now try backing up again or launching Time Machine to view previous backups.
    *“Disconnect All Users…”:*
    If your Time Machine backup drive (“Backup of Users Computer”) is mounted on your desktop or in the Sidebar of the Finder window. then Time Machine may think the drive is already in use. Alternatively, if the Time Capsule hard disk has been recently accessed by a Windows machine, it may not have fully relinquished control. Do the following:
    Open Airport Utility and select the Time Capsule on the left.
    Click “Manual Setup”.
    Select “Disks” at top of window.
    Click “Disconnect All Users…” at bottom of window.
    Close the Airport Utility.
    Now try Backing up again.
    “I got it resolved. Apparently it had to do with one of the files being open on the disk from the drive. I had browsed the disk with one of my windows boxes here and it must have left one of the folders "open". Anyway, I rebooted the TC and we are good to go now.”
    *Proper Computer Name* #
    Make sure your computer has a proper name. Go to System Preferences --> Sharing. Time Machine needs to differentiate your computer from others on your network (i.e. "Bills MacBook" or "Office iMac"). If the "Computer Name" field is blank, create a name. Realize that if this step is necessary, you will likely have to start the Time Machine backup process over again and do another full initial backup.
    According to this article, [http://support.apple.com/kb/TS1760], Time Machine may experience problems if your computer name includes certain characters. Make sure the computer name only includes ASCII characters from the following set.
    (0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ)
    Once a change in the computer name occurs, you should stop and restart Sharing on the affected computer. Uncheck and then recheck Sharing in the Services list on the left.
    Let us know if any of the above was helpful.
    Cheers!
    Message was edited by: Glenn Carter

  • Encrypted disk image sometimes mounts without password

    I have an encrypted sparsebundle disk image containing sensitive information.  On occasion (maybe one time out of ten), I'm able to mount it without being prompted for the password.
    The password for the image is not stored in my keychain.  Can anyone offer advice on this issue?

    I was having exactly this same problem!
    I keep a small encrypted disk image storing sensitive banking information. I do NOT have the option to store passwords in Keychain checked, and I verified that the password is not being stored in Keychain.
    Yet, when I double-clicked the supposedly encrypted sparsebundle disk image, it opened right up and mounted - no password required! Unbelievable, right? So I started to investigate.
    I first noticed this behaviour in Mountain Lion, I'm running 10.8.4 on a 2.7 GHz 15" MBPr.
    In past versions of OS X I would mount the volume to work on it by double-clicking on the disk image, enter my passowrd, and then Eject the volume either by dragging to the trash or clicking the Eject button on the Sidebar. The next time I would try to access the disk image by double-clicking it, it would again prompt for a password. All good.
    What seems to be happening in ML is, using the same workflow, even though the volume is disappearing from Finder, the disk image is not actually being unmounted!
    When I go to Disk Utility, the disk image is still mounted, but the volume is grayed out. When I Eject the disk image in Disk Utility, it then reverts to the expected bahaviour, and double-clicking on the disk prompts for a password.
    So the workaround seems to be when finished working on the volume, go to Disk Utility and manually Eject the disk image (as opposed to just the volume it mounts) to ensure it has unmounted and is thus again encrypted. The reason for it sometimes requiring a password, sometimes not is probably because after a restart of the computer it would unmount all disks, and then be unable to re-mount it until the password is entered. But in between, unless you were aware of this behaviour anyone with access to the disk image can view its contents.
    What a terrible security flaw IMO, as there is no visual indication in Finder that the disk image is still unprotected after you unmount its volume and that icon disappears! I'm surprised this hasn't gotten more attention.
    Incidentally brian_c, I tried to look at your linked videos but it returns the message that the videos violated the TOS of the site...?

  • Hard Drive and Disk Image not mounting

    Hey everyone,
    I'm running a G5 Dual 2Ghz. with OSX 10.5.8 I'm having problems with a back up hard drive. It is an external Western Digital My Book 1.5TB SATA drive. After using it for a few months, it suddenly did not mount anymore.
    *1) It also would not appear in Disk Utility.*
    a) Disk Warrior couldn't find the drive (I think because it's formatted with FAT32)
    *2) I then took the drive out of the enclosure and put it in the spare bay in the G5.*
    a) It didn't mount
    b) It did show up in Disk Utility
    c) In Disk Utility it wouldn't give me the option to Repair Disk Permissions or Repair Disk
    d) In Disk Utility is says under Partition Scheme: Unformatted
    e) In Disk Utility I don't have the option to mount/eject only gives me the "info" option
    f) Tech Tool did find the drive and it passed all tests
    g) Disk Warrior still did not find the drive
    h) TestDisk finds the drive, but does not find any partitions
    *3) I then created a disk image of the drive in Disk Utility onto an external hard drive. The image comes back at 320GB, which seems to be about right I think.*
    a) The disk image would not mount with Disk Image Mounter. It would say there is an Unrecognized File System
    b) In Disk Utility - I don't have the option to Repair Disk Permissions
    c) In Disk Utility - When trying to Repair Disk - I get the error: Repairing Disk failed with error Unrecognized FileSystem
    d) In Disk Utility - If I click Open - The Log file says:
    +Attach Image+
    Initializing...
    Verifying...
    Finishing...
    +Image of "disk0.dmg" attached successfully+
    +Mount of "disk0.dmg" succeeded+
    -But it is no where to be found
    e) Disk Warrior can not find the Disk Image
    f) I took the new external drive with the Disk Image to 3 other mac computers but the image would not mount
    *4. Other things I've tried when opening the Disk Image for the new external drive.*
    a) in Terminal - hdiutil attach -nomount "volumes/untitled/disk0.dmg"
    b) in Terminal - sudo hdiutil attach -nomount "volumes/untitled/disk0.dmg"
    c) Deleting files System/Library/Extensions.kextcache
    System/Library/Caches/com.apple.kernalcaches
    ALL UNSUCCESSFUL
    I'm running very low on ideas. I know I could just erase the drive and reformat it, but the files on it are very important and must be recovered.
    Any help or suggestions would be very helpful. I will not have time until after the weekend to try more things. Thanks in advance if you do not hear back from me until after this weekend.

    Yes, it will. But if DU says the disk is unformatted then it is also not accessible. If you have files you don't wish to lose then you will need to try recovery software:
    Basics of File Recovery
    General File Recovery
    If you stop using the drive it's possible to recover deleted files that have not been overwritten by using recovery software such as Data Rescue II, File Salvage or TechTool Pro. Each of the preceding come on bootable CDs to enable usage without risk of writing more data to the hard drive.
    The longer the hard drive remains in use and data are written to it, the greater the risk your deleted files will be overwritten.
    Also visit The XLab FAQs and read the FAQ on Data Recovery.

  • Is the missing disk image stopping me from opening my software?

    I just downloaded the trial version of Adobe Photoshop CS5.1, and the file appears to be there. However when i try to open it, it comes up with a window saying, 'Warning, the following disk images couldn't be opened' it then lists the image as some kind of code and the reason as 'error -4960'
    Has anyone experienced a similar problem? I need this software asap so any help would be appreciated.

    If i am not wrong, i think your are getting this error on your MAC as this is a known issue on the apple community. According to the Apple support forums, error -4960 means your download may have been interrupted due to some reason.
    So, uninstall the Adobe download Assistant and try to download the same using a different browser like Chrome or Firefox and then check.
    You may also get the direct download link for PS CS5.1 from the below link.
    https://help-internal.adobe.com/content/help/en/x-productkb/global/direct-download-links-t rials.html

  • How do I create a start-up disk image without restarting from the Install DVD?

    (I know this is not MacBook Pro question per se, but I can't find a software discussion this applies to.)
    Situation:
    My MBP is running, but it's acting up and Onyx tells me that the start-up volume needs repair and directs me to use Disk Utility.
    But to repair a volume using Disk Utility, you must restart from the original Install DVD (or some other start-up volume).
    But although the MBP will read my old Leopard Install DVD and the Install DVD that came with my MBP, it refuses to restart from either of them. (Trying to do so gets as far as the Apple logo on a gray screen and then hangs there; all disk activity ceases.)
    Question:
    How can I (is it even possible to) create a start-up volume on my external FW drive without starting my MBP from a DVD?
    In other words, is there a way to either:
    a) create a disk image from the Install DVD on my external FW drive and then designate that disk image as my start-up drive?
    OR
    b) create a disk image on my MBP's internal drive that I can then use to run a System Install on my external drive?
    (BTW, I know I can create disk images using Disk Utility, but it offers many options for type, compression, etc., that are beyond me. )
    Any advice would be greatly appreciated!

    OS X Lion includes a new feature called Lion Recovery that includes all of the tools you need to reinstall Lion, repair your disk, and even restore from a Time Machine backup without the need for optical discs.
    Restart your Mac holding down the Command-R to enter the Recovery HD.
    From there you can use Disk Utilty.
    http://support.apple.com/kb/HT4718
    Stefan

  • Backup disk and Disk Images not mounting

    *Intial Disk Utility problem:* Recently my trusty 6 year old PowerBook G4 died from hard-drive failure, with most of my data backed up on external drives. Before migrating data over to my new iMac, I performed "First Aid" in "Disk Utility" on the external backup drive. One of the drives (500GB iomega drive) that backed up my PowerBook and my PC had 5 partitions (4 were FAT32, and 1 was NTFS), somehow got erased in Disk Utility. Even though I was just verifying one of the partitions the whole drive was cleared and renamed: disk2s4 (28kb) and disk2s10 (372.5GB). This didn't take much time, so I knew all the data hadn't been cleared, and checked the Security Options for Erase, and its set to "Don't Erase Data."
    *Disk Warrior attempt:* At this point, having a sorta wrecked backup drive that still apparently had data, I bought Disk Warrior and gave that a try. It read the drive the first time, but couldn't recover any of the directory information. Hoping to not overwrite anything, at that point, I didn't proceed with the "rebuild" option. Now when I try Disk Warrior, it just says:
    Directory Cannot be rebuilt due to disk hardware failure (-50,447)
    - This disk appears to be a MacOS standard sik
    - This disk does not appear on the desktop
    - This disk is 372.49 GB in size
    - Disk ID: disk2s10
    - File system: HFS (standard) +even though most of the drives had been fat32+
    Now Disk Warrior doesn't even give the option to scan the drive.
    *Disk Imaging attempt:* Disk Warrior is claiming a hardware problem (which isn't really the case), so I tried making a disk image in Disk Utility of both disk2s10 and disk2s4. I tried opening disk2s10.dmg in Finder and in Disk Utility, and get the message: "No mountable file systems." In the past when confronted with unmountable disk images, I've used VLC media player. So, I pull up VLC read disk2s10.dmg and music starts playing!!! At first I freak out, then I realize that its the first song listed in my iTunes library -- the data is there, can be retrieved, but I'm not sure how to get it!
    *Next attempts:* the only other thing I can think of is to try daemon tools or something on my PC, or bring the drives into the the school IT guys.
    Please let me know what you think would work that I haven't already tried. Though I have redundancy in the backups, I haven't been able to recover some data for my PhD thesis due in a month, and therefore haven't given up on reviving this disk yet.

    I've downloaded the DataRescue and FileSalvage trials, and am currently scanning with DataRescue which will take another few hours. Thanks for those recommendations, its so useful to have a trial scan before buying.
    *General Question:* I noticed through these various attempts that reformatting extra drives in the current version of Disk Utility has become a little more dangerous than before. For example, I was reformatting a spare disk from FAT32 to HFS+ and the drive became unmountable. This never happened to me in earlier versions of OSX, and now it seems to happen every time, and partly why my partitions got all screwy. Any thoughts?

  • Cant get disk images to mount

    none of the disk images i have on my machine will mount. i have one disk image of firefox and one disk image of a dvd movie and for some reason now they wont mount but they did before. any ideas

    Try booting in safe mode - clearing certain caches.
    If you are having a problem where disk images won't mount, try booting in Safe Mode (by holding down the Shift key while starting up), then re-attempting mounting of the disk image.
    Prior to booting in safe mode, however, you can delete the following files:
    /System/Library/Extensions.kextcache
    /System/Library/com.apple.kernelcaches
    These, and other cache files, are automatically deleted when you boot in safe mode, but you can potentially save some time by deleting these files (then logging out and back in) and re-attempting disk mounting.
    Scott

  • How do you get a disk image to mount automatically at login?

    I've created a disk image on my iMac in order to share my iPhoto library with multiple users.  I would like it to mount automatically when the computer boots up, rather than having to chase it down every time a user wants to access photos.  I know how to navigate to Login Options in System Pref/Users & Groups, but don't see any mechanism there for adding disks or apps to startup at login.  Thanks...

    Adding an application to startup.  I'm not quite sure what you mean by mounting a disk image but you could pop your dmg in there and see what happens at login.

  • Disk images now mount twice!

    Recently, each time I eject a mounted disk image it disappears for a second then remounts again. Ejecting it a second time always does the trick. What can be going on here?

    Solved it by trashing the Finder preference file

  • Superduper backup to disk image then restore from disk image

    Im trying to get bootcamp to work but it told me to backup, format and restore. Im currently copying my data to a disk image. Am i able to restore this or is it pointless?
    Thanks

    You can do it your way, but the intended way is to use FileVault to encrypt your Home folder. When you log out of your account then TM will begin the backup of the encrypted Home folder. No need for you to encrypt or decrypt your own disc image.
    If you allow TM to run hourly backups as you now do, then both your Home folder and your backups are not secure.

  • Where/How do I get a new disk image to install from

    I'm a linux guy so I am used to just downloading the latest... where can I get an image to install from?
    I have a Mini PCC and want to completely refresh the thing...

    Welcome to Apple Discussions!
    What's a Mini PCC? Are you talking a PowerPC Mac Mini?
    And the latest what? Mac OS X, except for incremental updates, which this forum is about is not available for download (you can download the update from 10.4 to 10.4.7 for instance, if that's what you want, but you can't download the full 10.4.7 from scratch). Macs can run the operating system they came with or newer retail operating system up to what specs allow. Macs can also run Linux, though Mac OS X is itself very much like Linux as it has both an XWindows environment and a simple ANSI terminal with a bourne shell into its FreeBSD based command line. So the question becomes what you are going to try to run on your computer?

  • Disks not un-mounting from desktop

    I have downloaded a few programs, and the disks won't unmount or eject. I get the trash can turning into an eject icon, drag it to the icon, but nothing happens.
    Anyone else experiencing this?

    Yes.
    Its very annoying. After a restart I was able to eject some for a while, but within a short time the problem returned.
    I have found that you can eject them through disk utility.

Maybe you are looking for