From owner-freebsd-fs@freebsd.org Mon Jan 18 06:45:06 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44A5EA86099 for ; Mon, 18 Jan 2016 06:45:06 +0000 (UTC) (envelope-from wanpengqian@gmail.com) Received: from mail-vk0-x233.google.com (mail-vk0-x233.google.com [IPv6:2607:f8b0:400c:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 01D161B60 for ; Mon, 18 Jan 2016 06:45:06 +0000 (UTC) (envelope-from wanpengqian@gmail.com) Received: by mail-vk0-x233.google.com with SMTP id i129so188416012vkb.0 for ; Sun, 17 Jan 2016 22:45:05 -0800 (PST) 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=PQ2VIWWMb0TVGSg4Zv/j+amv0fTHb94kmutP/fLg9p8=; b=bJggwlTVer/stNgGD4Aza5F0xc6FTMMmJCZ/oEtIQS6hkErFht6f4OEJnXL5hhF006 OTStcuNZTclM87XawPdXKEw+j4LTEGN7/TwEnnkCW51xRz4ilE2jkvTI36kIs5pUb/6A GksgOS7OqmakyLu87qb79OyfHZv1vB8Rmx7IR4rSw8fN8CeEFFxOLk+/Y8s+bX5MkgTv fieoqI5A0UWV/aRfZteGNNO1D3OgPL0nj7w6ZLlVb7DmadU+XLogjZSvVh8OBcuCdfqc ThSSnuLka4tedxCGstd62YHVeZ66xh0yC46orCfXc8wv64fvjQVrn6uNOEZrkhtTibdm Bctw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=PQ2VIWWMb0TVGSg4Zv/j+amv0fTHb94kmutP/fLg9p8=; b=GOmDTrhLj1igBZ4KbKQwyeWHh9RrmQ97rFHyUNBAwlUCaLvj1K/V0S1ISQuJE3w79o dQy1uPFPM1cIYol7owrnbiIWB2RAQ1OHH4P1Os0k5hlV7WSUNG2CMTxVmIRAIdjyIgV2 uzwfjJKlUIkhlGDtusvOSIr36EVxCSriWld6aEkYX+S06qLSpgUaWrql5OL/lBxmqQHQ gDmHw+e4KY7g18LygWlnhYo0wIoR8yfwzFFq4pIu8ZlMn5ocB0z9US/5h2zn75rajIfJ 7LJvz//oorT1DZYfiG58Si2ilVXz3phwAM1eAobQXGduZ+CG4Iy2jizagp06y8ijbx5J Z+0w== X-Gm-Message-State: ALoCoQlJ6FkGS+38maIBflacnO31UgoFu0qrsUNtYknT9kwticHaOyG3EiQXymGamcKPFG1HvF11fxoeTZ3zkpgkVNy3k+j1BQ== MIME-Version: 1.0 X-Received: by 10.31.179.80 with SMTP id c77mr14187628vkf.50.1453099504595; Sun, 17 Jan 2016 22:45:04 -0800 (PST) Received: by 10.31.87.1 with HTTP; Sun, 17 Jan 2016 22:45:04 -0800 (PST) Date: Mon, 18 Jan 2016 15:45:04 +0900 Message-ID: Subject: ZFS WARNING: Unable to create ZVOL (error=17). From: Qian Wanpeng To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2016 06:45:06 -0000 Hello. I am running bhyve with 11 Current. SVN version is r291495 and I have problem about zfs recv -F basicly. I backup the vm machine by zfs send -R /zones/vm/win7pro@20160117 | lz4 - win7pro_20161117.lz4 and then transfer win7pro_20161117.lz4 to other machine, and then using lz4cat win7pro_20161117.lz4 | zfs recv -F zones/vm/win7pro to have a copy. I do this several times with other vms, it runs fine. today when I run zfs recv, the dmesg has a WARNING message: ZFS WARNING: Unable to create ZVOL zones/vm/win7pro/disk0@afterinstall (error=17). (I also have a snapshot of afterinstall) and zfs list -t snapshot is zones/vm/win7pro@afterinstall 11.5K - 21.5K - zones/vm/win7pro@20160117 12K - 22.5K - zones/vm/win7pro/disk0@afterinstall 2.70G - 5.83G - zones/vm/win7pro/disk0@20160117 10.0G - 13.1G - when I boot the VM. it crash at somepoint. any idea what is going on? I try zfs recv in the same host, same result(also has the WARNING message.) and I try dd the disk0 to file, and then restore from file. the vm runs fine. Thanks.