| 1 |
.\" Man page generated from reStructuredText |
| 2 |
.\" by the Docutils 0.22.4 manpage writer. |
| 3 |
. |
| 4 |
. |
| 5 |
.nr rst2man-indent-level 0 |
| 6 |
. |
| 7 |
.de1 rstReportMargin |
| 8 |
\\$1 \\n[an-margin] |
| 9 |
level \\n[rst2man-indent-level] |
| 10 |
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 11 |
- |
| 12 |
\\n[rst2man-indent0] |
| 13 |
\\n[rst2man-indent1] |
| 14 |
\\n[rst2man-indent2] |
| 15 |
.. |
| 16 |
.de1 INDENT |
| 17 |
.\" .rstReportMargin pre: |
| 18 |
. RS \\$1 |
| 19 |
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] |
| 20 |
. nr rst2man-indent-level +1 |
| 21 |
.\" .rstReportMargin post: |
| 22 |
.. |
| 23 |
.de UNINDENT |
| 24 |
. RE |
| 25 |
.\" indent \\n[an-margin] |
| 26 |
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 27 |
.nr rst2man-indent-level -1 |
| 28 |
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] |
| 29 |
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u |
| 30 |
.. |
| 31 |
.TH "BTRFS-MAP-LOGICAL" "8" "May 10, 2026" "7.0" "BTRFS" |
| 32 |
.SH NAME |
| 33 |
btrfs-map-logical \- map btrfs logical extent to physical extent |
| 34 |
.SH SYNOPSIS |
| 35 |
.sp |
| 36 |
\fBbtrfs\-map\-logical\fP <options> <device> |
| 37 |
.SH DESCRIPTION |
| 38 |
.sp |
| 39 |
\fBbtrfs\-map\-logical\fP can be used to find out what the physical offsets are |
| 40 |
on the mirrors, the result is dumped to stdout by default. |
| 41 |
.sp |
| 42 |
Mainly used for debug purpose. |
| 43 |
.SH OPTIONS |
| 44 |
.INDENT 0.0 |
| 45 |
.TP |
| 46 |
.B \-l|\-\-logical <logical_num> |
| 47 |
Logical extent to map. |
| 48 |
.TP |
| 49 |
.B \-c|\-\-copy <copy> |
| 50 |
Copy of the extent to read(usually 1 or 2). |
| 51 |
.TP |
| 52 |
.B \-o|\-\-output <filename> |
| 53 |
Output file to hold the extent. |
| 54 |
.TP |
| 55 |
.B \-b|\-\-bytes <bytes> |
| 56 |
Number of bytes to read. |
| 57 |
.UNINDENT |
| 58 |
.SH EXIT STATUS |
| 59 |
.sp |
| 60 |
\fBbtrfs\-map\-logical\fP will return 0 if no error happened. |
| 61 |
If any problems happened, 1 will be returned. |
| 62 |
.SH SEE ALSO |
| 63 |
.sp |
| 64 |
mkfs.btrfs(8) \%<> |
| 65 |
.\" End of generated man page. |