NTFS2BTRFS(8) | System Administration | NTFS2BTRFS(8) |
ntfs2btrfs - convert ntfs filesystem to btrfs filesystem
ntfs2btrfs [options] device
This is a tool which does in-place conversion of Microsoft's NTFS filesystem to the open-source filesystem Btrfs, much as btrfs-convert does for ext2.
-c <ALGO>, --compress=<ALGO>
-h <ALGO>, --hash=<ALGO>
-r, --rollback
-d, --no-datasum
The original filesystem image is saved as image/ntfs.img as a reflink copy. You can restore this at any time by using the rollback option, provided that you've not moved the data by doing a balance. Bear in mind that this restores the volume to how it was when you did the conversion, meaning that any changes you've made since will be lost.
If you decide to keep the conversion, you can remove the image subvolume at any point to free up space.
Various bits of NTFS-specific data are stored as Btrfs xattrs, in a manner that the Windows btrfs driver understands (https://github.com/maharmstone/btrfs). Some should also be understood by tools such as Wine and Samba, but YMMV.
Written by Mark Harmstone (mark@harmstone.com).
August 2022 | ntfs2btrfs 20220812 |