2014-04-02 08:29:28 +00:00
|
|
|
btrfs-convert(8)
|
|
|
|
================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
btrfs-convert - convert from ext2/3/4 filesystem to btrfs or rollback
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2014-05-19 15:49:35 +00:00
|
|
|
*btrfs-convert* [options] <device>
|
2014-04-02 08:29:28 +00:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2014-05-19 15:49:35 +00:00
|
|
|
*btrfs-convert* is used to convert existed ext2/3/4 to btrfs filesystem,
|
2014-04-02 08:29:28 +00:00
|
|
|
and the original filesystem image is accessible as from separate subvolume
|
2014-07-14 02:27:43 +00:00
|
|
|
named 'ext2_saved' as file image.
|
2014-04-02 08:29:28 +00:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
2015-03-23 17:45:56 +00:00
|
|
|
-d|--no-datasum::
|
|
|
|
Disable data checksum calculations and set NODATASUM file flag. This can speed
|
|
|
|
up the conversion.
|
|
|
|
-i|--no-xattr::
|
2014-04-02 08:29:28 +00:00
|
|
|
Ignore xattrs and ACLs.
|
2015-03-23 17:45:56 +00:00
|
|
|
-n|--no-inline::
|
|
|
|
Disable inlining of small files to metadata blocks.
|
|
|
|
-N|--nodesize <SIZE>::
|
2015-03-20 01:11:11 +00:00
|
|
|
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.
|
2015-03-23 17:45:56 +00:00
|
|
|
-r|--rollback::
|
2014-04-02 08:29:28 +00:00
|
|
|
Roll back to ext2fs.
|
2015-03-23 17:45:56 +00:00
|
|
|
-l|--label <LABEL>::
|
2012-01-31 13:40:22 +00:00
|
|
|
set filesystem label during conversion.
|
2015-03-23 17:45:56 +00:00
|
|
|
-L|--copy-label::
|
2012-01-31 13:40:22 +00:00
|
|
|
use label from the converted filesystem.
|
2015-03-23 17:45:56 +00:00
|
|
|
-p|--progress::
|
2015-02-27 15:30:05 +00:00
|
|
|
Show progress of conversion, on by default.
|
2015-03-09 10:56:04 +00:00
|
|
|
--no-progress::
|
|
|
|
Disable detailed progress and show only the main phases of conversion.
|
2014-04-02 08:29:28 +00:00
|
|
|
|
|
|
|
EXIT STATUS
|
|
|
|
-----------
|
2014-05-19 15:49:35 +00:00
|
|
|
*btrfs-convert* will return 0 if no error happened.
|
2014-04-02 08:29:28 +00:00
|
|
|
If any problems happened, 1 will be returned.
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
`mkfs.btrfs`(8)
|
|
|
|
|