Date: Tue, 17 May 2011 17:17:16 -0400 From: Gary Palmer <gpalmer@freebsd.org> To: a.smith@ukgrid.net Cc: freebsd-fs@FreeBSD.org, Andriy Gapon <avg@FreeBSD.org> Subject: Re: zfs get all command hung Message-ID: <20110517211716.GD37035@in-addr.com> In-Reply-To: <20110517215412.879621won3gxj4v4@webmail2.ukgrid.net> References: <20110517200932.33075laonl99lx4w@webmail2.ukgrid.net> <4DD2D942.9030600@FreeBSD.org> <20110517215412.879621won3gxj4v4@webmail2.ukgrid.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 17, 2011 at 09:54:12PM +0100, a.smith@ukgrid.net wrote: > Quoting Andriy Gapon <avg@FreeBSD.org>: > > > >procstat -kk <pid> > > > > # procstat -kk 37975 > PID TID COMM TDNAME KSTACK > 37975 100669 zfs - mi_switch+0x176 > sleepq_catch_signals+0x29e sleepq_wait_sig+0x16 _sleep+0x269 > clnt_vc_create+0x153 clnt_reconnect_call+0x64d nfs_request+0x215 > nfs_statfs+0x194 __vfs_statfs+0x28 kern_getfsstat+0x3fc > syscallenter+0x1e5 syscall+0x4b Xfast_syscall+0xe2 > > And actually I was thinking, as the all zfs get commands are hanging, > I can run others and truss them of course. Here is the tail of a truss: > > > NAME PROPERTY VALUE SOURCE > write(1,"NAME PROPERTY VALU"...,58) = 58 (0x3a) > mx1 type filesystem - > write(1,"mx1 type file"...,53) = 53 (0x35) > mx1 creation Mon Jan 17 12:08 2011 - > write(1,"mx1 creation Mon "...,53) = 53 (0x35) > mx1 used 78.2G - > write(1,"mx1 used 78.2"...,53) = 53 (0x35) > mx1 available 195G - > write(1,"mx1 available 195G"...,53) = 53 (0x35) > mx1 referenced 22K - > write(1,"mx1 referenced 22K "...,53) = 53 (0x35) > mx1 compressratio 1.27x - > write(1,"mx1 compressratio 1.27"...,53) = 53 (0x35) > fstat(4,{ mode=crw-rw-rw- ,inode=32,size=0,blksize=4096 }) = 0 (0x0) > ioctl(4,TIOCGETA,0xffffc8c0) ERR#19 'Operation not > supported by device' > lseek(4,0x0,SEEK_SET) = 0 (0x0) > lseek(4,0x0,SEEK_CUR) = 0 (0x0) > getfsstat(0x0,0x0,0x1,0x0,0x80,0xa008) = 443 (0x1bb) I'm no expert, but it looks more like you have a NFS filesystem mounted on the system and for some reason system calls to list the mounted filesystems are hanging due to the NFS mount. Is there a NFS filesystem mounted on that box and is the NFS server available and responding to NFS requests? Gary
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110517211716.GD37035>