Skip to content

Commit 29a7c36

Browse files
committed
Clarify blob storage mount createoptions
1 parent 72f17ba commit 29a7c36

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

articles/iot-edge/how-to-deploy-blob.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The Azure portal guides you through creating a deployment manifest and pushing t
2626

2727
1. Sign in to the [Azure portal](https://portal.azure.com) and navigate to your IoT hub.
2828
1. Select **IoT Edge** from the menu.
29-
1. Click on the ID of the target device from the list of devices.
29+
1. Click on the ID of the target device from the list of devices.'
3030
1. Select **Set Modules**.
3131

3232
### Configure a deployment manifest
@@ -82,16 +82,16 @@ A deployment manifest is a JSON document that describes which modules to deploy,
8282

8383
- Replace `<storage mount>` according to your container operating system. Provide the name of a [volume](https://docs.docker.com/storage/volumes/) or the absolute path to an existing directory on your IoT Edge device where the blob module will store its data. The storage mount maps a location on your device that you provide to a set location in the module.
8484

85-
- For Linux containers, the format is *\<storage path or volume>:/blobroot*. For example
86-
- use [volume mount](https://docs.docker.com/storage/volumes/): **my-volume:/blobroot**
87-
- use [bind mount](https://docs.docker.com/storage/bind-mounts/): **/srv/containerdata:/blobroot**. Make sure to follow the steps to [grant directory access to the container user](how-to-store-data-blob.md#granting-directory-access-to-container-user-on-linux)
88-
- For Windows containers, the format is *\<storage path or volume>:C:/BlobRoot*. For example
89-
- use [volume mount](https://docs.docker.com/storage/volumes/): **my-volume:C:/blobroot**.
90-
- use [bind mount](https://docs.docker.com/storage/bind-mounts/): **C:/ContainerData:C:/BlobRoot**.
85+
- For Linux containers, the format is **\<your storage path or volume>:/blobroot**. For example:
86+
- use [volume mount](https://docs.docker.com/storage/volumes/): `my-volume:/blobroot`
87+
- use [bind mount](https://docs.docker.com/storage/bind-mounts/): `/srv/containerdata:/blobroot`. Make sure to follow the steps to [grant directory access to the container user](how-to-store-data-blob.md#granting-directory-access-to-container-user-on-linux)
88+
- For Windows containers, the format is **\<your storage path or volume>:C:/BlobRoot**. For example:
89+
- use [volume mount](https://docs.docker.com/storage/volumes/): `my-volume:C:/BlobRoot`.
90+
- use [bind mount](https://docs.docker.com/storage/bind-mounts/): `C:/ContainerData:C:/BlobRoot`.
9191
- Instead of using your local drive, you can map your SMB network location, for more information, see [using SMB share as your local storage](how-to-store-data-blob.md#using-smb-share-as-your-local-storage)
9292

9393
> [!IMPORTANT]
94-
> Do not change the second half of the storage mount value, which points to a specific location in the module. The storage mount should always end with **:/blobroot** for Linux containers and **:C:/BlobRoot** for Windows containers.
94+
> Do not change the second half of the storage mount value, which points to a specific location in the Blob Storage on IoT Edge module. The storage mount must always end with **:/blobroot** for Linux containers and **:C:/BlobRoot** for Windows containers.
9595
9696
5. On the **Module Twin Settings** tab, copy the following JSON and paste it into the box.
9797

@@ -194,16 +194,16 @@ Azure IoT Edge provides templates in Visual Studio Code to help you develop edge
194194

195195
1. Replace `<storage mount>` according to your container operating system. Provide the name of a [volume](https://docs.docker.com/storage/volumes/) or the absolute path to a directory on your IoT Edge device where you want the blob module to store its data. The storage mount maps a location on your device that you provide to a set location in the module.
196196

197-
- For Linux containers, the format is *\<storage path or volume>:/blobroot*. For example
198-
- use [volume mount](https://docs.docker.com/storage/volumes/): **my-volume:/blobroot**
199-
- use [bind mount](https://docs.docker.com/storage/bind-mounts/): **/srv/containerdata:/blobroot**. Make sure to follow the steps to [grant directory access to the container user](how-to-store-data-blob.md#granting-directory-access-to-container-user-on-linux)
200-
- For Windows containers, the format is *\<storage path or volume>:C:/BlobRoot*. For example
201-
- use [volume mount](https://docs.docker.com/storage/volumes/): **my-volume:C:/blobroot**.
202-
- use [bind mount](https://docs.docker.com/storage/bind-mounts/): **C:/ContainerData:C:/BlobRoot**.
197+
- For Linux containers, the format is **\<your storage path or volume>:/blobroot**. For example:
198+
- use [volume mount](https://docs.docker.com/storage/volumes/): `my-volume:/blobroot`
199+
- use [bind mount](https://docs.docker.com/storage/bind-mounts/): `/srv/containerdata:/blobroot`. Make sure to follow the steps to [grant directory access to the container user](how-to-store-data-blob.md#granting-directory-access-to-container-user-on-linux)
200+
- For Windows containers, the format is **\<your storage path or volume>:C:/BlobRoot**. For example
201+
- use [volume mount](https://docs.docker.com/storage/volumes/): `my-volume:C:/BlobRoot`.
202+
- use [bind mount](https://docs.docker.com/storage/bind-mounts/): `C:/ContainerData:C:/BlobRoot`.
203203
- Instead of using your local drive, you can map your SMB network location, for more information see [using SMB share as your local storage](how-to-store-data-blob.md#using-smb-share-as-your-local-storage)
204204

205205
> [!IMPORTANT]
206-
> Do not change the second half of the storage mount value, which points to a specific location in the module. The storage mount should always end with **:/blobroot** for Linux containers and **:C:/BlobRoot** for Windows containers.
206+
> Do not change the second half of the storage mount value, which points to a specific location in the Blob Storage on IoT Edge module. The storage mount must always end with **:/blobroot** for Linux containers and **:C:/BlobRoot** for Windows containers.
207207

208208
1. Configure [deviceToCloudUploadProperties](how-to-store-data-blob.md#devicetoclouduploadproperties) and [deviceAutoDeleteProperties](how-to-store-data-blob.md#deviceautodeleteproperties) for your module by adding the following JSON to the *deployment.template.json* file. Configure each property with an appropriate value and save the file. If you are using the IoT Edge simulator, set the values to the related environment variables for these properties, which you can find in the explanation section of [deviceToCloudUploadProperties](how-to-store-data-blob.md#devicetoclouduploadproperties) and [deviceAutoDeleteProperties](how-to-store-data-blob.md#deviceautodeleteproperties)
209209

0 commit comments

Comments
 (0)