summaryrefslogtreecommitdiff
path: root/Documentation/btrfs-show-super.asciidoc
blob: 1646be3b72a1cf5580b518dcb30bf7ba82aaa08d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
btrfs-show-super(8)
====================

NAME
----
btrfs-show-super - show btrfs superblock information stored in devices

SYNOPSIS
--------
*btrfs-show-super* [options] <dev> [<dev>...]

DESCRIPTION
-----------
*btrfs-show-super* is used to print the information of superblock,
you can specify which mirror to print out.

By default, every device's first superblock will be printed out.

Mainly used for debug purpose.

OPTIONS
-------
-f::
Print full superblock information.
+
Including the system chunk array and backup roots.

-a::
Print information of all superblocks.
+
If this option is given, '-i' option will be ignored.

-i <super_mirror>::
Specify which mirror to print out.
+
<super_mirror> is between 0 and 2.
If several '-i <super_mirror>' are given, only the last one is valid.

-F::
Attempt to print the superblock even if no superblock magic is found.  May end
badly.

EXIT STATUS
-----------
*btrfs-show-super* will return 0 if no error happened.
If any problems happened, 1 will be returned.

SEE ALSO
--------
`mkfs.btrfs`(8)