Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2019 16:17:23 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        FreeBSD stable <freebsd-stable@freebsd.org>
Subject:   Re: ZFS deadlock
Message-ID:  <e3b57c54-844f-7072-e431-ef0441e588f0@grosbein.net>
In-Reply-To: <2a1d0c98-03a9-66e4-4602-7f81c28cd34e@grosbein.net>
References:  <2a1d0c98-03a9-66e4-4602-7f81c28cd34e@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
30.11.2019 15:48, Eugene Grosbein wrote:

> Hi!
> 
> I have RAIDZ1 with five GELI-encrypted SSDs da[2-6].eli (non-boot pool).
> 
> I've exported the pool, destroyed da2.eli then successfully imported pool back in degraded state.
> Then I've mounted some file systems successfully but zfs mount for next one hung on [tx->tx_sync_done_cv]
> for 4400 seconds and counting.
> 
> # procstat -kk -L 55464
>   PID    TID COMM                TDNAME              KSTACK
> 55464 102422 zfs                 -                   mi_switch+0xeb sleepq_wait+0x2c _cv_wait+0x16e txg_wait_synced+0xa5 dmu_tx_assign+0x48 zfs_rmnode+0x122 zfs_freebsd_reclaim+0x4e VOP_RECLAIM_APV+0x80 vgonel+0x213 vrecycle+0x46 zfs_freebsd_inactive+0xd VOP_INACTIVE_APV+0x80 vinactive+0xf0 vputx+0x2c3 zfs_unlinked_drain+0x1b8 zfsvfs_setup+0x5e zfs_mount+0x5f5 vfs_domount+0x573
> 
> It looks like deadlock for me.
> 
> What can I do to resolve this? FreeBSD 11.3-STABLE/amd64 r354667.

"zfs mount" just completed successfully after trim -f /dev/da2 (3.5TB) finished in 76 minutes.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e3b57c54-844f-7072-e431-ef0441e588f0>