6 btrfs-map-logical - map btrfs logical extent to physical extent
10 *btrfs-map-logical* <options> <device>
14 *btrfs-map-logical* can be used to find out what the physical offsets are
15 on the mirrors, the result is dumped into stdout in default.
17 Mainly used for debug purpose.
21 -l|--logical <logical_num>::
22 Logical extent to map.
24 Copy of the extent to read(usually 1 or 2).
25 -o|--output <filename>::
26 Output file to hold the extent.
28 Number of bytes to read.
32 *btrfs-map-logical* will return 0 if no error happened.
33 If any problems happened, 1 will be returned.