FreeBSD Picks Up Support For ZFS ZCP: Carry Out Admin Tasks Via Lua Scripts

Written by Michael Larabel in BSD on 2 October 2017 at 10:35 AM EDT. 18 Comments
BSD
FreeBSD 12.0 will have initial support for ZFS Channel Programs (ZCP) for running administrative tasks on the file-system via Lua.

ZCP allows small Lua scripts to be executed for carrying out administrative tasks on the ZFS file-system for tasks like dropping old snapshots and other maintenance. The FreeBSD implementation does execute these commands in a sandboxed environment and enforces memory/time limits to fend off potential rogue Lua scripts.

Those wishing to learn more can see this FreeBSD commit from yesterday introducing the ZFS ZCP support. More details on ZCP are explained via the Open-ZFS Wiki.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week