On 03/17/12 08:45 AM, Philip Brown wrote:
> On Friday, March 16, 2012 12:16:10 AM UTC-7, Ian Collins wrote:
>> On 03/16/12 12:22 PM, Philip Brown wrote:
>>
>>> "fuser -c" is specifically written (by sun) to pick up this sort of thing, and tell you the PID of the offending processes.
>>> As mentioned, it did not show anything.
>>
>> It could be anywhere in the filesystem.
>
>
> Err.. yes, I know, which is why I used "fuser -c", not just "fuser".
> From man fuser:
> -c Reports on files that are mount points for file
> systems, and any files within that mounted file
> system.
>
> The option is specifically designed to tell you which processes are keeping a filesystem "busy" from unmounting.
>
Fair enough, but it doesn't help if ZFS is causing the filesystem to be
busy.
>>
>>> Is there any known bug where fuser does not work properly on zfs any more?
>>
>> Not that I have seen. Which version are you running?
Answering this early on would have helped, different OS version behave
in different ways.
>> Does zfs unmount -f work on the filesystem?
>>
>
> yes, and it's what I eventually did.
> however, given that I've seen Bad Things Happen from using umount -f on NFS mounted filesystems... I'd like to get ideas on what might have been going on, and ways to clean things up, rather than using umount -f.
You said the file system wasn't shared.
The most common cause of a filesystem being busy is a
current/stuck/failed send to or from it.
--
Ian Collins