1BTRFS-MAP-LOGICAL(8)             Btrfs Manual             BTRFS-MAP-LOGICAL(8)
2
3
4

NAME

6       btrfs-map-logical - map btrfs logical extent to physical extent
7

SYNOPSIS

9       btrfs-map-logical <options> <device>
10

DESCRIPTION

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

OPTIONS

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

EXIT STATUS

31       btrfs-map-logical will return 0 if no error happened. If any problems
32       happened, 1 will be returned.
33

SEE ALSO

35       mkfs.btrfs(8)
36
37
38
39Btrfs v5.1                        05/17/2019              BTRFS-MAP-LOGICAL(8)
Impressum