Passing a limited amount of disk devices to jails

Miroslav Lachman 000.fbsd at quip.cz
Fri Jun 9 14:20:50 UTC 2017


Willem Jan Withagen wrote on 2017/06/09 15:48:
> On 9-6-2017 11:23, Steven Hartland wrote:
>> You could do effectively this by using dedicated zfs filesystems per jail
>
> Hi Steven,
>
> That is how I'm going to do it, when nothing else works.
> But then I don't get to test the part of building the ceph-cluster from
> raw disk...
>
> I was more thinking along the lines of tinkering with the devd.conf or
> something. And would appreciate opinions on how to (not) do it.

I totally skipped devd.conf in my mind in previous reply. So maybe you 
can really use devd.conf to allow access to /dev/adaX devices or you can 
use ZFS zvol if you have big pool and need some smaller devices to test 
with.

Miroslav Lachman



More information about the freebsd-jail mailing list