+ <section xml:id="migrate_backends" condition="l2B">
+ <title>
+ <indexterm>
+ <primary>backup</primary>
+ <secondary>ZFS ZPL</secondary>
+ </indexterm>Migration Between ZFS and ldiskfs Target Filesystems
+ </title>
+ <para>Beginning with Lustre 2.11.0, it is possible to migrate between
+ ZFS and ldiskfs backends. For migrating OSTs, it is best to use
+ <literal>lfs find</literal>/<literal>lfs_migrate</literal> to empty out
+ an OST while the filesystem is in use and then reformat it with the new
+ fstype. For instructions on removing the OST, please see
+ <xref linkend="lustremaint.remove_ost"/>.</para>
+ <section remap="h3" xml:id="migrate_backends.zfs2ldiskfs">
+ <title>
+ <indexterm>
+ <primary>backup</primary>
+ <secondary>ZFS to ldiskfs</secondary>
+ </indexterm>Migrate from a ZFS to an ldiskfs based filesystem</title>
+ <para>The first step of the process is to make a ZFS backend backup
+ using <literal>tar</literal> as described in
+ <xref linkend="backup_fs_level"/>.</para>
+ <para>Next, restore the backup to an ldiskfs-based system as described
+ in <xref linkend="backup_fs_level.restore"/>.</para>
+ </section>
+ <section remap="h3" xml:id="migrate_backends.ldiskfs2zfs">
+ <title>
+ <indexterm>
+ <primary>backup</primary>
+ <secondary>ZFS to ldiskfs</secondary>
+ </indexterm>Migrate from an ldiskfs to a ZFS based filesystem</title>
+ <para>The first step of the process is to make an ldiskfs backend backup
+ using <literal>tar</literal> as described in
+ <xref linkend="backup_fs_level"/>.</para>
+ <para><emphasis role="strong">Caution:</emphasis>For a migration from
+ ldiskfs to zfs, it is required to enable index_backup before the
+ unmount of the target. This is an additional step for a regular
+ ldiskfs-based backup/restore and easy to be missed.</para>
+ <para>Next, restore the backup to an ldiskfs-based system as described
+ in <xref linkend="backup_fs_level.restore"/>.</para>
+ </section>
+ </section>