Skip to content

Commit a07ca6e

Browse files
authored
Doc: Clarify how to configure CephFS vols as image/backup store (#1418)
Fixes #1417. A user might not be aware that it's crucial to set the config per cluster member. So instead of mentioning it at the bottom, use the `--target` key specifically. Otherwise a user would need to know that he needs to go to each cluster member to set the config key.
2 parents 42bf236 + 51a6f5d commit a07ca6e

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

doc/how-to/initialize.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -276,18 +276,18 @@ lxc storage volume create remote-fs backups # for instances operations
276276
lxc storage volume create remote-fs images # for images operations
277277
```
278278

279-
Once the storage volumes are created, set them as the values for the {ref}`configuration options <lxd:server-options-misc>` of `storage.images_volume` and `storage.backups_volume`. This example syntax uses `remote-fs` as the storage pool, along with volumes named `images` and `backup`:
279+
Once the storage volumes are created, set them as the values for the `storage.images_volume` and `storage.backups_volume` {ref}`configuration options <lxd:server-options-misc>`.
280+
This example syntax uses `remote-fs` as the storage pool, along with volumes named `images` and `backups`.
281+
Repeat these steps for each cluster member:
280282

281283
```bash
282-
lxc config set storage.images_volume=remote-fs/images
283-
lxc config set storage.backups_volume=remote-fs/backups
284+
lxc config set storage.images_volume=remote-fs/images --target <cluster member>
285+
lxc config set storage.backups_volume=remote-fs/backups --target <cluster member>
284286
```
285287

286288
To view the set values, run:
287289

288290
```bash
289-
lxc config get storage.backups_volume
290-
lxc config get storage.images_volume
291+
lxc config get storage.backups_volume --target <cluster member>
292+
lxc config get storage.images_volume --target <cluster member>
291293
```
292-
293-
Repeat these steps on each cluster member.

0 commit comments

Comments
 (0)