Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to mount zfs dataset onto bhyve VM? #129

Closed
allenmchan opened this issue Apr 7, 2016 · 1 comment
Closed

Is there a way to mount zfs dataset onto bhyve VM? #129

allenmchan opened this issue Apr 7, 2016 · 1 comment
Labels

Comments

@allenmchan
Copy link

iohyve already does a good job on creating / using a zfs dataset for the disk image. I am wondering if i can use iohyve to mount a separate zfs dataset onto the VM.

Use case:
I have a VM that will have a mysql database on it. I want to write the mysql data to a separate zfs dataset so it is not coupled with the VM disk image. If there are any corruption in the VM disk image, the database would be fine. I could then rebuild the VM and just continue to use the database.

In the freenas jails world it is possible but i dont know how that is translated to bhyve VMs
https://doc.freenas.org/9.10/freenas_jails.html#add-storage

@pr1ntf pr1ntf added the question label Apr 7, 2016
@pr1ntf
Copy link
Owner

pr1ntf commented Apr 7, 2016

You can add multiple disks to an iohyve guest. Each disk is stored on a separate zvol.
You can read more on this feature in the man page.

Hope this helps!

@pr1ntf pr1ntf closed this as completed Apr 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants