Page 1 of 1

zed is berserking on system.log

PostPosted: Thu Jun 02, 2016 1:17 am
by haer22
zed is berserking looking for flock. Today June 2, I have so far 45 log-files that have been filled up and cycled.

The stuff going on is that one of my 8 TB disks went bonkers and the resilvering did not work because I had a no_scrub_io=1 active. I set that to 0 and started a scrub. That was 5 days ago...

Which flock does it not find?

Code: Select all
Jun  2 11:11:33 ihecc zed[63138]: error: checksum-notify.sh: eid=3307673: failed to unlock "/var/run/zed.zedlet.state.lock": /etc/zfs/zed.d/zed-functions.sh: line 166: flock: command not found
Jun  2 11:11:33 ihecc zed[63141]: eid=3307674 class=checksum pool=gaia
Jun  2 11:11:33 ihecc zed[63148]: error: checksum-notify.sh: eid=3307674: failed to lock "/var/run/zed.zedlet.state.lock": /etc/zfs/zed.d/zed-functions.sh: line 128: flock: command not found
Jun  2 11:11:33 ihecc zed[63158]: error: checksum-notify.sh: eid=3307674: failed to unlock "/var/run/zed.zedlet.state.lock": /etc/zfs/zed.d/zed-functions.sh: line 166: flock: command not found
Jun  2 11:11:33 ihecc zed[63161]: eid=3307675 class=checksum pool=gaia
Jun  2 11:11:33 ihecc zed[63168]: error: checksum-notify.sh: eid=3307675: failed to lock "/var/run/zed.zedlet.state.lock": /etc/zfs/zed.d/zed-functions.sh: line 128: flock: command not found
Jun  2 11:11:33 ihecc zed[63178]: error: checksum-notify.sh: eid=3307675: failed to unlock "/var/run/zed.zedlet.state.lock": /etc/zfs/zed.d/zed-functions.sh: line 166: flock: command not found
Jun  2 11:11:33 ihecc zed[63181]: eid=3307676 class=checksum pool=gaia
Jun  2 11:11:33 ihecc zed[63188]: error: checksum-notify.sh: eid=3307676: failed to lock "/var/run/zed.zedlet.state.lock": /etc/zfs/zed.d/zed-functions.sh: line 128: flock: command not found
Jun  2 11:11:33 ihecc zed[63198]: error: checksum-notify.sh: eid=3307676: failed to unlock "/var/run/zed.zedlet.state.lock": /etc/zfs/zed.d/zed-functions.sh: line 166: flock: command not found
Jun  2 11:11:34 ihecc zed[63201]: eid=3307753 class=checksum pool=gaia
Jun  2 11:11:34 ihecc zed[63208]: error: checksum-notify.sh: eid=3307753: failed to lock "/var/run/zed.zedlet.state.lock": /etc/zfs/zed.d/zed-functions.sh: line 128: flock: command not found
Jun  2 11:11:34 ihecc zed[63218]: error: checksum-notify.sh: eid=3307753: failed to unlock "/var/run/zed.zedlet.state.lock": /etc/zfs/zed.d/zed-functions.sh: line 166: flock: command not found
Jun  2 11:11:34 ihecc zed[63221]: eid=3307840 class=checksum pool=gaia
^C

Re: zed is berserking on system.log

PostPosted: Tue Jun 07, 2016 5:05 pm
by lundman
flock is a Linux binary command in this case, it should be removed from OSX scripts.