- <para>If there is a need to migrate the file <emphasis>data</emphasis>
- from the current OST(s) to new OST(s), the data must be migrated (copied)
- to the new location. The simplest way to do this is to use the
- <literal>lfs_migrate</literal> command, see
- <xref linkend="dbdoclet.lfs_migrate" />.</para>
- </section>
- <section remap="h3">
- <title>
- <indexterm>
- <primary>I/O</primary>
- <secondary>bringing OST online</secondary>
- </indexterm>
- <indexterm>
- <primary>maintenance</primary>
- <secondary>bringing OST online</secondary>
- </indexterm>Returning an Inactive OST Back Online</title>
- <para>Once the deactivated OST(s) no longer are severely imbalanced, due
- to either active or passive data redistribution, they should be
- reactivated so they will again have new files allocated on them.</para>
- <screen>
-[mds]# lctl --device 7 activate
-[mds]# lctl dl
- 0 UP mgs MGS MGS 9
- 1 UP mgc MGC192.168.0.10@tcp e384bb0e-680b-ce25-7bc9-816dd1e813 5
- 2 UP mdt MDS MDS_uuid 3
- 3 UP lov testfs-mdtlov testfs-mdtlov_UUID 4
- 4 UP mds testfs-MDT0000 testfs-MDT0000_UUID 5
- 5 UP osc testfs-OST0000-osc testfs-mdtlov_UUID 5
- 6 UP osc testfs-OST0001-osc testfs-mdtlov_UUID 5
- 7 UP osc testfs-OST0002-osc testfs-mdtlov_UUID 5
- 8 UP osc testfs-OST0003-osc testfs-mdtlov_UUID 5
- 9 UP osc testfs-OST0004-osc testfs-mdtlov_UUID 5
- 10 UP osc testfs-OST0005-osc testfs-mdtlov_UUID
-</screen>