Skip to content

Commit 013cf33

Browse files
Merge pull request #279248 from fhryo-msft/patch-32
Update use-container-storage-with-local-disk.md
2 parents 32c8fc9 + 93cd452 commit 013cf33

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

articles/storage/container-storage/use-container-storage-with-local-disk.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ Create a pod using [Fio](https://github.com/axboe/fio) (Flexible I/O Tester) for
145145
storage: 1Gi
146146
```
147147
148+
When you change the storage size of your volumes, make sure the size is less than the available capacity of a single node's ephemeral disk. See [Check node ephemeral disk capacity](#check-node-ephemeral-disk-capacity).
149+
148150
1. Apply the YAML manifest file to deploy the pod.
149151
150152
```azurecli-interactive
@@ -176,6 +178,22 @@ You've now deployed a pod that's using local NVMe as its storage, and you can us
176178

177179
Now that you've created your storage pool, you can expand or delete it as needed.
178180

181+
### Check node ephemeral disk capacity
182+
183+
An ephemeral volume is allocated on a single node. When you configure the size of your ephemeral volumes, the size should be less than the available capacity of the single node's ephemeral disk.
184+
185+
Run the following command to check the available capacity of ephemeral disk for a single node.
186+
187+
```output
188+
$ kubectl get diskpool -n acstor
189+
NAME CAPACITY AVAILABLE USED RESERVED READY AGE
190+
ephemeraldisk-temp-diskpool-jaxwb 75660001280 75031990272 628011008 560902144 True 21h
191+
ephemeraldisk-temp-diskpool-wzixx 75660001280 75031990272 628011008 560902144 True 21h
192+
ephemeraldisk-temp-diskpool-xbtlj 75660001280 75031990272 628011008 560902144 True 21h
193+
```
194+
195+
In this example, the available capacity of ephemeral disk for a single node is `75031990272` bytes or 69 GiB.
196+
179197
### Expand a storage pool
180198

181199
You can expand storage pools backed by local NVMe to scale up quickly and without downtime. Shrinking storage pools isn't currently supported.

0 commit comments

Comments
 (0)