From owner-freebsd-fs@FreeBSD.ORG Sun Oct 5 10:24:47 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2DA8CF99 for ; Sun, 5 Oct 2014 10:24:47 +0000 (UTC) Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [IPv6:2a00:1450:400c:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C0E382D2 for ; Sun, 5 Oct 2014 10:24:46 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id z12so4423255wgg.13 for ; Sun, 05 Oct 2014 03:24:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=OlUHUiOT3Hxa65nh7sDNm/i817i4/tTzN/EHlG+bI7A=; b=C6Ec6iZ0F0kWA7tfQuElpwfpE3RZNZi0UBRHpd9jjexFjf9uS8iZ3/1OPPpd++O17K MFXpGwuoTbt/Gy48pVR9/BCITc9Axga5mlfYBpyADZ0WAoR5SMwHTIOkf2CAevoLhvFI hz/hM2zAqf863WZN+/VIoolT2PXEvc4tgJVt8WQLzMu6//jKCqI7JQEMW2mTIF5P0uqF vHaSBv5r7yxCOshbGKmQCg7HnYuGa9Re6jduc6PPIrQFPvq4jiwukmSl5ivixhpqE0T3 aY/lDarDpSNRv/KIM7z95EEV64mgNpjgzqCgr/0h8RUuwLjjDkFP+WV7Z2A3p0Wcp4qY kjHw== MIME-Version: 1.0 X-Received: by 10.194.8.232 with SMTP id u8mr22042534wja.64.1412504685132; Sun, 05 Oct 2014 03:24:45 -0700 (PDT) Received: by 10.27.77.135 with HTTP; Sun, 5 Oct 2014 03:24:45 -0700 (PDT) Date: Sun, 5 Oct 2014 12:24:45 +0200 Message-ID: Subject: Unable to create ZVOL (error=6) From: Nikolay Denev To: freebsd-fs Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2014 10:24:47 -0000 Hi, I have a cron to generate daily snapshots like this: 0 0 * * * root /sbin/zfs snapshot -r zfs/bhyve_volumes@`/bin/date +\%H:\%M:\%S_\%d-\%m-\%Y` And I've noticed that I have the following errors in dmesg: ZFS WARNING: Unable to create ZVOL zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_05-10-2014 (error=6). Snapshot looks ok, it's just that the ZVOL cdev is not created : [12:11][ndenev@nas:~]%zfs get creation zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_05-10-2014 NAME PROPERTY VALUE SOURCE zfs/bhyve_volumes/freebsd_amd64_10_stable@00:00:00_05-10-2014 creation Sun Oct 5 0:00 2014 - Error 6 would be ENXIO. I think this might be due to "volmode=dev" setting, as I've ruled out name lenght, or invalid characters. --Nikolay