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

Add depth detection to rc script #257

Merged
merged 1 commit into from May 3, 2017
Merged

Add depth detection to rc script #257

merged 1 commit into from May 3, 2017

Conversation

wasurerarenai
Copy link
Contributor

Skip autostarting guests set to boot when their dataset doesn't match a standard iohyve path.
(ex. "$pool/iohyve/$name").

This helps prevent autostarting guests that are stored on replicated datasets.
(ex. "$backup_pool/$original_pool/iohyve/$name").

Start Example:
Skipping backups/zpools/otherhost/iohyve/guest3: Guest has non-standard path
Skipping backups/zpools/otherhost/iohyve/guest4: Guest has non-standard path
Starting tank/iohyve/guest1
Starting tank/iohyve/guest2

Skip autostarting guests set to boot when their dataset doesn't match a standard iohyve path (ex. "$pool/iohyve/$name").
This helps prevent autostarting guests that are stored on replicated datasets (ex. "$backup_pool/$original_pool/iohyve/$name").
@wasurerarenai
Copy link
Contributor Author

Added this as a fix for users on the FreeNAS forums having issues with guests from replicated zfs pools autostarting unexpectedly.

https://forums.freenas.org/index.php?threads/fn9-10-bhyve-iohyve-hacking.42297/page-5#post-375252

@pr1ntf pr1ntf added the bug label May 3, 2017
@pr1ntf
Copy link
Owner

pr1ntf commented May 3, 2017

Right on, thank you for the help!

@pr1ntf pr1ntf merged commit d23e446 into pr1ntf:master May 3, 2017
@wasurerarenai wasurerarenai deleted the boot-ignore-replication branch May 10, 2017 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants