summaryrefslogtreecommitdiff
path: root/Documentation/btrfs-convert.txt
blob: 89b2fbd978e27c9dc15db324aff187530848d885 (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
btrfs-convert(8)
================

NAME
----
btrfs-convert - convert from ext2/3/4 filesystem to btrfs or rollback

SYNOPSIS
--------
*btrfs-convert* [options] <device>

DESCRIPTION
-----------
*btrfs-convert* is used to convert existed ext2/3/4 to btrfs filesystem,
and the original filesystem image is accessible as from separate subvolume
named 'ext2_saved' as file image.

OPTIONS
-------
-d::
Disable data checksum.
-i::
Ignore xattrs and ACLs.
-n::
Disable packing of small files.
-N <SIZE>::
Set filesystem nodesize, the tree block size in which btrfs stores data.
The default value is 16KB (16384) or the page size, whichever is bigger.
Must be a multiple of the sectorsize, but not larger than 65536.
-r::
Roll back to ext2fs.
-l <LABEL>::
set filesystem label during conversion.
-L::
use label from the converted filesystem.
-p::
Show progress of conversion, on by default.
--no-progress::
Disable detailed progress and show only the main phases of conversion.

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

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