illuria/jailer

Couldnt infer pool/dataset

Closed this issue · 5 comments

When running jailer with a system with multiple pools jailer is unable assume a default path for the jails.

In that case we have the option to tell the command which one we would like to use.

What I also think could be useful, is if we are able to supply a default - In my case im just repeating a default everytime Im calling jailer and would be more helpful to give an argument when default is no longer whished or when a default in config isnt available.

Give a shout if this is something I can help out with implementing.

peace out =) and thx for the awesome util!

This is very helpful and would be very easy to implement. we would have a -Z otherpool/otherdataset, and it will do the zfs recv to that, while reading the Jail bootstrap from zdefault/jaildataset. does that sound reasonable?

This is very helpful and would be very easy to implement. we would have a -Z otherpool/otherdataset, and it will do the zfs recv to that, while reading the Jail bootstrap from zdefault/jaildataset. does that sound reasonable?

It sure sounds reasonable. I'll see what I'm capable of creating =)

Hey @drobban ! can you check out d4ccf4c and test it? I think I've fixed the issue with multi-zpool deployments! looks like the details were in jailer-init(8), and thanks to @kfv that manual has been there for a long time! :D

Thank you for using FreeBSD, Jails, and illuria's Jailer!

Hey @drobban ! can you check out d4ccf4c and test it? I think I've fixed the issue with multi-zpool deployments! looks like the details were in jailer-init(8), and thanks to @kfv that manual has been there for a long time! :D

Thank you for using FreeBSD, Jails, and illuria's Jailer!

sure! wow. sorry for being slow on the replies - have been hectic on some other fronts. =) but this feature will be interesting to check out!

Hi @antranigv!

I have now tested it out and it seems to behave as I would expect it =)

Tested on
14.0-RELEASE FreeBSD 14.0-RELEASE #0 releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 05:54:07 UTC 2023 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64