Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2017 11:07:31 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Willem Jan Withagen <wjw@digiware.nl>, jail@freebsd.org
Subject:   Re: Passing a limited amount of disk devices to jails
Message-ID:  <593A6553.6020200@quip.cz>
In-Reply-To: <edc6787a-256f-1027-0008-6d5dfa10d651@digiware.nl>

index | next in thread | previous in thread | raw e-mail

Willem Jan Withagen wrote on 2017/06/09 10:45:
> 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?

I don't think jail will ever have access to raw / block devices. It is 
disallowed by security design.
Wouldn't it be better to use bhyve guests for this environment?


Miroslav Lachman


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?593A6553.6020200>