From owner-freebsd-virtualization@freebsd.org Thu Apr 7 22:40:57 2016 Return-Path: Delivered-To: freebsd-virtualization@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 DCC7BB0715E for ; Thu, 7 Apr 2016 22:40:57 +0000 (UTC) (envelope-from jtubnor@gmail.com) Received: from mail-ob0-x241.google.com (mail-ob0-x241.google.com [IPv6:2607:f8b0:4003:c01::241]) (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 AD07E1829 for ; Thu, 7 Apr 2016 22:40:57 +0000 (UTC) (envelope-from jtubnor@gmail.com) Received: by mail-ob0-x241.google.com with SMTP id js7so4501233obc.0 for ; Thu, 07 Apr 2016 15:40:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=h8wTVq2I2at1bGd6Zdj2Tk6k2i/VNlaEZgiRpUHzYwM=; b=O7TnjDIQeVR8gLkliizBEHZWZ/olQinnSAgA/ebDjvLtOsG0E1UTo32D5XjK2e/lPo t01Cbrj0GHNBcL1h+kS3IdCgYdxT42DecPnTC2AJb+Btva6E29fdPNHytm22YsMItv0w oYvyBBS2QHR07JHXFbYNAMPYZW9tR5SrTMOptBqDgYPzI80i+LqJAsfO/No+FsXXuAbV oKcPmO5tkR/5iXvS9LioOBH2BoDLHeogBvJN5/kdzNacWfI1MCoVCjs7cvUevvPGCjJK 0PsM7EMx/wCXe5NZZGsqT4W3c3pnggZfA8KTySEk3gjs1VvKnXRVUCfhX2x/nv2lYwXd 8jew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=h8wTVq2I2at1bGd6Zdj2Tk6k2i/VNlaEZgiRpUHzYwM=; b=EAnvbTLx5sknNscin330Ga9tkt9Cb4JhguzFj0Q2PuEtJUgnLLX4mNqod1X+yLwYIZ SAt5r8Lt7ASFYCprFYxlB0zuUTphWHa44gm6tggebPCv2/pjrFQxRgJzJuzckXXQFPQe ggdqQTDVT26nSAWJ6+zJ1WeEFBdLWaJdVDecwbp3MIgJuJ+bkutIivX5k/Nybg96s8rN mX02vwm1xcu5WBU66nr95aE5FPVf9ikf8hDJenRE0aUJxt6fcF1fOZFNQXo+aNkQlkXZ oolceVH2g2ey/5dXo7FKEV2CX3pS7wLR98O8mILnwc0cF9XzZ9Z8evDZjzQN68Z+f2A5 FxWg== X-Gm-Message-State: AD7BkJIgOH0vgENs34eDcavW3nf7pQKJAk8XDBPDrmQEnU91uHEQJ9teO3ovd0TeRjdPg8hLLP4rYYl/5X6FRg== X-Received: by 10.182.49.168 with SMTP id v8mr2790938obn.48.1460068857042; Thu, 07 Apr 2016 15:40:57 -0700 (PDT) MIME-Version: 1.0 Sender: jtubnor@gmail.com Received: by 10.202.206.202 with HTTP; Thu, 7 Apr 2016 15:40:37 -0700 (PDT) In-Reply-To: References: From: Jason Tubnor Date: Fri, 8 Apr 2016 08:40:37 +1000 X-Google-Sender-Auth: YqojMplrXATuj5PJFmOkjbPhjGI Message-ID: Subject: Re: bhyve with Linuxes as guests - shared filesystem To: "Luis P. Mendes" Cc: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2016 22:40:58 -0000 1. Won't work if you want them to access concurrently (unless there is some new funky cluster feature I'm not aware of) 2. Probably best option for compatibility across the board without 'extra' drivers needed, maybe an issue if you have a Windows guest later on. Performance considerations needed if there is high IO expected. 3. Yeah, samba, hmm, unless you are doing Windows, I'd stay away. Cheers, Jason. On 8 April 2016 at 08:28, Luis P. Mendes wrote: > Hi, > > In a FreeBSD host, I'm running a Slackware Linux guest. I'd like to > share a `zfs` filesystem between those two OSes and with one other > Ubuntu Linux system to be installed. There are three options that I > can think of: > > 1. Have a `virtio-blk` option to `bhyve` and loading `zfs` modules for > the Linux OSes. > 2. Share the filesystem through `nfs` > 3. Share it through `samba` > > For `1.`, the disadvantages I see are: > a. `zfs` would have to run in the two Linux OSes in user mode. > b. it would consume much RAM to have three `zfs` managers running at > the same time. > > For `2.`, I don't see any disadvantage. > Regarding `3.`, as I don't use Windows, it doesn't seem to offer any > advantage over `2.`. > > Hence my question: regarding the experience many of you have with > shared file systems between FreeBSD and Linux systems, what do you > have to say about reliability (locks, ...) and performance(1) of the > options presented, or even of other ones. > > > Luis > > PS (1). I know I should do performance tests myself but would like to > hear from your experience. > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" > >