1Z0-821 · Question #59
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 correct answer is A. zfs get quota rpool/export/home/user1. 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…
Question
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?
Options
- Azfs get quota rpool/export/home/user1
- Bzfs userused@user1
- Czfs quota=1M /rpool/export/home/user1
- Ddf -h | grep user1
How the community answered
(33 responses)- A79% (26)
- B12% (4)
- C6% (2)
- D3% (1)
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
Topics
Community Discussion
No community discussion yet for this question.