[zfs-discuss] How to Catch ZFS error with syslog ?

2010-04-12 Thread J James
I have a simple mirror pool with 2 disks. I pulled out one disk to simulate a failed drive. zpool status shows that the pool is in DEGRADED state. I want syslog to log these type of ZFS errors. I have syslog running and logging all sorts of error to a log server. But this failed disk in ZFS pool

Re: [zfs-discuss] How to Catch ZFS error with syslog ?

2010-04-12 Thread Tim Haley
On 04/12/10 09:05 AM, J James wrote: I have a simple mirror pool with 2 disks. I pulled out one disk to simulate a failed drive. zpool status shows that the pool is in DEGRADED state. I want syslog to log these type of ZFS errors. I have syslog running and logging all sorts of error to a log s

Re: [zfs-discuss] How to Catch ZFS error with syslog ?

2010-04-12 Thread Daniel Carosone
On Mon, Apr 12, 2010 at 09:32:50AM -0600, Tim Haley wrote: > Try explicitly enabling fmd to send to syslog in > /usr/lib/fm/fmd/plugins/syslog-msgs.conf Wow, so useful, yet so well hidden I never even knew to look for it. Please can this be on by default? Please? -- Dan. pgpDwZouV1dUr.pgp Desc

Re: [zfs-discuss] How to Catch ZFS error with syslog ?

2010-04-12 Thread Bob Friesenhahn
On Tue, 13 Apr 2010, Daniel Carosone wrote: On Mon, Apr 12, 2010 at 09:32:50AM -0600, Tim Haley wrote: Try explicitly enabling fmd to send to syslog in /usr/lib/fm/fmd/plugins/syslog-msgs.conf Wow, so useful, yet so well hidden I never even knew to look for it. Please can this be on by defau

Re: [zfs-discuss] How to Catch ZFS error with syslog?

2010-04-12 Thread matthew patton
> > Please can this be on by default? Please? > > There are some situations where many reports may be sent > per second so > it is not necessarily a wise idea for this to be enabled by > default. Every implementation of Syslog worth a damn has automatic message throttling and coalescing. This

Re: [zfs-discuss] How to Catch ZFS error with syslog ?

2010-04-13 Thread J James
Thanks for the clue. Still not successful, but some hope is there. -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Re: [zfs-discuss] How to Catch ZFS error with syslog ?

2010-04-13 Thread J James
I was finally able to generate syslog messages, thanks to the clue given by timh cat /usr/lib/fm/fmd/plugins/syslog-msgs.conf setprop console true setprop facility LOG_LOCAL0 -log as facility local0 setprop syslogd true svcadm restart fmd- restart FMD Note that s