6 btrfs-convert - convert from ext2/3/4 filesystem to btrfs or rollback
10 *btrfs-convert* [options] <device>
14 *btrfs-convert* is used to convert existed ext2/3/4 to btrfs filesystem,
15 and the original filesystem image is accessible as from separate subvolume
16 named 'ext2_saved' as file image.
18 WARNING: If one hopes to rollback to ext2/3/4, they should not execute
19 *btrfs balance* command on converted btrfs, since it will change the extent
20 layout and make *btrfs-convert* unable to rollback.
22 NOTE: If one is satisfied with converted btrfs, and not longer wants to
23 rollback to ext2/3/4, it is highly recommended to remove 'ext2_saved' subvolume
24 and execute *btrfs filesystem defragment* and *btrfs balance* command on the
30 Disable data checksum calculations and set NODATASUM file flag. This can speed
33 Ignore xattrs and ACLs.
35 Disable inlining of small files to metadata blocks.
36 -N|--nodesize <SIZE>::
37 Set filesystem nodesize, the tree block size in which btrfs stores data.
38 The default value is 16KB (16384) or the page size, whichever is bigger.
39 Must be a multiple of the sectorsize, but not larger than 65536.
43 set filesystem label during conversion.
45 use label from the converted filesystem.
47 Show progress of conversion, on by default.
49 Disable detailed progress and show only the main phases of conversion.
53 *btrfs-convert* will return 0 if no error happened.
54 If any problems happened, 1 will be returned.