What is the output of the second command?

Consider the following commands on a newly installed system:
zfs set compression=on rpool
zfs get –H –o source compression rpool
What is the output of the second command?

Consider the following commands on a newly installed system:
zfs set compression=on rpool
zfs get –H –o source compression rpool
What is the output of the second command?

A.
default

B.

C.
local

D.
on

Explanation:
The zfs get command supports the -H and -o options, which are designed for
scripting. You can use the -H option to omit header information and to replace white space with
the Tab character. Uniform white space allows for easily parseable data. You can use the -o
option to customize the output in the following ways:
* The literal name can be used with a comma-separated list of properties as defined in the
Introducing ZFS Properties section.
* A comma-separated list of literal fields, name, value, property, and source, to be output followed
by a space and an argument, which is a comma-separated list of properties.

The following example shows how to retrieve a single value by using the -H and -o options of zfs
get:
# zfs get -H -o value compression tank/home
on



Leave a Reply 11

Your email address will not be published. Required fields are marked *


dupek

dupek

root@s11exam:~# zfs set compression=on rpool
root@s11exam:~# zfs get -H -o source compression rpool
local

C is the correct

dupek

dupek

C is correct
root@s11exam:~# zfs get -H -o source compression rpool
local

Dirk Enerhardt

Dirk Enerhardt

Oracle Solaris 11 1Z0-822 exam PASSED last weekend! Scored 8X% (the passing score is 70% now)!

I got 80 questions in total, questions were mainly on SMF, IPS, ZFS, Configuring the Network, Securing the Oracle Solairs 11 O/S, Installing Oracle Solaris 11 on multiple hosts and so on.

The 1Z0-822 exam has been revised since 2016, I do recommend you to learn the latest 1Z0-822 dumps here:

http://www.oraclebraindump.com/?s=1Z0-822

(Those are part of PassLeader 1Z0-822 dumps, suggest to get its full version 1Z0-822 dumps with VCE and PDF.)

Good Luck!

Kage

Kage

root@solaris11:~# zfs set compression=on bpool
root@solaris11:~# zfs get -H -o value compression bpool
on

Kage

Kage

root@solaris11:~# zfs get -H -o source compression bpool
local