From f162d59bf6da9a3e930f8498e6b41c6029be1920 Mon Sep 17 00:00:00 2001 From: Thanos Makatos Date: Fri, 4 Mar 2016 18:30:02 +0300 Subject: [PATCH] no need to supply held root, thin_dump -m will look it up --- README.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/README.md b/README.md index ce83bd7..005ae50 100644 --- a/README.md +++ b/README.md @@ -140,16 +140,9 @@ the metadata: $ dmsetup message vg001-mythinpool-tpool 0 reserve_metadata_snap -Then, extract the held root from the device mapper's status of the thin pool -(7th field). This value must be passed to ```thin_dump```. - - $ sudo dmsetup status vg001-mythinpool-tpool - 0 8192 thin-pool 2 11/1024 1/64 10 rw discard_passdown - ^ - Extract the metadata: - $ sudo bin/thin_dump -m10 /dev/mapper/vg001-mythinpool_tmeta + $ sudo bin/thin_dump -m /dev/mapper/vg001-mythinpool_tmeta