3 # Sample ZFS problem reports handling.
7 match "type" "fs.zfs.checksum";
8 action "logger -p kern.warn -t ZFS 'checksum mismatch, zpool=$pool path=$vdev_path offset=$zio_offset size=$zio_size'";
13 match "type" "fs.zfs.io";
14 action "logger -p kern.warn -t ZFS 'vdev I/O failure, zpool=$pool path=$vdev_path offset=$zio_offset size=$zio_size error=$zio_err'";
19 match "type" "fs.zfs.data";
20 action "logger -p kern.warn -t ZFS 'pool I/O failure, zpool=$pool error=$zio_err'";
25 match "type" "fs.zfs.zpool";
26 action "logger -p kern.err -t ZFS 'failed to load zpool $pool'";
31 match "type" "fs.zfs.vdev\..*";
32 action "logger -p kern.err -t ZFS 'vdev problem, zpool=$pool path=$vdev_path type=$type'";
37 match "type" "fs.zfs.io_failure";
38 action "logger -p kern.alert -t ZFS 'catastrophic pool I/O failure, zpool=$pool'";
43 match "type" "fs.zfs.probe_failure";
44 action "logger -p kern.err -t ZFS 'vdev probe failure, zpool=$pool path=$vdev_path'";
49 match "type" "fs.zfs.log_replay";
50 action "logger -p kern.err -t ZFS 'pool log replay failure, zpool=$pool'";
55 match "type" "fs.zfs.config_cache_write";
56 action "logger -p kern.warn -t ZFS 'failed to write zpool.cache, zpool=$pool'";
62 match "type" "resource.fs.zfs.removed";
63 action "logger -p kern.notice -t ZFS 'vdev is removed, pool_guid=$pool_guid vdev_guid=$vdev_guid'";
68 match "type" "resource.fs.zfs.autoreplace";
69 action "logger -p kern.info -t ZFS 'autoreplace is configured for vdev, pool_guid=$pool_guid vdev_guid=$vdev_guid'";
74 match "type" "resource.fs.zfs.statechange";
75 action "logger -p kern.notice -t ZFS 'vdev state changed, pool_guid=$pool_guid vdev_guid=$vdev_guid'";