Change in vdsm[master]: storage: introducing vdsm-dump-chains script
ibarkan at redhat.com
ibarkan at redhat.com
Mon Mar 23 14:20:21 UTC 2015
Ido Barkan has posted comments on this change.
Change subject: storage: introducing vdsm-dump-chains script
......................................................................
Patch Set 7: Verified+1
some example outputs:
example 1 no errors:
====================
[root at nari05 vdsm]# vdsm-tool dump-volume-chains 02e969e4-f0cc-4135-b51b-fc4cbe54c2a5
Images volume chains (base volume first)
image: 8e285114-448e-4924-9531-f4ac1f38b93b
63bc0a78-d4b2-4831-a2f3-7775b1cbc16e
image: 56415d9a-7faa-4ef8-9be8-32ad2a9de7c1
fa6cb5b7-be42-45f5-994d-1129edb248b0
06b512f6-ee6f-4c2c-b568-d40ff08fa482
b7b9479d-027f-4d88-be7f-8677e8dc27b6
59b0b422-d00b-40ab-b3d9-c01bb599ff8d
example 2 no errors verbose:
============================
[root at nari05 vdsm]# vdsm-tool dump-volume-chains 02e969e4-f0cc-4135-b51b-fc4cbe54c2a5 --verbose
Images volume chains (base volume first)
image: 8e285114-448e-4924-9531-f4ac1f38b93b
63bc0a78-d4b2-4831-a2f3-7775b1cbc16e
status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: SPARSE
image: 56415d9a-7faa-4ef8-9be8-32ad2a9de7c1
fa6cb5b7-be42-45f5-994d-1129edb248b0
status: OK, voltype: INTERNAL, format: RAW, legality: LEGAL, type: SPARSE
06b512f6-ee6f-4c2c-b568-d40ff08fa482
status: OK, voltype: INTERNAL, format: COW, legality: LEGAL, type: SPARSE
b7b9479d-027f-4d88-be7f-8677e8dc27b6
status: OK, voltype: INTERNAL, format: COW, legality: LEGAL, type: SPARSE
59b0b422-d00b-40ab-b3d9-c01bb599ff8d
status: OK, voltype: LEAF, format: COW, legality: LEGAL, type: SPARSE
example 3 with errors (fake data):
==================================
[root at nari05 vdsm]# vdsm-tool dump-volume-chains 02e969e4-f0cc-4135-b51b-fc4cbe54c2a5
images volume chains (base volume first)
image: 8e285114-448e-4924-9531-f4ac1f38b93b
Error in image : ChainLoopError
volumes and parents: 00000000-0000-0000-0000-000000000000<-a a<-b b<-c c<-a
image: 56415d9a-7faa-4ef8-9be8-32ad2a9de7c1
Error in image : ChainLoopError
volumes and parents: 00000000-0000-0000-0000-000000000000<-a a<-b b<-c c<-a
--
To view, visit https://gerrit.ovirt.org/38281
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I428c443bb7d6b2a504a6f77efcd4838f7ae6c404
Gerrit-PatchSet: 7
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ido Barkan <ibarkan at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Darshan N <dnarayan at redhat.com>
Gerrit-Reviewer: Ido Barkan <ibarkan at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Vladik Romanovsky <vladik.romanovsky at gmail.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: Yaniv Dary <ydary at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: No
More information about the vdsm-patches
mailing list