From owner-freebsd-questions@freebsd.org Wed Jul 3 13:54:16 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8B5115D4849 for ; Wed, 3 Jul 2019 13:54:15 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (net-2-44-121-52.cust.vodafonedsl.it [2.44.121.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A70B748B2; Wed, 3 Jul 2019 13:54:14 +0000 (UTC) (envelope-from ml@netfence.it) Received: from guardian.ventu (88-147-119-21.v4.ngi.it [88.147.119.21] (may be forged)) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id x63Ds19s039066 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 3 Jul 2019 15:54:04 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host 88-147-119-21.v4.ngi.it [88.147.119.21] (may be forged) claimed to be guardian.ventu Subject: Re: ZFS filesystem full and logs To: Peter Boosten Cc: freebsd-questions@freebsd.org, matthew@FreeBSD.org References: <9a4367f7-d0b5-e1df-0569-b22a9d182a63@netfence.it> <4F3BEEF7-351F-42F2-B0A3-3EFE5F4C2E69@boosten.org> From: Andrea Venturoli Message-ID: <5ec8ef7d-b2bc-465b-cb92-8e28c4449340@netfence.it> Date: Wed, 3 Jul 2019 15:54:00 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <4F3BEEF7-351F-42F2-B0A3-3EFE5F4C2E69@boosten.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.83 X-Rspamd-Queue-Id: 8A70B748B2 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 2.44.121.52 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [-4.81 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:2.44.121.52]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[netfence.it]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mailserver.netfence.it]; NEURAL_HAM_SHORT(-0.78)[-0.777,0]; IP_SCORE(-1.72)[ip: (-5.03), ipnet: 2.44.0.0/16(-2.52), asn: 30722(-1.07), country: IT(0.03)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:30722, ipnet:2.44.0.0/16, country:IT]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jul 2019 13:54:16 -0000 On 2019-07-03 13:00, Peter Boosten wrote: > > >> Op 3 jul. 2019, om 09:57 heeft Andrea Venturoli > > het volgende geschreven: >> >> Hello. >> >> When using UFS, if a filesystem gets full, this is logged via syslogd. >> Can the same happen somehow for ZFS? >> If it's possible, how is it done? >> > > > Put this in your /etc/periodic.conf and you’ll get a status daily: > > daily_status_zfs_enable=“YES" > daily_status_zfs_zpool_list_enable="YES” > > Peter > Thanks Peter and thanks Matthew. I know the thing about pools, etc... I already have these in daily status and I already monitor with Cacti and Nagios. It would have been useful to *also* get this in the logs (partly because swatch would get it faster than the others). Ok, it can't be done. bye & Thanks anyway Andrea Venturoli