Bug 2173726
| Summary: | stratis_dumpmetadata is provided in a package or sub-package to stratisd | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Dennis Keefe <dkeefe> |
| Component: | stratisd | Assignee: | Bryan Gurney <bgurney> |
| Status: | CLOSED ERRATA | QA Contact: | Filip Suba <fsuba> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9.3 | CC: | amulhern, cwei, dkeefe, fsuba |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 9.3 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | stratisd-3.5.5-1.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-07 08:32:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Dennis Keefe
2023-02-27 18:40:40 UTC
Verified with stratisd-tools-3.5.5-1.el9.
# stratis-dumpmetadata --help
Usage: stratis-dumpmetadata [OPTIONS] <dev>
Arguments:
<dev> Print metadata of given device
Options:
-b, --print-bytes Print byte buffer of device
-h, --help Print help
# stratis-dumpmetadata /dev/sdl
Signature block:
Header:
StaticHeader {
blkdev_size: BlockdevSize(
Sectors(19532873728),
),
identifiers: StratisIdentifiers {
pool_uuid: PoolUuid(
6bc2a854-ebc0-40dd-8ff3-93369739f1c6,
),
device_uuid: DevUuid(
f81ee2d4-2635-457b-b7f1-6ad0e56963e1,
),
},
mda_size: MDASize(
Sectors(2032),
),
reserved_size: ReservedSize(
Sectors(6144),
),
flags: 0,
initialization_time: 2023-06-12T12:02:27Z,
}
BDA {
header: StaticHeader {
blkdev_size: BlockdevSize(
Sectors(19532873728),
),
identifiers: StratisIdentifiers {
pool_uuid: PoolUuid(
6bc2a854-ebc0-40dd-8ff3-93369739f1c6,
),
device_uuid: DevUuid(
f81ee2d4-2635-457b-b7f1-6ad0e56963e1,
),
},
mda_size: MDASize(
Sectors(2032),
),
reserved_size: ReservedSize(
Sectors(6144),
),
flags: 0,
initialization_time: 2023-06-12T12:02:27Z,
},
regions: MDARegions {
region_size: MDARegionSize(
Sectors(508),
),
mda_headers: [
Some(
MDAHeader {
last_updated: 2023-06-12T12:02:28.461284727Z,
used: MetaDataSize(
Bytes(588),
),
data_crc: 4085071037,
},
),
None,
],
},
}
Pool metadata:
{
"backstore": {
"cap": {
"allocs": [
[
0,
115608064
]
]
},
"data_tier": {
"blockdev": {
"allocs": [
[
{
"length": 115608064,
"parent": "f81ee2d4-2635-457b-b7f1-6ad0e56963e1",
"start": 8192
}
]
],
"devs": [
{
"hardware_info": "0x5000cca26c19e048",
"uuid": "f81ee2d4-2635-457b-b7f1-6ad0e56963e1"
}
]
}
}
},
"flex_devs": {
"meta_dev": [
[
114559488,
1048576
]
],
"thin_data_dev": [
[
9701888,
104857600
]
],
"thin_meta_dev": [
[
0,
4850944
]
],
"thin_meta_dev_spare": [
[
4850944,
4850944
]
]
},
"name": "test",
"started": true,
"thinpool_dev": {
"data_block_size": 2048,
"enable_overprov": true,
"feature_args": [
"skip_block_zeroing",
"no_discard_passdown"
],
"fs_limit": 100
}
}
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (stratisd bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:6424 |