sysutils/iocage in a NAS environment

Allan Jude allanjude at freebsd.org
Fri Jul 31 14:22:53 UTC 2015


On 2015-07-31 06:24, Kai Gallasch wrote:
> 
> Hi.
> 
> Just read that FreeNAS 10 is going to use sysutils/iocage for managing
> local jails on the NAS. That is great news and it will give iocage more
> publicity and a wider user base!
> 
> I am currently testing a FreeNAS 9 as a NAS for my FreeBSD servers. Each
> (FreeBSD 10) server is running between 10-50 iocage jails.
> 
> iocage's documentation states that each iocage installation needs a
> zpool to run on.
> 
> So the only way I see to use a NAS for iocage deployment would be to
> make use of iSCSI (block based) mounts. The NAS would offer an iscsi
> target to the jailhost. When mounted, it just shows up as a block based
> LUN. You then could create a zpool on this LUN and use this zpool for
> iocage. (Each time the jailhost starts up, the iSCSI mount + zpool
> import would have to happen automatically)
> 
> Does this approach make any sense when both performance or stability are
> needed?
> 
> Is it generally adviseable to use zpools on iSCSI targets, because they
> are basically iSCSI exported zvols running on top of another zpool?
> 
> Regards,
> Kai.
> 

If FreeBSD 9 is your NAS, why are the disks remote?

Normally, you'd run iocage on the NAS (the machine with the physical
disks in it) and have direct access to the zpool.

-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-jail/attachments/20150731/1e7363f4/attachment.bin>


More information about the freebsd-jail mailing list