Skip to content

Commit e975063

Browse files
committed
retitle and other fixes
1 parent 742ebf2 commit e975063

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

articles/iot-edge/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
href: how-to-configure-proxy-support.md
178178
- name: Store data at the edge
179179
items:
180-
- name: Use your IoT Edge device's local storage from a module
180+
- name: Give modules access to an IoT Edge device's local storage
181181
href: how-to-access-host-storage-from-module.md
182182
- name: Azure Blob Storage on IoT Edge
183183
href: how-to-store-data-blob.md

articles/iot-edge/how-to-access-host-storage-from-module.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Use IoT Edge device local storage from a module - Azure IoT Edge | Microsoft Docs
3-
description: [TODO]
3+
description: Use environment variables and create options to enable module access to IoT Edge device local storage.
44
author: kgremban
55
manager: philmea
66
ms.author: kgremban
@@ -10,13 +10,13 @@ ms.service: iot-edge
1010
services: iot-edge
1111
---
1212

13-
# Use your IoT Edge device's local storage from a module
13+
# Give modules access to an IoT Edge device's local storage
1414

1515
In addition to storing data using Azure storage services or in your device's container storage, you can also dedicate storage on the host IoT Edge device itself for improved reliability, especially when operating offline.
1616

17-
To set up storage on the host system, create environment variables for the IoT Edge hub and IoT Edge agent that point to a storage folder in the container. Then, use the create options to bind that storage folder to a folder on the host machine.
17+
To set up storage on the host system, create an environment variable for your module that points to a storage folder in the container. Then, use the create options to bind that storage folder to a folder on the host machine.
1818

19-
You can configure environment variables and the create options for the IoT Edge hub module in the Azure portal in the **Configure advanced Edge Runtime settings** section.
19+
For example, if you wanted to enable the IoT Edge hub to store messages in your device's local storage and retrieve them later, you can configure the environment variables and the create options in the Azure portal in the **Configure advanced Edge Runtime settings** section.
2020

2121
1. For both IoT Edge hub and IoT Edge agent, add an environment variable called **storageFolder** that points to a directory in the module.
2222
1. For both IoT Edge hub and IoT Edge agent, add binds to connect a local directory on the host machine to a directory in the module. For example:
@@ -67,7 +67,7 @@ Replace `<HostStoragePath>` and `<ModuleStoragePath>` with your host and module
6767

6868
For example, on a Linux system, `"Binds":["/etc/iotedge/storage/:/iotedge/storage/"]` means the directory **/etc/iotedge/storage** on your host system is mapped to the directory **/iotedge/storage/** in the container. On a Windows system, as another example, `"Binds":["C:\\temp:C:\\contemp"]` means the directory **C:\\temp** on your host system is mapped to the directory **C:\\contemp** in the container.
6969

70-
Additionally, on Linux devices, make sure that the user profile for your module has the required read, write, and execute permissions to the host system directory. For example, if you wanted to enable the IoT Edge hub to store messages in your device's local storage and retrieve them later, you need to grant these permissions to its user profile, UID 1000. (The IoT Edge agent operates as root, so it doesn't need additional permissions.) There are several ways to manage directory permissions on Linux systems, including using `chown` to change the directory owner and then `chmod` to change the permissions, such as:
70+
Additionally, on Linux devices, make sure that the user profile for your module has the required read, write, and execute permissions to the host system directory. Returning to the earlier example of enabling IoT Edge hub to store messages in your device's local storage, you need to grant permissions to its user profile, UID 1000. (The IoT Edge agent operates as root, so it doesn't need additional permissions.) There are several ways to manage directory permissions on Linux systems, including using `chown` to change the directory owner and then `chmod` to change the permissions, such as:
7171

7272
```bash
7373
sudo chown 1000 <HostStoragePath>

articles/iot-edge/offline-capabilities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ This setting is a desired property of the IoT Edge hub, which is stored in the m
133133

134134
### Host storage for system modules
135135

136-
Messages and module state information are stored in the IoT Edge hub's local container filesystem by default. For improved reliability, especially when operating offline, you can also dedicate storage on the host IoT Edge device. For more information, see [Use your IoT Edge device's local storage from a module](how-to-access-host-storage-from-module.md)
136+
Messages and module state information are stored in the IoT Edge hub's local container filesystem by default. For improved reliability, especially when operating offline, you can also dedicate storage on the host IoT Edge device. For more information, see [Give modules access to an IoT Edge device's local storage](how-to-access-host-storage-from-module.md)
137137

138138
## Next steps
139139

0 commit comments

Comments
 (0)