damicon / zfswatcher

ZFS pool monitoring and notification daemon
GNU General Public License v3.0
188 stars 38 forks source link

OpenZFS on Raspberry PI does not have a "status:" line in zpool status. #8

Open falconn19 opened 9 years ago

falconn19 commented 9 years ago

Not really sure this is a zfswatcher problem, but OpenZFS on rasbian does not have a "status:" line in the zpool status command, so zfswatcher exits with a crit error. Here is log file:

2015-03-27 22:39:39 [info] zfswatcher starting 2015-03-27 22:39:40 [crit] invalid line 3 in status output: scrub: none requested

pool: data state: ONLINE scrub: none requested config:

NAME STATE READ WRITE CKSUM data ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 disk/by-id/ata-Hitachi_HTS725032A9A360_110214PCJL00GLGU26WJ ONLINE 0 0 0 disk/by-id/ata-WDC_WD3200BEVT-26A23T0_WD-WXN1A8017896 ONLINE 0 0 0

errors: No known data errors 2015-03-27 22:39:40 [crit] exiting, parsing ZFS status failed 2015-03-27 22:39:40 [info] zfswatcher stopping

snabb commented 9 years ago

Hmm... I believe this is a bug in Raspberry Pi port of OpenZFS ? :)

According to http://open-zfs.org/wiki/Projects#Raspberry_Pi.C2.AE_support OpenZFS Raspberry Pi port is work in progress. I tried to find the source repository of this project to see if there was any justification to making the output incompatible but I am unable to locate any repository.

falconn19 commented 9 years ago

Here is the one I used git clone https://bitbucket.org/cli/zfs-fuse-arm.git Looks like an old Google Summer of Code 2006 initiative. I was wrong, more of a ZFS on fuse than an openzfs issue.