zfs frequently hangs (up to 30 secs) during sequential read
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zfs-linux (Ubuntu) |
Fix Released
|
Medium
|
Colin Ian King |
Bug Description
Updated to artful (17.10) yesterday. Trying to read (play video) from mirrored ZFS disks from an external USB 3 enclosure. Zpool is defined as:
root@hetty:
pool: storage
state: ONLINE
scan: resilvered 20K in 0h0m with 0 errors on Fri Oct 20 18:38:49 2017
config:
NAME STATE READ WRITE CKSUM
storage ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
sdb ONLINE 0 0 0
sdc ONLINE 0 0 0
errors: No known data errors
root@hetty:
Found that I could re-create the problem with:
rsync -av --progress <zfs_file> <internal_
Also found that:
dd if=/dev/sdX of=/dev/null status=progress bs=1024 count=10000000
Where "X" is either "b" or "c" does not hang.
Installed:
root@hetty:
libzfs2linux/
zfs-zed/artful,now 0.6.5.11-1ubuntu3 amd64 [installed,
zfsutils-
root@hetty:
Help please.
Just updated to: artful- updates, now 0.6.5.11-1ubuntu3.2 amd64 [installed, automatic] artful- updates, now 0.6.5.11-1ubuntu3.2 amd64 [installed] artful- updates, now 0.6.5.11-1ubuntu3.2 amd64 [installed, automatic] linux/artful- updates, now 0.6.5.11-1ubuntu3.2 amd64 [installed]
root@hetty:~# apt list --installed | awk '/zpool|zfs/'
libzfs2linux/
libzpool2linux/
zfs-zed/
zfsutils-
root@hetty:~#
A little better, but the problem still happens.