You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure-managed-lustre/lustre-quotas.md
+20-6Lines changed: 20 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,23 +62,23 @@ The command uses the following parameters:
62
62
The following example sets a block quota with a soft limit of 1 TB and a hard limit of 2 TB for the user `user1` on the file system mounted to `/mnt/fs1`:
63
63
64
64
```bash
65
-
lfs setquota -u user1 -b 1T -B 2T /mnt/fs1
65
+
sudo lfs setquota -u user1 -b 1T -B 2T /mnt/fs1
66
66
```
67
67
68
68
### [Group quotas](#tab/group-quotas)
69
69
70
70
The following example sets an inode quota with a soft limit of 2500 and a hard limit of 5000 for the group `group1` on the file system mounted to `/mnt/fs1`:
The following example sets a block quota with a hard limit of 1 TB and an inode quota with a hard limit of 5000 for the project `project1` on the file system mounted to `/mnt/fs1`:
@@ -116,7 +116,7 @@ The grace period setting can vary for user, group, and project quotas, but the c
116
116
To set a grace period for a quota, use the following syntax:
117
117
118
118
```bash
119
-
lfs setquota -t {-u|-g|-p}
119
+
sudo lfs setquota -t {-u|-g|-p}
120
120
[-b block_grace]
121
121
[-i inode_grace]
122
122
/mount_point
@@ -132,18 +132,32 @@ The command uses the following parameters:
132
132
133
133
No values are allowed after `-u`, `-g`, or `-p`. By default, the grace period is one week.
134
134
135
+
### [User quotas](#tab/user-quotas)
136
+
135
137
The following example sets the block quota grace period to five days (`5d`) for all users in the file system `fs1`:
136
138
137
139
```bash
138
-
lfs setquota -t -u -b 5d /mnt/fs1
140
+
sudo lfs setquota -t -u -b 5d /mnt/fs1
139
141
```
140
142
143
+
### [Group quotas](#tab/group-quotas)
144
+
141
145
The following example sets the inode quota grace period to one week, three days (`1w3d`) for all groups in the file system `fs1`:
142
146
143
147
```bash
144
-
lfs setquota -t -g -i 1w3d /mnt/fs1
148
+
sudo lfs setquota -t -g -i 1w3d /mnt/fs1
149
+
```
150
+
151
+
### [Project quotas](#tab/project-quotas)
152
+
153
+
The following example sets the block quota grace period to two weeks (`2w`) for all projects in the file system `fs1`:
154
+
155
+
```bash
156
+
sudo lfs setquota -t -p -b 2w /mnt/fs1
145
157
```
146
158
159
+
---
160
+
147
161
## Next steps
148
162
149
163
In this article, you learned how to set and configure quotas for Azure Managed Lustre file systems. To learn more about Azure Managed Lustre, see the [Azure Managed Lustre documentation](/azure/azure-managed-lustre/).
0 commit comments