Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
bastille-zfs(8)		    System Manager's Manual	       bastille-zfs(8)

NAME
       bastille	zfs -- Manage ZFS options/attributes for jail(s).

SYNOPSIS
       bastille	 [-avx]	TARGET snapshot|destroy|rollback [TAG] bastille	[-avx]
       TARGET df|usage	bastille  [-avx]  TARGET  get|set  KEY=VALUE  bastille
       [-avx]  TARGET  jail  pool/dataset  /jail/path  bastille	 [-avx]	TARGET
       unjail pool/dataset

DESCRIPTION
       The bastille sub-command	can manage snapshots, show disk	usage, get  or
       set attributes for jail datasets	and jail or unjail specified datasets.

       bastille	zfs [-avx] TARGET snapshot|destroy|rollback [TAG]

	       snapshot
		       Create a	snapshot for TARGET.

	       destroy
		       Destroy a snapshot for TARGET.

	       rollback
		       Rollback	TARGET to last snapshot.

	       -a, --auto
		       Auto mode. Start/stop jail(s) if	required.

	       -v, --verbose
		       Enable verbose mode.

	       -x, --debug
		       Enable debug mode.

	       If  TAG is specified, Bastille will use it as the naming	scheme
	       for the snapshot.  Otherwise, Bastille will  use	 its  internal
	       one.

       bastille	zfs [-avx] TARGET df|usage

	       df      Show the	space that TARGET datsets are using.

	       usage   Same as 'df'.

	       -a, --auto
		       Auto mode. Start/stop jail(s) if	required.

	       -v, --verbose
		       Enable verbose mode.

	       -x, --debug
		       Enable debug mode.

       bastille	zfs [-avx] TARGET get|set KEY=VALUE

	       get     Get the VALUE for KEY.

	       set     Set the VALUE for KEY.

	       -a, --auto
		       Auto mode. Start/stop jail(s) if	required.

	       -v, --verbose
		       Enable verbose mode.

	       -x, --debug
		       Enable debug mode.

       bastille	zfs [-avx] TARGET jail pool/dataset /jail/path

	       jail    Jail  the specified dataset, and	mount it at the	speci-
		       fied mount point	inside the jail. Make sure  to	unjail
		       any  jailed  datasets  before  attempting  to destroy a
		       jail.

	       -a, --auto
		       Auto mode. Start/stop jail(s) if	required.

	       -v, --verbose
		       Enable verbose mode.

	       -x, --debug
		       Enable debug mode.

       bastille	zfs [-avx] TARGET unjail pool/dataset

	       unjail  Unjail the specified dataset.

	       -a, --auto
		       Auto mode. Start/stop jail(s) if	required.

	       -v, --verbose
		       Enable verbose mode.

	       -x, --debug
		       Enable debug mode.

EXAMPLES
       Take a snapshot of myjail:
	       bastille	zfs myjail snapshot

       Jail zroot/data in myjail at /my/data:
	       bastille	zfs myjail jail	zroot/data /my/data

       Get the value of	'mounted' for myjail:
	       bastille	zfs myjail get mounted

SEE ALSO
       bastille.conf(5),       bastille-bootstrap(8),	    bastille-clone(8),
       bastille-cmd(8),	       bastille-config(8),	  bastille-console(8),
       bastille-convert(8),	   bastille-cp(8),	   bastille-create(8),
       bastille-destroy(8),	 bastille-edit(8),	bastille-etcupdate(8),
       bastille-export(8),	  bastille-htop(8),	   bastille-import(8),
       bastille-jcp(8),		 bastille-limits(8),	     bastille-list(8),
       bastille-migrate(8),	 bastille-monitor(8),	    bastille-mount(8),
       bastille-network(8), bastille-pkg(8), bastille-rcp(8), bastille-rdr(8),
       bastille-rename(8),	bastille-restart(8),	  bastille-service(8),
       bastille-setup(8),	  bastille-start(8),	     bastille-stop(8),
       bastille-sysrc(8),	  bastille-tags(8),	    bastille-template,
       bastille-top(8),	       bastille-umount(8),	   bastille-update(8),
       bastille-upgrade(8), bastille-verify(8)

FreeBSD	ports 15.quarterly     December	6, 2025		       bastille-zfs(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=bastille-zfs&sektion=8&manpath=FreeBSD+Ports+15.0.quarterly>

home | help