Passing a limited amount of disk devices to jails

Willem Jan Withagen wjw at digiware.nl
Fri Jun 9 13:48:51 UTC 2017


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.

--WjW


> On 09/06/2017 09:45, Willem Jan Withagen wrote:
>> Hi,
>>
>> I'm writting/building a test environment for my ceph cluster, and I'm
>> using jails for that....
>>
>> Now one of the things I'd be interested in, is to pass a few raw disks
>> to each of the jails.
>> So jail ceph-1 gets /dev/ada1 and /dev/ada2 (and partitions), ceph-2
>> gets /dev/ada2 and /dev/ada3.
>>
>> AND I would need gpart to be able to work on them!
>>
>> Would this be possible to do with the current jail implementation on
>> 12-CURRENT?



More information about the freebsd-jail mailing list