You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to mount a zfs filesystem after a kernel panic due to networking drivers, the zpool was successfully imported, however mounting one of the zfs filesystem objects took about 2 hours.
The zpool was degraded because the mirror replication was off. Mirroring takes place over the network.
During the crash the system was running a scrub. The scrub continued automatically after rebooting.
During the time in which the mount was taking place, I could see very little IO and the mount.zfs process would occasionally use some cpu and then stop
There wasn't any way (to my knowledge) to know what mount.zfs was doing and how long it would take, or a progress meter to find out how much it still had to do.
Is it possible to find out what it was doing and to control its behaviour if this happens again?
Thanks!
Environment:
RHEL6.4, 256GB of RAM, 2 x 4 core Xeon
ZFS version zfs-0.6.2 spl-0.6.2, against RHEL6 kernel 2.6.32-358.el6
I observed a similar problem but without a scub being involved.
Mounting of dataset was taking so long that I didn't have patience for it to end.
To me it appeared like both mount.zfs and zfs_iput_taskq/ were doing the same thing, possibly interfering with each other. Perhaps the problem was also related to issue #2240.
Both of the mentioned threads were looping (not stuck) in zfs_unlinked_drain() producing a lot of read I/O. Captured stack traces always had the following calls:
zfs_rmnode
zfs_zinactive
zfs_inactive
zpl_evict_inode
evict
iput
zfs_unlinked_drain
The delay here is caused by the need to process the unlinked set after a crash. Currently this is done synchronously in the mount but in principle it could be done asynchronously after the mount completes. This is a duplicate of #3814 which proposes to implement this functionality. Unfortunately for the moment you'll need to wait it out.
I tried to mount a zfs filesystem after a kernel panic due to networking drivers, the zpool was successfully imported, however mounting one of the zfs filesystem objects took about 2 hours.
Thanks!
Environment:
zfs kernel options:
options zfs zfs_arc_max=8589934592 zfs_top_maxinflight=1024 zfs_write_limit_shift=9
The text was updated successfully, but these errors were encountered: