From owner-freebsd-fs@freebsd.org Fri Jun 26 16:50:16 2015 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 3494798DBC8 for ; Fri, 26 Jun 2015 16:50:16 +0000 (UTC) (envelope-from schittenden@groupon.com) Received: from mail-yk0-x230.google.com (mail-yk0-x230.google.com [IPv6:2607:f8b0:4002:c07::230]) (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 E441A1C92 for ; Fri, 26 Jun 2015 16:50:15 +0000 (UTC) (envelope-from schittenden@groupon.com) Received: by ykdt186 with SMTP id t186so63645685ykd.0 for ; Fri, 26 Jun 2015 09:50:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=groupon.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=66WPSAAiYcKHuQPcltY0o8SO0V8YtWAhYbrSPD9To7M=; b=WoXJTGTtV6HAH/Gq4zCK5lDPfs5mbLftsfmSCEhCf0bu0DqOqiYiEDzwIAASKu2Yev Ce/BaazYwZ3pWi0tEdeD6HDSt5wKthofTlRF0LvBsJl3VKidkUMVKeL0USbNvnipnkGY /r2ab4cNJH9C2auKDViEaT6/Xr+92Vr3K0L3Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=66WPSAAiYcKHuQPcltY0o8SO0V8YtWAhYbrSPD9To7M=; b=J+LAYYdtucJfD9WRFCIQe5bJO28t2ug/xy6LyH4JNTALO+7wNgMe/PB30cSjH3s/Tw SI7Yst90fqidJI43L1J1Dzku47bprWp7I2rHjnhLR0asUJTZNi0gFSiv2SmcLu1tBe/u HzaQjZDGkOPTuNM5V0kwAJAqZdViL6VwOmIVxRO80/4uDU062oyHRjxHL3irpoCVP3cZ kMbrxTv6n4JePm3xfrTy9ED5/5DXBOJuFGd9qfYCPNoS4DqmY+B/BYl4PjkbVoxtZzQD RnP6QlETVrYGAEBkPyc0JL2PiX3ik/riVeTsQlDl+/gBOYz1q+luLQJ2e/LVlOdych0L LNiQ== X-Gm-Message-State: ALoCoQnqUywkHYvqaWcA4zuytqcI+U3i/G5rKxRwLdUwxZveormWArYJ6ojmoWNuIZ5bApcw644F MIME-Version: 1.0 X-Received: by 10.13.236.5 with SMTP id v5mr3147227ywe.138.1435337414398; Fri, 26 Jun 2015 09:50:14 -0700 (PDT) Received: by 10.13.242.7 with HTTP; Fri, 26 Jun 2015 09:50:14 -0700 (PDT) In-Reply-To: References: Date: Fri, 26 Jun 2015 09:50:14 -0700 Message-ID: Subject: Re: ZFS pool within FreeBSD bhyve guest From: Sean Chittenden To: javocado Cc: FreeBSD Filesystems 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: Fri, 26 Jun 2015 16:50:16 -0000 Look at iohyve as an easy way to do this. You need to export a zvol to your guest. You can't export a "file system" but you can export a ZFS-backed volume. -sc https://github.com/pr1ntf/iohyve On Thu, Jun 25, 2015 at 10:22 AM, javocado wrote: > (I'm posting here because I think this may be more of a zfs issue rather > than a bhyve issue) > > Hi, > > I would like to create a zfs filesystem within my bhyve (FreeBSD 10.1 as > the guest and host) allowing users of the VM to run zfs send/receive > commands on the zfs filesystem within their bhyve VM. > > Is this possible and what is/are the methods and options for creating the > zfs filesystem (or volume) within the VM? If there is a way to do this, > would any of the proposed methods depend on whether the VM lives in a file > versus a zfs volume? My VM is file-based. > > Thanks! > _______________________________________________ > 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" > -- Sean Chittenden