Delete a snapshot of the /data file system.

The ZFS configuration on your server is:
Pool1 6.67G31K/pool
Pool1/data31K31K/data
Select the three commands that you would use to 1. Create, 2. List, and 3. Delete a snapshot of
the /data file system.

The ZFS configuration on your server is:
Pool1 6.67G31K/pool
Pool1/data31K31K/data
Select the three commands that you would use to 1. Create, 2. List, and 3. Delete a snapshot of
the /data file system.

A.
zfs snapshot pool1/data@now

B.
zfs create snapshot pool1/data@now

C.
zfs list -t snapshot

D.
zfs list -t snapshot pool1/data

E.
zfs destroy pool1/data@now

F.
zfs destroy snapshot pool1/data@now

Explanation:
A: Snapshots are created by using the zfs snapshot command, which takes as its
only argument the name of the snapshot to create.
D: You can list snapshots as follows:
# zfs list -t snapshot
E: Snapshots are destroyed by using the zfs destroy command. For example:
# zfs destroy tank/home/ahrens@now



Leave a Reply 7

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


tugz

tugz

Why not ADE? Its specifically asking for /data file system

rocky

rocky

ACE is right, as on the zfs list -t snapshot you cannot give the filesystem as parameter, only a snapshot itself. So D would be good if the command would be: zfs list -t snapshot pool1/data@now

B is incorrect as there is no zfs create snapshot. and so F is incorrect by the same reason.

root@sol11-ai:~# zfs snapshot rpool/tank@now
root@sol11-ai:~#
root@sol11-ai:~# zfs list -t snapshot rpool/tank
cannot open ‘rpool/tank’: operation not applicable to datasets of this type
root@sol11-ai:~# zfs list -t snapshot
NAME USED AVAIL REFER MOUNTPOINT
rpool/ROOT/solaris@install 7.82M – 2.34G –
rpool/ROOT/solaris@2014-12-11-13:28:57 16.7M – 2.42G –
rpool/ROOT/solaris@2014-12-13-17:22:35 14.5M – 2.78G –
rpool/ROOT/solaris/var@install 206M – 305M –
rpool/ROOT/solaris/var@2014-12-11-13:28:57 144M – 266M –
rpool/ROOT/solaris/var@2014-12-13-17:22:35 46.5M – 147M –
rpool/tank@now 0 – 33K –
root@sol11-ai:~# zfs destroy rpool/tank@now

man zfs:
-t type
A comma-separated list of types to display, where
type is one of filesystem, snapshot , volume, or
all. For example, specifying -t snapshot displays
only snapshots. The following aliases can be used in
place of the type specifiers: fs (filesystem), snap
(snapshot), and vol (volume).

Filippo

Filippo

Hi! All!

Passed Oracle Solaris 11 Administration 1Z0-821 exam with a good score of 90% (the passing line is 64% now)!

Got 70 questions in total, and questions were on:
1. Installing Oracle Solaris 11 using an Interactive Installer
2. Administering Services
3. Setting Up and Administering Data Storage
4. Administering Oracle Solaris Zones
5. Setting Up and Administering User Accounts
6. Controlling Access to Systems and Files
(New) 7. Managing the SYSLOG facilityManaging the CRON facility
(New) 8. Managing the SYSLOG facility

Pay close attention to the up 7 & 8 topics when preparing for the 1Z0-821 exam. Questions on those two topics are not available on this site.

And, you can refer to the most valid 1Z0-821 dumps (2017 version) here:

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

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

Good Luck!