Sachin Palav <palavsachin27 <at> indiatimes.com> writes:
> 
> 3. Currently there no command that prints the entire configuration of ZFS.

Well there _is_ a command to show all (and only) the dataset properties
that have been manually "zfs set":

  $ zfs get -s local all

For the pool properties, zpool has no "-s local" option but you can
emulate the same behavior with grep:

  $ zpool get all $POOLNAME | egrep -v ' default$| -$'

These two commands plus zpool status output everything you need to 
restore a particular ZFS config from scratch.

-marc


_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to