ZFS Alert Email Not Work

Dexter23

Member
Dec 23, 2021
195
15
23
34
Hi all

I unplug a disk member of zfs pool, and now the zfs is in "DEGRADED" state, but the problem is the notify email not arrive.
If i send a test email on the shell with this command i receive the email.

echo "This is a test message sent from postfix on my Proxmox Server" | mail -s "Test Email from Proxmox" your-email@gmail.com

Why Zfs not send email notifications?
Thanks
 
Hi,

Does the ZED service is running?

Bash:
systemctl status zed.service

Can you try to write anything on the pool? echo foo > /path/pool/of/zfs/bar
 
Hi

Yes the server is running

root@pveoffice:~# echo foo > /path/pool/of/zfs/bar
-bash: /path/pool/of/zfs/bar: No such file or directory
 
Hi and what is my path ? how can find it?
if i put zfs list i've this output:
NAME USED AVAIL REFER MOUNTPOINT
rpool 35.2G 63.6G 104K /rpool
rpool/ROOT 9.01G 63.6G 96K /rpool/ROOT
rpool/ROOT/pve-1 9.01G 63.6G 9.01G /
rpool/data 26.2G 63.6G 96K /rpool/data
rpool/data/vm-100-disk-0 1.55G 63.6G 1.55G -
rpool/data/vm-101-disk-0 18.7G 63.6G 18.7G -
rpool/data/vm-102-disk-0 5.94G 63.6G 5.94G -