From Fedora Project Wiki
Chrismurphy (talk | contribs) |
Chrismurphy (talk | contribs) |
||
Line 3: | Line 3: | ||
</noinclude> | </noinclude> | ||
<includeonly>| </includeonly> | <includeonly>| </includeonly> | ||
Migrating a filesystem from Ext4 (or other) to btrfs. NOTE: | Migrating a filesystem from Ext4 (or other) to btrfs. NOTE: Convert has been rewritten since btrfs-progs 4.6; and rollback has been reworked in btrfs-progs 4.10.1. | ||
See https://btrfs.wiki.kernel.org/index.php/Conversion_from_Ext3 for more info. | |||
<noinclude> | <noinclude> | ||
Revision as of 16:28, 17 March 2017
Description
Migrating a filesystem from Ext4 (or other) to btrfs. NOTE: Convert has been rewritten since btrfs-progs 4.6; and rollback has been reworked in btrfs-progs 4.10.1. See https://btrfs.wiki.kernel.org/index.php/Conversion_from_Ext3 for more info.
How to test
- Create an ext4 partition
- Dump some data on it (large and small files)
- yum install btrfs-progs
- unmount the ext4 filesystem to be migrated
- Run btrfs-convert on the partition
- Mount partition
- Verify if files are still a) present and b) sane.
- Verify if a backup snapshot is created (TODO: Verify that this is default behavior)
Expected Results
- btrfs-progs install successfully
- btrfs-convert runs successfully
- Data should be present and sane