mirror of
https://github.com/beclab/Olares
synced 2026-04-21 21:47:56 +00:00
33 lines
705 B
Markdown
33 lines
705 B
Markdown
|
|
# `disk`
|
||
|
|
|
||
|
|
## Synopsis
|
||
|
|
|
||
|
|
The `disk` command provides a set of tools to manage storage resources in the Olares system. It is specifically used for managing LVM-based storage configurations.
|
||
|
|
|
||
|
|
|
||
|
|
```bash
|
||
|
|
olares-cli disk <subcommand>
|
||
|
|
```
|
||
|
|
|
||
|
|
## Subcommands
|
||
|
|
|
||
|
|
| Subcommand | Description |
|
||
|
|
|--|--|
|
||
|
|
| `extend` | Extends Olares storage capacity on LVM-based installations. |
|
||
|
|
| `list-unmounted` | Lists unmounted disks. |
|
||
|
|
|
||
|
|
## Options
|
||
|
|
|
||
|
|
| Name | Shorthand | Usage |
|
||
|
|
|--|--|--|
|
||
|
|
| `--help` | `-h` | Displays help information.|
|
||
|
|
|
||
|
|
## Examples
|
||
|
|
|
||
|
|
```bash
|
||
|
|
# List all disks that are connected but not mounted
|
||
|
|
olares-cli disk list-unmounted
|
||
|
|
|
||
|
|
# Extend Olares storage by adding newly detected unmounted disks
|
||
|
|
olares-cli disk extend
|
||
|
|
```
|