From Fedora Project Wiki

Line 3: Line 3:
</noinclude>
</noinclude>
<includeonly>| </includeonly>
<includeonly>| </includeonly>
Migrating a filesystem from Ext4 (or other) to btrfs.  NOTE: Since kernel 4.x, conversions may not work reliably in particular if there are large 1+GiB files present. The convert code is currently undergoing a rewrite. See https://btrfs.wiki.kernel.org/index.php/Conversion_from_Ext3 for more info.
Migrating a filesystem from Ext4 (or other) to btrfs.  NOTE: Since kernel 4.x, conversions may not work reliably, in particular if there are large 1+GiB files present. Data loss is possible. The convert feature is currently undergoing a rewrite. See https://btrfs.wiki.kernel.org/index.php/Conversion_from_Ext3 for more info.


<noinclude>
<noinclude>

Revision as of 20:31, 26 January 2016

Description

Migrating a filesystem from Ext4 (or other) to btrfs. NOTE: Since kernel 4.x, conversions may not work reliably, in particular if there are large 1+GiB files present. Data loss is possible. The convert feature is currently undergoing a rewrite. See https://btrfs.wiki.kernel.org/index.php/Conversion_from_Ext3 for more info.


How to test

  1. Create an ext4 partition
  2. Dump some data on it (large and small files)
  3. yum install btrfs-progs
  4. unmount the ext4 filesystem to be migrated
  5. Run btrfs-convert on the partition
  6. Mount partition
  7. Verify if files are still a) present and b) sane.
  8. Verify if a backup snapshot is created (TODO: Verify that this is default behavior)


Expected Results

  1. btrfs-progs install successfully
  2. btrfs-convert runs successfully
  3. Data should be present and sane