From owner-freebsd-questions@FreeBSD.ORG Wed Jul 30 14:22:59 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A2BB2998 for ; Wed, 30 Jul 2014 14:22:59 +0000 (UTC) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gromit.dlib.vt.edu", Issuer "Chumby Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A8C22573 for ; Wed, 30 Jul 2014 14:22:59 +0000 (UTC) Received: from pmather.tower.lib.vt.edu (pmather.tower.lib.vt.edu [128.173.51.28]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id 6739CDC5 for ; Wed, 30 Jul 2014 10:22:52 -0400 (EDT) From: Paul Mather Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Unable to create ZVOL error since upgrading to 9.3-RELEASE Message-Id: <72AA3F10-C5A2-45F6-BC4B-B214A16EEEB6@gromit.dlib.vt.edu> Date: Wed, 30 Jul 2014 10:22:51 -0400 To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2014 14:22:59 -0000 I have a nightly backup job that creates a snapshot of my ZFS pool, mounts the snapshot file sets appropriately under /backup, and then rsyncs that hierarchy to another system. This worked fine under 9.2-RELEASE and before. Since upgrading to 9.3-RELEASE, I get the following error in the daily security run output for that machine: ===== redmine kernel log messages: +++ /tmp/security.6itlEbCD 2014-07-30 03:01:10.401183488 -0400 +ZFS WARNING: Unable to create ZVOL sys/SWAP/swap@backup (error=17). ===== I have swap on a ZFS ZVOL: sys/SWAP/swap. I create the snapshot via "zfs snapshot -r sys@backup" ("sys" is the name of my ZFS pool). Does anyone know why I should be getting this error now? The same script running on the same machine gave no problems under 9.2-RELEASE. I started getting this message as soon as I upgraded to 9.3-RELEASE. Did some sysctl default change between 9.2-RELEASE and 9.3-RELEASE that changed the behaviour of ZVOLs and snapshots? The message isn't fatal, but it is annoying to have it appear every day in the security run output. Cheers, Paul.