1

I store some sensitive data on encrypted disk images. Sometimes for convenience I mount one of these disk image files (.dmg) over the LAN and occasionally forget to unmount it.

A problem arises where even if the client machine where it's mounted is put to sleep, the host still sees the disk image as being in use and will return the error:

The following disk images couldn't be opened
Reason: Resource temporarily unavailable

To gain access to the image I need to physically find which computer it's mounted on, wake it from sleep and eject the image.

How can I force unmount an image which is mounted by a network client?

  • Can you use sudo umount -f <mountpoint>? – ecnepsnai Jun 11 '16 at 22:58
  • the volume is not mounted on the host so there is no mountpoint – billynoah Jun 11 '16 at 23:39
  • Need more information - where are the DMG files stored ? Are they on a network share or are they on a server or a network connected USB ? Is it a Windows or OS X system ? – Danijel-James W Jun 12 '16 at 4:32
  • @Danijel-JamesW - Both machines are running OS X. The DMG is on a drive mounted on the host machine. – billynoah Jun 12 '16 at 14:21
  • Can you check to see if the file is locked? (Get Info on the .dmg) – Allan Jun 14 '16 at 14:32

You must log in to answer this question.

Browse other questions tagged .