1NTFS2BTRFS(8) System Administration NTFS2BTRFS(8)
2
3
4
6 ntfs2btrfs - convert ntfs filesystem to btrfs filesystem
7
9 ntfs2btrfs [options] device
10
12 This is a tool which does in-place conversion of Microsoft's NTFS
13 filesystem to the open-source filesystem Btrfs, much as btrfs-convert
14 does for ext2.
15
17 -c <ALGO>, --compress=<ALGO>
18 Uses the specified algorithm to recompress files that are com‐
19 pressed on the NTFS volume; valid choices are zstd, lzo, zlib, or
20 none. If you don't specify any value, zstd will be used, assuming
21 it's been compiled in.
22
23 -h <ALGO>, --hash=<ALGO>
24 Uses the specified checksumming algorithm; valid choices are
25 crc32c, xxhash, sha256, and blake2. The first of these will be used
26 by default, and should be fine for most purposes.
27
28 -r, --rollback
29 Tries to restore the original NTFS filesystem. See ROLLBACK below.
30
32 The original filesystem image is saved as image/ntfs.img as a reflink
33 copy. You can restore this at any time by using the rollback option,
34 provided that you've not moved the data by doing a balance. Bear in
35 mind that this restores the volume to how it was when you did the con‐
36 version, meaning that any changes you've made since will be lost.
37
38 If you decide to keep the conversion, you can remove the image subvol‐
39 ume at any point to free up space.
40
42 Various bits of NTFS-specific data are stored as Btrfs xattrs, in a
43 manner that the Windows btrfs driver understands
44 (https://github.com/maharmstone/btrfs). Some should also be understood
45 by tools such as Wine and Samba, but YMMV.
46
47 • The NTFS attribute value is stored as a hex string at user.DOSATTRIB.
48
49 • The reparse points on directories are stored at user.reparse. NTFS
50 symlinks should be converted into POSIX symlinks. The data for other
51 reparse points will be stored as the contents of the files.
52
53 • The NT security descriptor is stored as security.NTACL.
54
55 • Alternate data streams on files are stored in the user namespace,
56 e.g. :Zone.Identifier becomes user.Zone.Identifier.
57
59 btrfs(8), mkfs.btrfs(8).
60
62 Written by Mark Harmstone (mark@harmstone.com).
63
64
66 https://github.com/maharmstone/ntfs2btrfs
67
68
69
70ntfs2btrfs 20210923 September 2021 NTFS2BTRFS(8)