I tried to import a zpool and the process just hung there, doing nothing.
It has been ten minutes now so I tries to hit CTRL-C.  That did nothing.

So then I tried :

Sun Microsystems Inc.   SunOS 5.11      snv_110 November 2008
r...@opensolaris:~# ps -efl

 F S      UID   PID  PPID   C PRI NI     ADDR     SZ    WCHAN    STIME TTY
        TIME CMD
 1 T     root     0     0   0   0 SY fec1f318      0          10:02:47 ?  
        0:01 sched
 0 S     root     1     0   0  40 20 d3a62448    683 d3291d32 10:02:50 ?  
        0:00 /sbin/init
 1 S     root     2     0   0   0 SY d3a61bc0      0 fec776b0 10:02:50 ?  
        0:00 pageout
.
.
.
 0 S     root  1185  1014   0  40 20 d74fd040   1943 d7f15c66 11:19:04
pts/2       0:00 zpool import -f -R /a/foo 159890708

r...@opensolaris:~# kill -9 1185

r...@opensolaris:~# ps -efl | grep root
.
.
.
 0 S     root  1014  1008   0  50 20 d74ff260   1470 d74ff2cc 10:16:23
pts/2       0:00 -bash
 0 S     root  1185  1014   0  40 20 d74fd040   1943 d7f15c66 11:19:04
pts/2       0:00 zpool import -f -R /a/foo 159890708
.
.
.

OKay, I'll kill the shell.

r...@opensolaris:~# kill -9 1014

r...@opensolaris:~# ps -efl | grep root

 0 S     root  1185     1   0  50 20 d74fd040   1943 d7f15c66 11:19:04
pts/2       0:00 zpool import -f -R /a/foo 159890708

r...@opensolaris:~# kill -9 1185
r...@opensolaris:~# ps -efl | grep root | grep import
 0 S     root  1185     1   0  50 20 d74fd040   1943 d7f15c66 11:19:04
pts/2       0:00 zpool import -f -R /a/foo 159890708
r...@opensolaris:~# kill -9 1185
r...@opensolaris:~# ps -efl | grep root | grep import
 0 S     root  1185     1   0  50 20 d74fd040   1943 d7f15c66 11:19:04
pts/2       0:00 zpool import -f -R /a/foo 159890708
r...@opensolaris:~#

r...@opensolaris:~# date
Sat May  9 11:29:37 PDT 2009
r...@opensolaris:~# ps -efl | grep root | grep import
 0 S     root  1185     1   0  50 20 d74fd040   1943 d7f15c66 11:19:04
pts/2       0:00 zpool import -f -R /a/foo 159890708
r...@opensolaris:~#

Seems to be permanently wedged in there.

r...@opensolaris:~# truss -faeild -p 1185
truss: unanticipated system error: 1185

So what is the trick to killing this ?

-- 
Dennis

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to