How will space usage be changed for dpool/export/CID?

You have a ZFS pool that contains a hierarchy of data file systems. You create snapshots of the
file systems and you created a clone (dpool/export/CID) of the dpool/export/home/CID file
systems. The file systems are as follows:

Now you remove a file from the cloned file system:
root@sll-server1:~# rm /export/CID/core.bash.8070
How will space usage be changed for dpool/export/CID?

You have a ZFS pool that contains a hierarchy of data file systems. You create snapshots of the
file systems and you created a clone (dpool/export/CID) of the dpool/export/home/CID file
systems. The file systems are as follows:

Now you remove a file from the cloned file system:
root@sll-server1:~# rm /export/CID/core.bash.8070
How will space usage be changed for dpool/export/CID?

A.
The USED value will increase and the REFER value will decrease; the AVAIL value will be
unchanged.

B.
The USED value will decrease and the REFER value will increase; the AVAIL value will
increase.

C.
The USED value will decrease, the REFER value will decrease; the AVAIL value will increase.

D.
USED, REFER and the AVAIL value will be unchanged.

Explanation:



Leave a Reply 8

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


memam

memam

all are wrong

The USED value will increase and the REFER value will decrease; the AVAIL value will be
increase

Alejandro Maluje

Alejandro Maluje

– USED value will increase;
– AVAL value will decrease;
– REFER value will decrease;

root@t5120:~# zfs create rpool/test
root@t5120:~# cd /rpool/test/
root@t5120:/rpool/test# mkfile 10G test.file
root@t5120:/rpool/test# zfs snapshot rpool/test@1
root@t5120:/rpool/test# zfs clone rpool/test@1 rpool/test2
root@t5120:/rpool/test# cd /rpool/test2

root@t5120:~# zfs get -o name,property,value -Hp used,avail,refer | grep test
rpool/test used 10738847744
rpool/test available 104287522304
rpool/test referenced 10738847744
rpool/test@1 used 0
rpool/test@1 available –
rpool/test@1 referenced 10738847744
rpool/test2 used 18432
rpool/test2 available 104287522304
rpool/test2 referenced 10738847744

root@t5120:/rpool/test2# rm test.file

root@t5120:/rpool/test2# zfs get -o name,property,value -Hp used,avail,refer | grep test
rpool/test used 10738847744
rpool/test available 104285987328
rpool/test referenced 10738847744

rpool/test@1 used 0
rpool/test@1 available –
rpool/test@1 referenced 10738847744

rpool/test2 used 19456
rpool/test2 available 104285987328
rpool/test2 referenced 31744
root@t5120:/rpool/test2#

Bednario

Bednario

A is correct

Example: /var2 is clone of /var. I delete 100M file from clone (/var2)
– USED increase
– AVAIL unchanged
– REFER decrease

root@s11:/# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool/ROOT/solaris/var 199M 11.3G 198M /var
rpool/ROOT/solaris/var2 28K 11.3G 198M /var2
root@s11:/# rm /var2/100m.file
root@s11:/# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool/ROOT/solaris/var 199M 11.3G 198M /var
rpool/ROOT/solaris/var2 37K 11.3G 97.5M /var2

Abourabba

Abourabba

C is correct

lortiz

lortiz

A

root@cppld13-oem-cctrl-0:/tmp_pool/export/CID# zfs list | grep tmp_pool
tmp_pool 1.26G 8.53G 304K /tmp_pool
tmp_pool/export 1.25G 8.53G 320K /tmp_pool/export
tmp_pool/export/CID 160K 8.53G 1.25G /tmp_pool/export/CID
tmp_pool/export/home 1.25G 8.53G 304K /tmp_pool/export/home
tmp_pool/export/home/CID 1.25G 8.53G 1.25G /tmp_pool/export/home/CID
root@cppld13-oem-cctrl-0:/tmp_pool/export/CID# rm file1
root@cppld13-oem-cctrl-0:/tmp_pool/export/CID# zfs list | grep tmp_pool
tmp_pool 1.26G 8.53G 304K /tmp_pool
tmp_pool/export 1.25G 8.53G 320K /tmp_pool/export
tmp_pool/export/CID 192K 8.53G 251M /tmp_pool/export/CID
tmp_pool/export/home 1.25G 8.53G 304K /tmp_pool/export/home
tmp_pool/export/home/CID 1.25G 8.53G 1.25G /tmp_pool/export/home/CID

Dirk Enerhardt

Dirk Enerhardt

Passed 1Z0-822 test with a score of 85% few days ago (the passing score is 70% now)!

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!