Skip to content

Commit fc0f72c

Browse files
Review edits
1 parent 0c4f262 commit fc0f72c

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

azure-managed-lustre/lustre-quotas.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,23 +62,23 @@ The command uses the following parameters:
6262
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`:
6363

6464
```bash
65-
lfs setquota -u user1 -b 1T -B 2T /mnt/fs1
65+
sudo lfs setquota -u user1 -b 1T -B 2T /mnt/fs1
6666
```
6767

6868
### [Group quotas](#tab/group-quotas)
6969

7070
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`:
7171

7272
```bash
73-
lfs setquota -g group1 -i 2500 -I 5000 /mnt/fs1
73+
sudo lfs setquota -g group1 -i 2500 -I 5000 /mnt/fs1
7474
```
7575

7676
### [Project quotas](#tab/project-quotas)
7777

7878
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`:
7979

8080
```bash
81-
lfs setquota -p project1 -B 1T -I 5000 /mnt/fs1
81+
sudo lfs setquota -p project1 -B 1T -I 5000 /mnt/fs1
8282
```
8383

8484
---
@@ -116,7 +116,7 @@ The grace period setting can vary for user, group, and project quotas, but the c
116116
To set a grace period for a quota, use the following syntax:
117117

118118
```bash
119-
lfs setquota -t {-u|-g|-p}
119+
sudo lfs setquota -t {-u|-g|-p}
120120
[-b block_grace]
121121
[-i inode_grace]
122122
/mount_point
@@ -132,18 +132,32 @@ The command uses the following parameters:
132132

133133
No values are allowed after `-u`, `-g`, or `-p`. By default, the grace period is one week.
134134

135+
### [User quotas](#tab/user-quotas)
136+
135137
The following example sets the block quota grace period to five days (`5d`) for all users in the file system `fs1`:
136138

137139
```bash
138-
lfs setquota -t -u -b 5d /mnt/fs1
140+
sudo lfs setquota -t -u -b 5d /mnt/fs1
139141
```
140142

143+
### [Group quotas](#tab/group-quotas)
144+
141145
The following example sets the inode quota grace period to one week, three days (`1w3d`) for all groups in the file system `fs1`:
142146

143147
```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
145157
```
146158

159+
---
160+
147161
## Next steps
148162

149163
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

Comments
 (0)