Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Oct 2011 11:52:33 +0400
From:      Sergey Gavrilov <srg.gavrilov@gmail.com>
To:        Xin LI <delphij@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS v28: mount dataset hangs
Message-ID:  <CAAy32d2HoSop6iaFvdHJ0_Kd7mthfh9GMCXi9eVLUGuYZR2XQQ@mail.gmail.com>
In-Reply-To: <CAGMYy3sQ1o8zFoF2ASTtEQ5GJu2S8hqs%2Bvp8QMRMf2UCCKdPuw@mail.gmail.com>
References:  <CAAy32d3fTVmHOO9DBhDiFBYdq5EEjS9223dXfjdH2UTBWSxcag@mail.gmail.com> <CAGMYy3tq5yVogSU1-g8tnVwOJfSUKW0QpsfYiXE71N1ud-_cYw@mail.gmail.com> <CAAy32d3O%2Bm5yNTw7QSEg=-q7A754OqSX=B7GWydvz8ThiW8MqA@mail.gmail.com> <CAAy32d1RFPLO3_Ws%2Bz0OgOFS39L%2BRsocFqoFtu5qOWKnDTtC4w@mail.gmail.com> <CAGMYy3sQ1o8zFoF2ASTtEQ5GJu2S8hqs%2Bvp8QMRMf2UCCKdPuw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
There are too many running processes right now. Will it be enough procstat
for hanged process only?

sudo zfs set mountpoint=/pool2/samba/NMO pool2/samba/NMO

ps ax | grep zfs
   29  ??  DL    88:26,87 [zfskern]
 1273  ??  Is     0:00,00 /usr/sbin/mountd -r /etc/exports /etc/zfs/exports
11672   1  I+     0:00,01 sudo zfs set mountpoint=/pool2/samba/NMO
pool2/samba/NMO
11673   1  D+     0:00,03 zfs set mountpoint=/pool2/samba/NMO
pool2/samba/NMO
11817   2  S+     0:00,00 grep zfs

 sudo procstat -kk 11673
  PID    TID COMM             TDNAME           KSTACK
11673 101295 zfs              initial thread   mi_switch+0x176
sleepq_wait+0x42 _cv_wait+0x129 txg_wait_synced+0x85
zil_replay_log_record+0xe1 zil_parse+0x3d8 zil_replay+0xe5
zfsvfs_setup+0x117 zfs_mount+0x52f vfs_donmount+0xdc5 nmount+0x63
amd64_syscall+0x1f4 Xfast_syscall+0xfc

And else. I'd sent dataset to another pool and it had mounted and works
well.

2011/10/7 Xin LI <delphij@gmail.com>

> On Fri, Oct 7, 2011 at 12:37 AM, Sergey Gavrilov <srg.gavrilov@gmail.com>
> wrote:
> > pool: pool2
> >  state: ONLINE
> >  scan: scrub repaired 0 in 7h29m with 0 errors on Thu Oct  6 02:15:50
> 2011
> > config:
> >
> >    NAME        STATE     READ WRITE CKSUM
> >    pool2       ONLINE       0     0     0
> >      raidz2-0  ONLINE       0     0     0
> >        da9     ONLINE       0     0     0
> >        da10    ONLINE       0     0     0
> >        da11    ONLINE       0     0     0
> >        da12    ONLINE       0     0     0
> >        da13    ONLINE       0     0     0
> >        da14    ONLINE       0     0     0
> >        da15    ONLINE       0     0     0
> >        da16    ONLINE       0     0     0
> >
> > errors: No known data errors
>
> Okay... can you also do 'procstat -kk -a' with root when zfs process
> hangs with [tx->tx_sync_done_cv)]?
>
> Cheers,
> --
> Xin LI <delphij@delphij.net> https://www.delphij.net/
> FreeBSD - The Power to Serve! Live free or die
>



-- 
Best regards,
Sergey Gavrilov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAy32d2HoSop6iaFvdHJ0_Kd7mthfh9GMCXi9eVLUGuYZR2XQQ>