Which is the result of the following command?

Which is the result of the following command?
# zfs send –i dpool/sales/qrreports@qtrreport dpool/sales/qrreports@mth3qtrreport

Which is the result of the following command?
# zfs send –i dpool/sales/qrreports@qtrreport dpool/sales/qrreports@mth3qtrreport

A.
An error message will be sent to standard error.

B.
The dpool/sales/qrreports@qtrreport snapshot is saved to disk.

C.
The dpool/sales/qrreports@mth3qtrreport snapshot is saved to disk

D.
The difference between the First snapshot and the second snapshot will be written to disk

Explanation:
root@solaris:~# zfs snapshot pool1/sales/qrreports@qrreportroot@solaris:~# zfs list
-t snapshot -r pool1/sales/qrreportsNAME USED AVAIL REFER
MOUNTPOINTpool1/sales/qrreports@qrreport 0 – 31K -root@solaris:~# zfs send -i
pool1/sales/qrreports@qrreport pool1/sales/qrreports@mth2qtrreportError: Stream can not be
written to a terminal.You must redirect standard output.



Leave a Reply 3

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


picoman

picoman

root@solaris:~# zfs snapshot upool/data@03151
root@solaris:~# zfs snapshot upool/data@03152
root@solaris:~# zfs send -i upool/data@03151 upool/data@03152
Error: Stream can not be written to a terminal.
You must redirect standard output.

so the answer should be A

Mir

Mir

Yes. i also go with A option.

dupek

dupek

A (written to standard output)
man zfs
Creates a stream representation of the second snapshot,
which is written to standard output. The output can be
redirected to a file or to a different system (for exam-
ple, using ssh(1). By default, a full stream is gen-
erated.