zed is berserking on system.log

All your general support questions for OpenZFS on OS X.

zed is berserking on system.log

Postby haer22 » Thu Jun 02, 2016 1:17 am

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
haer22
 
Posts: 123
Joined: Sun Mar 23, 2014 2:13 am

Re: zed is berserking on system.log

Postby lundman » Tue Jun 07, 2016 5:05 pm

flock is a Linux binary command in this case, it should be removed from OSX scripts.
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan


Return to General Help

Who is online

Users browsing this forum: No registered users and 23 guests