Skip to content

Commit b2d048a

Browse files
committed
docs: add self-service storage resize info (50-100GB)
1 parent 125faa1 commit b2d048a

File tree

1 file changed

+27
-4
lines changed

1 file changed

+27
-4
lines changed

cerebrium/storage/managing-files.mdx

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,30 @@ if os.path.exists("/persistent-storage/models/mymodel.pt"):
121121
at runtime.
122122
</Note>
123123

124-
<Warning>
125-
Should you require additional storage capacity, please reach out to us through
126-
[support](mailto:[email protected]).
127-
</Warning>
124+
## Increasing Storage Capacity
125+
126+
The default 50GB persistent volume can be increased up to 100GB through self-service:
127+
128+
1. **Via Dashboard**: Navigate to your project settings and find the storage/volumes section to resize your volume.
129+
130+
2. **Via API**: Use the resize volume endpoint:
131+
132+
```bash
133+
curl -X POST "https://api.cerebrium.ai/v4/projects/{project_id}/volumes/{volume_id}/resize" \
134+
-H "Authorization: Bearer YOUR_API_KEY" \
135+
-H "Content-Type: application/json" \
136+
-d '{"newSizeGb": 100}'
137+
```
138+
139+
<Note>
140+
Self-service resizing supports volumes between 50GB and 100GB. For storage needs beyond 100GB,
141+
please reach out to us through [support](mailto:[email protected]).
142+
</Note>
143+
144+
### Storage Quota Errors
145+
146+
If you hit your storage quota, you'll see errors like `No space left on device` when trying to download or write files. To resolve this:
147+
148+
1. Remove unnecessary files from `/persistent-storage` using `cerebrium rm`
149+
2. Resize your volume to a larger capacity (up to 100GB self-service)
150+
3. Contact support for storage beyond 100GB

0 commit comments

Comments
 (0)