-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DAOS-16328 control: Update dmg pool list for MD-on-SSD #15490
Merged
+196
−67
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -585,24 +585,34 @@ tank 47 GB 0% 0% 0/32 | |||||||||
|
||||||||||
This returns a table of pool labels (or UUIDs if no label was specified) | ||||||||||
with the following information for each pool: | ||||||||||
- the total pool size | ||||||||||
- the percentage of used space (i.e., 100 * used space / total space) | ||||||||||
- the imbalance percentage indicating whether data distribution across | ||||||||||
- The total pool size (NVMe or DATA tier, not including Metadata tier). | ||||||||||
- The percentage of used space (i.e., 100 * used space / total space) | ||||||||||
for the NVMe or DATA tier. | ||||||||||
- The imbalance percentage indicating whether data distribution across | ||||||||||
the difference storage targets is well balanced. 0% means that there is | ||||||||||
no imbalance and 100% means that out-of-space errors might be returned | ||||||||||
knard-intel marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||
by some storage targets while space is still available on others. | ||||||||||
- the number of disabled targets (0 here) and the number of targets that | ||||||||||
by some storage targets while space is still available on others. Again | ||||||||||
for the NVMe or DATA tier. | ||||||||||
Comment on lines
+594
to
+595
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wording nit.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. will update in a follow-on |
||||||||||
- The number of disabled targets (0 here) and the number of targets that | ||||||||||
the pool was originally configured with (total). | ||||||||||
|
||||||||||
The --verbose option provides more detailed information including the | ||||||||||
number of service replicas, the full UUIDs and space distribution | ||||||||||
between SCM and NVMe for each pool: | ||||||||||
between SCM and NVMe (or META and DATA in MD-on-SSD mode) for each pool: | ||||||||||
|
||||||||||
```bash | ||||||||||
$ dmg pool list --verbose | ||||||||||
Label UUID SvcReps SCM Size SCM Used SCM Imbalance NVME Size NVME Used NVME Imbalance Disabled | ||||||||||
----- ---- ------- -------- -------- ------------- --------- --------- -------------- -------- | ||||||||||
tank 8a05bf3a-a088-4a77-bb9f-df989fce7cc8 1-3 3 GB 10 kB 0% 47 GB 0 B 0% 0/32 | ||||||||||
tank 8a05bf3a-a088-4a77-bb9f-df989fce7cc8 1-3 3 GB 10 kB 0% 47 GB 0 B 0% 0/32 | ||||||||||
``` | ||||||||||
|
||||||||||
In MD-on-SSD mode: | ||||||||||
```bash | ||||||||||
$ dmg pool list --verbose | ||||||||||
Label UUID SvcReps Meta Size Meta Used Meta Imbalance DATA Size DATA Used DATA Imbalance Disabled | ||||||||||
----- ---- ------- --------- --------- -------------- --------- --------- -------------- -------- | ||||||||||
tank 8a05bf3a-a088-4a77-bb9f-df989fce7cc8 1-3 3 GB 10 kB 0% 47 GB 0 B 0% 0/32 | ||||||||||
``` | ||||||||||
|
||||||||||
### Destroying a Pool | ||||||||||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the SCM-only case (admittedly a corner case at this point), nothing has changed, has it? May be worth calling out here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can update in a follow-on, the behaviour for PMem has changed because only NVMe tier is displayed in the default mode, as you have said nothing changes for SCM-only (and there is no equivalent supported mode for MD-on-SSD)