FreeBSD Fortune on Nostr: To set a quota of 10 GB for the user named foo on a ZFS dataset, run the following ...
To set a quota of 10 GB for the user named foo on a ZFS dataset, run the
following command:
# zfs set userquota@foo=10G pool/home/foo
The zfs userspace command can display the quota and current space usage:
# zfs userspace pool/home/foo
To unset a quota, assign "none" as the value.
-- Benedict Reuschling <bcr@FreeBSD.org>
Published at
2023-09-17 06:31:03Event JSON
{
"id": "754d3b3d13974b54251c21a6607f95469c0dcd595097758f90d3bfb2e88ca8f9",
"pubkey": "49792b0c3e803bb97f4005f83a8d6c09a58c6ea7f04e1ab19d149f9fabbbcee3",
"created_at": 1694932263,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.bsd.cafe/users/fbfortune/statuses/111079080843570508",
"activitypub"
]
],
"content": "To set a quota of 10 GB for the user named foo on a ZFS dataset, run the\nfollowing command:\n\n# zfs set userquota@foo=10G pool/home/foo\n\nThe zfs userspace command can display the quota and current space usage:\n\n# zfs userspace pool/home/foo\n\nTo unset a quota, assign \"none\" as the value. \n\t\t-- Benedict Reuschling \u003cbcr@FreeBSD.org\u003e",
"sig": "c84534bd5e95df74ac9412af3780853cc5f313f1b052e75d1e522a8a95c64b6172c74f873847f0e14238ca99336421eb9b17081bac02acbe3d6774e19116d34c"
}