From owner-freebsd-questions@freebsd.org Sat Nov 28 15:50:13 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0DDF34A4697 for ; Sat, 28 Nov 2020 15:50:13 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (mailserver.netfence.it [78.134.96.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CjwtW5mXCz4TSy; Sat, 28 Nov 2020 15:50:11 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (mailserver.netfence.it [78.134.96.152]) (authenticated bits=0) by soth.netfence.it (8.16.1/8.16.1) with ESMTPSA id 0ASFo4bq070813 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Sat, 28 Nov 2020 16:50:05 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host mailserver.netfence.it [78.134.96.152] claimed to be alamar.ventu From: Andrea Venturoli Subject: Errors with snapshots (testing sysutils/zfstools) To: freebsd-questions@freebsd.org Cc: bdrewery@FreeBSD.org Message-ID: <5af06726-3cb6-0183-265c-7d2831798738@netfence.it> Date: Sat, 28 Nov 2020 16:50:04 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.83 X-Rspamd-Queue-Id: 4CjwtW5mXCz4TSy X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [-3.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[78.134.96.152:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[78.134.96.152:from:127.0.2.255]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Nov 2020 15:50:13 -0000 Hello. I'm testing sysutils/zfstools, which will create hourly snapshots of all my ZFS pools, on a 12.2 box. However, I see in the logs, every hour, the following messages: > kernel: g_dev_taste: make_dev_p() failed (gp->name=zvol/zroot/vm/win10test/disk0@zfs-auto-snap_hourly-2020-11-28-16h00, error=63) > kernel: g_dev_taste: make_dev_p() failed (gp->name=zvol/zroot/vm/win10test/disk0@zfs-auto-snap_hourly-2020-11-28-16h00p1, error=63) > kernel: g_dev_taste: make_dev_p() failed (gp->name=zvol/zroot/vm/win10test/disk0@zfs-auto-snap_hourly-2020-11-28-16h00p2, error=63) > kernel: g_dev_taste: make_dev_p() failed (gp->name=zvol/zroot/vm/win10test/disk0@zfs-auto-snap_hourly-2020-11-28-16h00p3, error=63) > kernel: g_dev_taste: make_dev_p() failed (gp->name=zvol/zroot/vm/win10test/disk0@zfs-auto-snap_hourly-2020-11-28-16h00p4, error=63) Now: _ win10test is a zvol: I'm not really interested in it and I could disable snapshots on it (or even delete it), but I want to understand things; _ looking for this in forums, I see someone suggesting error 63 means the snapshot name is too long; that's strange, as I've got even longer names (not zvol, though); _ anyway, if it's true, I guess snapshot should not be created, but they are there; they also get deleted the next hour, since this volume is not in use, so there's really no change; _ I tried this on a different machine (still at 12.1) and I get a different message: > kernel: ZFS WARNING: Unable to create ZVOL zroot/vm/win10test/disk0@zfs-auto-snap_hourly-2020-11-28-16h00 (error=63). Still the snapshots are there. _ I guess ...p1, ...p2, ...p3, ...p4 refers to the partitions on the volume (in fact listed in /dev/zvol/zroot/vm/win10test/); I guess this should not be attempted at all (bug in zfstools?); _ I've seen https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215067 and it's quite scary. Do we have to pay attention not too create too long names? bye & Thanks av.