From owner-freebsd-fs@FreeBSD.ORG Sun Oct 5 15:54:26 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 F1374290 for ; Sun, 5 Oct 2014 15:54:26 +0000 (UTC) Received: from smtp1.multiplay.co.uk (smtp1.multiplay.co.uk [85.236.96.35]) by mx1.freebsd.org (Postfix) with ESMTP id B672E835 for ; Sun, 5 Oct 2014 15:54:26 +0000 (UTC) Received: by smtp1.multiplay.co.uk (Postfix, from userid 65534) id 2423020E70898; Sun, 5 Oct 2014 15:54:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.multiplay.co.uk X-Spam-Level: ** X-Spam-Status: No, score=2.2 required=8.0 tests=AWL,BAYES_00,DOS_OE_TO_MX, FSL_HELO_NON_FQDN_1,RDNS_DYNAMIC,STOX_REPLY_TYPE autolearn=no version=3.3.1 Received: from r2d2 (82-69-141-170.dsl.in-addr.zen.co.uk [82.69.141.170]) by smtp1.multiplay.co.uk (Postfix) with ESMTPS id A09E820E70896; Sun, 5 Oct 2014 15:54:17 +0000 (UTC) Message-ID: <8186C4F93E964D41891B3D4B7BA8A260@multiplay.co.uk> From: "Steven Hartland" To: "Nikolay Denev" , "freebsd-fs" References: Subject: Re: Unable to create ZVOL (error=6) Date: Sun, 5 Oct 2014 16:54:13 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 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 15:54:27 -0000 Just tried to reproduce this on 10.1-BETA2 FreeBSD 10.1-BETA2 #68 r272005M without luck I'm afraid. Steps taken to try to reproduce: mdconfig mdconfig -a -t malloc -s 1G zpool create zfs md0 zfs set volmode=dev zfs zfs create zfs/bhyve_volumes zfs create zfs/bhyve_volumes/freebsd_amd64_10_stable zfs snapshot -r zfs/bhyve_volumes@`/bin/date +\%H:\%M:\%S_\%d-\%m-\%Y` No errors where reported but also no zvols where created with no /dev/zvol existing, which in itself seems broken. I also tried exporting and re-imported the pool still no zvol devs. Are their some other steps your taking? For reference this functionality was added by: https://svnweb.freebsd.org/base?view=revision&revision=264145 Regards Steve ----- Original Message ----- From: "Nikolay Denev" To: "freebsd-fs" Sent: Sunday, October 05, 2014 11:24 AM Subject: Unable to create ZVOL (error=6) > 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 > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >