Bug 1320857 - update thin_dump man page
Summary: update thin_dump man page
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: device-mapper-persistent-data
Version: 6.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Joe Thornber
QA Contact: Jakub Krysl
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-24 08:39 UTC by Bruno Goncalves
Modified: 2018-06-19 05:21 UTC (History)
11 users (show)

Fixed In Version: device-mapper-persistent-data-0.6.2-0.2.rc7.el6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-19 05:21:31 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:1913 0 None None None 2018-06-19 05:21:37 UTC

Description Bruno Goncalves 2016-03-24 08:39:05 UTC
Description of problem:
The command line in v0.6.x has changed slightly.  If you want to specify the block for the metadata snap you should now use --metadata-snap=<sb>.  -m  should be used on it's own (the tools will look up the metadata snap location themselves).

Although, according to thin_dump man "-m" and "--metadata-snap" are the same. Could the man page be updated in this BZ?

       -m, --metadata-snap [block#]
       Dump metadata snapshot created by device-mapper thin provisioning target.  If block is not provided, access the default metadata snapshot created by the thin provisioning device-map-
       per target, else try the one at block#.  See the thin provisioning target documentation on how to create or relea

Version-Release number of selected component (if applicable):
device-mapper-persistent-data-0.6.2-0.1.rc5.el6

How reproducible:
100%

Steps to Reproduce:
1.man thin_dump

Comment 3 Jakub Krysl 2018-04-04 12:43:34 UTC
 device-mapper-persistent-data-0.6.2-0.2.rc7.el6:
       -m, --metadata-snap[=block#]
       Dump metadata snapshot created by device-mapper thin provisioning target.  If block  is not  provided,  access  the  default metadata snapshot created by the thin provisioning device-mapper target, else try the one at block#.  See  the  thin  provisioning  target documentation  on  how  to create or release a metadata snapshot and retrieve the block number from the kernel.

# thin_dump /dev/sda -m=1
couldn't parse <metadata_snap>
--snip--
# thin_dump /dev/sda --metadata-snap=1
bad checksum in superblock

Comment 6 errata-xmlrpc 2018-06-19 05:21:31 UTC
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, 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-2018:1913


Note You need to log in before you can comment on or make changes to this bug.