Home » Oracle » 1z0-821 » 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
Correct Answer: A
Explanation/Reference:
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
Download Printable PDF. VALID exam to help you PASS.
|
|