@@ -205,6 +205,20 @@ appear::
kernel: device-mapper: dust: clearbadblocks: no badblocks found
+Listing the bad blocks
+----------------------
+
+After we have add some bad blocks(like block 1 and 2), run the following
+command can help us to check the bad blocks::
+
+ $ sudo dmsetup status dust1
+ 0 33552384 dust 252:17 bypass verbose badblocks list: 1 2
+
+And if there is no bad blocks, we will get following results::
+
+ $ sudo dmsetup status dust1
+ 0 33552384 dust 252:17 bypass verbose badblocks list: null
+
Message commands list
---------------------
Since we can list bad blocks with command status, introduce the detail in the doc. Signed-off-by: yangerkun <yangerkun@huawei.com> --- .../admin-guide/device-mapper/dm-dust.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+)