Skip to content
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

dm: add helper to dump device mapper devices #52

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

biger410
Copy link
Member

The output is similar with 'dmshow' from crash-pykdump

>>> dm.show_dm(prog)
NUMBER  NAME                        MAPPED_DEVICE       FLAGS
dm-12   VGExaDb-LVDbOra1-real       0xffff940885630000  0x0
dm-6    VGExaDb-LVDbhome1           0xffff9551c7d30000  0x0
dm-11   VGExaDb-LVDoNotRemoveOrUse  0xffff9551c7ed0000  0x0
dm-7    VGExaDb-LVDblocal1          0xffff9551c7d80000  0x0
dm-1    VGExaDb-LVDbSys2            0xffff9551c7c40000  0x0
dm-8    VGExaDb-LVDbase1            0xffff9551c7df0000  0x0
dm-2    VGExaDb-LVDbSwap1           0xffff9551c7ca0000  0x0
dm-0    VGExaDb-LVDbSys1            0xffff9551c7c10000  0x0
dm-14   VGExaDb-LVDbOra1_snap       0xffff94fb16ca0000  0x0
dm-13   VGExaDb-LVDbOra1_snap-cow   0xffff941c1fa40000  0x0
dm-4    VGExaDb-LVDbgrid1           0xffff9551c7ce0000  0x0
dm-5    VGExaDb-LVDbmc1             0xffff9551c7d00000  0x0
dm-9    VGExaDb-LVDproduct1         0xffff9551c7e90000  0x0
dm-10   VGExaDb-LVDzabbix1          0xffff9551c7ea0000  0x0
dm-3    VGExaDb-LVDbOra1            0xffff9551c7cb0000  BLOCK_IO_FOR_SUSPEND|SUSPENDED|FROZEN

Gitlab ci test passed for this pr.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Dec 20, 2023
@biger410 biger410 requested a review from brenns10 December 20, 2023 23:33
The output is similar with 'dmshow' from crash-pykdump

Signed-off-by: Junxiao Bi <[email protected]>
@biger410
Copy link
Member Author

biger410 commented Jan 2, 2024

Good comments, all addressed as suggestion. Thanks for the review.

@brenns10 brenns10 merged commit 2ce9b7a into oracle-samples:main Jan 2, 2024
5 checks passed
@brenns10
Copy link
Member

brenns10 commented Jan 2, 2024

Great, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants