What command would you use to determine how much disk s…

User1 is attempting to run the following command:
cp bigfile verybig
The system displays the following errer:
cp: cannot create verybig: Disc quota exceeded
Your initial troubleshooting shows that the df -h command indicates the account is at 100% capacity. What
command would you use to determine how much disk space the user has available?

User1 is attempting to run the following command:
cp bigfile verybig
The system displays the following errer:
cp: cannot create verybig: Disc quota exceeded
Your initial troubleshooting shows that the df -h command indicates the account is at 100% capacity. What
command would you use to determine how much disk space the user has available?

A.
zfs get quota rpool/export/home/user1

B.
zfs userused@user1

C.
zfs quota=1M /rpool/export/home/user1

D.
df –h | grep user1

Explanation:
ZFS quotas can be set and displayed by using the zfs set and zfs get commands. In the following example, a
quota of 10 Gbytes is set on tank/home/bonwick.
# zfs set quota=10G tank/home/bonwick
# zfs get quota tank/home/bonwick
NAME PROPERTY VALUE SOURCE
tank/home/bonwick quota 10.0G local



Leave a Reply 0

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