1BTRFS-MAP-LOGICAL(8) BTRFS BTRFS-MAP-LOGICAL(8)
2
3
4
6 btrfs-map-logical - map btrfs logical extent to physical extent
7
9 btrfs-map-logical <options> <device>
10
12 btrfs-map-logical can be used to find out what the physical offsets are
13 on the mirrors, the result is dumped to stdout by default.
14
15 Mainly used for debug purpose.
16
18 -l|--logical <logical_num>
19 Logical extent to map.
20
21 -c|--copy <copy>
22 Copy of the extent to read(usually 1 or 2).
23
24 -o|--output <filename>
25 Output file to hold the extent.
26
27 -b|--bytes <bytes>
28 Number of bytes to read.
29
31 btrfs-map-logical will return 0 if no error happened. If any problems
32 happened, 1 will be returned.
33
35 mkfs.btrfs(8)
36
37
38
39
406.6.2 Nov 24, 2023 BTRFS-MAP-LOGICAL(8)