Re: [zfs-discuss] using zdb -e -bbcsL to debug that hung thread issue

2009-05-10 Thread Victor Latushkin
Dennis Clarke wrote: Original Message Subject: Re: I see you're running zdb -e -bbcsL From:"Victor Latushkin" Date:Sun, May 10, 2009 11:17 To: dcla...@blastwave.org ---

Re: [zfs-discuss] is zpool import unSIGKILLable ?

2009-05-10 Thread Victor Latushkin
Dennis Clarke wrote: CTRL+C does nothing and kill -9 pid does nothing to this command. feels like a bug to me Yes, it is: http://bugs.opensolaris.org/view_bug.do?bug_id=6758902 Now I recall why I had to reboot. Seems as if a lot of commands hang now. Things like : df -ak zfs list pid

Re: [zfs-discuss] Recover files from overwritten zpool?

2009-05-10 Thread Stig
Kees Nuyt wrote: On Sat, 09 May 2009 21:36:19 +0200, Stig wrote: To make a long story short, after a Solaris reinstall I needed to access a disk from the previous install. I realize now I should have done a zpool import, but instead I recreated the pool, thinking this would bring my file

[zfs-discuss] using zdb -e -bbcsL to debug that hung thread issue

2009-05-10 Thread Dennis Clarke
Original Message Subject: Re: I see you're running zdb -e -bbcsL From:"Victor Latushkin" Date:Sun, May 10, 2009 11:17 To: dcla...@blastwave.org -- Denni

Re: [zfs-discuss] is zpool import unSIGKILLable ?

2009-05-10 Thread Dennis Clarke
>> CTRL+C does nothing and kill -9 pid does nothing to this command. >> >> feels like a bug to me > > Yes, it is: > > http://bugs.opensolaris.org/view_bug.do?bug_id=6758902 > Now I recall why I had to reboot. Seems as if a lot of commands hang now. Things like : df -ak zfs list zpool list t

Re: [zfs-discuss] is zpool import unSIGKILLable ?

2009-05-10 Thread Dennis Clarke
> Dennis Clarke wrote: >>> Dennis Clarke wrote: >>> It may be because it is blocked in kernel. >>> Can you do something like this: >>> echo "0t::pid2proc|::walk thread|::findstack >>> -v" > So we see that it cannot complete import here and is waiting for > transaction group

Re: [zfs-discuss] is zpool import unSIGKILLable ?

2009-05-10 Thread Victor Latushkin
Dennis Clarke wrote: Dennis Clarke wrote: It may be because it is blocked in kernel. Can you do something like this: echo "0t::pid2proc|::walk thread|::findstack -v" So we see that it cannot complete import here and is waiting for transaction group to sync. So probably spa_sync thread is stuck,

Re: [zfs-discuss] is zpool import unSIGKILLable ?

2009-05-10 Thread Dennis Clarke
> Dennis Clarke wrote: > It may be because it is blocked in kernel. > Can you do something like this: > echo "0t::pid2proc|::walk thread|::findstack -v" >>> So we see that it cannot complete import here and is waiting for >>> transaction group to sync. So probably spa_sync thread is st

Re: [zfs-discuss] is zpool import unSIGKILLable ?

2009-05-10 Thread Dennis Clarke
>>> It may be because it is blocked in kernel. >>> Can you do something like this: >>> echo "0t::pid2proc|::walk thread|::findstack -v" > > So we see that it cannot complete import here and is waiting for > transaction group to sync. So probably spa_sync thread is stuck, and we > need to find out w

Re: [zfs-discuss] Recover files from overwritten zpool?

2009-05-10 Thread Kees Nuyt
On Sat, 09 May 2009 21:36:19 +0200, Stig wrote: >To make a long story short, after a Solaris reinstall I needed to access >a disk from the previous install. I realize now I should have done a >zpool import, but instead I recreated the pool, thinking this would >bring my file system back. I des

Re: [zfs-discuss] is zpool import unSIGKILLable ?

2009-05-10 Thread Victor Latushkin
Dennis Clarke wrote: Dennis Clarke wrote: 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. It may be because it is blocked in kernel. Can you do something like this: echo "0t::pid2proc|::walk th