ZFS v28: mount dataset hangs
Sergey Gavrilov
srg.gavrilov at gmail.com
Fri Oct 7 07:52:35 UTC 2011
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 at gmail.com>
> On Fri, Oct 7, 2011 at 12:37 AM, Sergey Gavrilov <srg.gavrilov at 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 at delphij.net> https://www.delphij.net/
> FreeBSD - The Power to Serve! Live free or die
>
--
Best regards,
Sergey Gavrilov
More information about the freebsd-fs
mailing list