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

FreeBSD Manual Pages

  
 
  

home | help
ZPOOL-EXPORT(8)		FreeBSD	System Manager's Manual	       ZPOOL-EXPORT(8)

NAME
     zpool-export -- Exports the given ZFS storage pools from the system

SYNOPSIS
     zpool export [-a] [-f] pool...

DESCRIPTION
     zpool export [-a] [-f] pool...
	     Exports the given pools from the system.  All devices are marked
	     as	exported, but are still	considered in use by other subsystems.
	     The devices can be	moved between systems (even those of different
	     endianness) and imported as long as a sufficient number of	de-
	     vices are present.

	     Before exporting the pool,	all datasets within the	pool are un-
	     mounted.  A pool can not be exported if it	has a shared spare
	     that is currently being used.

	     For pools to be portable, you must	give the zpool command whole
	     disks, not	just partitions, so that ZFS can label the disks with
	     portable EFI labels.  Otherwise, disk drivers on platforms	of
	     different endianness will not recognize the disks.

	     -a	     Exports all pools imported	on the system.

	     -f	     Forcefully	unmount	all datasets, using the	unmount	-f
		     command.  This option is not supported on Linux.

		     This command will forcefully export the pool even if it
		     has a shared spare	that is	currently being	used.  This
		     may lead to potential data	corruption.

SEE ALSO
     zpool-import(8)

FreeBSD	13.0		       February	16, 2020		  FreeBSD 13.0

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=zpool-export&sektion=8&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help