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