Solaris 10 Generic_141444-09 V490

My autofs started hang up on 
2962/1:         lstat64("/net/niag2/opt", 0xFFBFFAD0) (sleeping...)

So I tried to restart it with 

svcadm restart autofs

then autofs gone to maintanance state, and wrote to log

umount: /net/niag2/opt busy

>::fsinfo ! grep /net/niag2/opt 
0000060047c39800 autofs          /net/niag2/opt
> 0000060047c39800::print vfs_t vfs_data| ::print fninfo_t fi_rootvp | ::print 
> vnode_t
{
    v_lock = {
        _opaque = [ 0 ]
    }
    v_flag = 0x1
    v_count = 0x2  << Here it comes
    v_data = 0x6004f9bf0c0
    v_vfsp = 0x60047c39800
    v_stream = 0
    v_type = 2 (VDIR)
    v_rdev = 0xffffffffffffffff
    v_vfsmountedhere = 0
    v_op = 0x60046c56ac0
    v_pages = 0
    v_npages = 0
    v_msnpages = 0
    v_scanfront = 0
    v_scanback = 0
    v_filocks = 0
    v_shrlocks = 0
    v_nbllock = {
        _opaque = [ 0 ]
    }
    v_cv = {
        _opaque = 0
    }
    v_locality = 0
    v_femhead = 0
    v_path = 0x6004f387a38 "/net/naig2/opt"
    v_rdcnt = 0
    v_wrcnt = 0
    v_mmap_read = 0
    v_mmap_write = 0
    v_mpssdata = 0
    v_scantime = 0
    v_mset = 0
    v_msflags = 0
    v_msnext = 0
    v_msprev = 0
    v_mslock = {
        _opaque = [ 0 ]
    }
}


But
> 0000060047c39800::print vfs_t vfs_data| ::print fninfo_t fi_rootvp | 
> ::whereopen
>
Nobody holds that vnode, so how it can have v_count = 2, and how can i find the 
bad guy who won't like to call VN_RELE?


Here is source link 
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/autofs/auto_vfsops.c#auto_unmount
-- 
This message posted from opensolaris.org

Reply via email to