• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Finder does not see any content behind a mount point
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder does not see any content behind a mount point


  • Subject: Re: Finder does not see any content behind a mount point
  • From: Vivek Verma <email@hidden>
  • Date: Fri, 04 Jul 2014 11:37:24 -0700

On 6/18/14, 9:46 AM, Vadim Galitsyn wrote:
> Thank you, George!
>
> Finally, I was able to make Finder able to browse mount point content. Seems it wanted fsid and absolute path to mount point. However, once I browsed it with Finder, I am no longer able to unmount it. Unmount freeze and this is a deadlock in kernel [dounmount()->vflush()->vnode_reclaim_internal()->vnode_drain(), waiting for vp->v_iocount which is >1].

This is a symptom of something in your kext doing a vnode_get* on a vnode on your mountpoint and not doing the corresponding vnode_put. Even a forced unmount will not work.

In the sysdiagnose attached downthread, i see some VBoxClient ioctls - is it possible they are holding an iocount on a vnode on your mount point ? I would suggest auditing your code and making sure you have done the corresponding vnode_put in any place you have done a vnode_get* ( Common sources of iocount "leaks" are error paths )

> Therefore, vfs_unmount() callback is never called.
>
> This does not happen if I browsed it with console tools. Even if mount point is busy, vfs_unmount() callback is called and unmount tool receives expected EBUSY.
>
> I have suspicion that once I browsed with Finder, some system service (mds?) starts watching mount point and never release it. The question is how to notify service (if this is the case) about unmount or tell it to do not watch for the mount point.
> Btw, once I attempt to kill mds while unmount is stuck, it becomes zombie.
>
> Sorry, I have not specified OS X version which I am experimenting with. It’s 10.8.4 at the moment.
>
> Thank you in advance for any input,
> Vadim

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Custom icons on custom filesystem
  • Next by Date: NTLM authentication
  • Previous by thread: Custom icons on custom filesystem
  • Next by thread: NTLM authentication
  • Index(es):
    • Date
    • Thread