Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Apr 2016 08:40:37 +1000
From:      Jason Tubnor <jason@tubnor.net>
To:        "Luis P. Mendes" <luislupe@gmail.com>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: bhyve with Linuxes as guests - shared filesystem
Message-ID:  <CACLnyCL_43VCDN_uq9GCt7rs4E45Lys=ct0BjODOP7F9abYkMg@mail.gmail.com>
In-Reply-To: <CAMYA1yPC__twkn=750EdXGz-mDTp-RHwMUjQmKhq9gpTMc=HpQ@mail.gmail.com>
References:  <CAMYA1yPC__twkn=750EdXGz-mDTp-RHwMUjQmKhq9gpTMc=HpQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <luislupe@gmail.com> 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"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACLnyCL_43VCDN_uq9GCt7rs4E45Lys=ct0BjODOP7F9abYkMg>