ユーザ用ツール

サイト用ツール


01_linux:13_storage:34_zfs_trim

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
01_linux:13_storage:34_zfs_trim [2022/02/28 20:37] matsui01_linux:13_storage:34_zfs_trim [2022/03/04 01:56] (現在) matsui
行 31: 行 31:
 | -s |--suspend|指定されたデバイス、またはなにも指定されていないなら、すべての望ましいデバイスで trim をサスペンドします。 \\ 1 つ以上のターゲットデバイスが無効であるか、または現在 trim されていないなら、コマンドは失敗し、あらゆるデバイスでサスペンドは起こりません。 \\ つぎに、trim は、関連するターゲットデバイスにフラグがない zpool trim を実行することによって再開することができます。| | -s |--suspend|指定されたデバイス、またはなにも指定されていないなら、すべての望ましいデバイスで trim をサスペンドします。 \\ 1 つ以上のターゲットデバイスが無効であるか、または現在 trim されていないなら、コマンドは失敗し、あらゆるデバイスでサスペンドは起こりません。 \\ つぎに、trim は、関連するターゲットデバイスにフラグがない zpool trim を実行することによって再開することができます。|
 | -w |--wait|デバイスが返る前に trim されることが終わるまで、待ちます。| | -w |--wait|デバイスが返る前に trim されることが終わるまで、待ちます。|
 +
 +
 +
 +===== Man =====
 +<color #ed1c24>※zpool tirmは手動の方が良いかもと思います。</color>
 +
 +
 +<code>
 +# man zpool
 +Be aware that automatic trimming of recently freed data blocks can put significant stress on the underlying storage devices.
 +This will vary depending of how well the specific device handles these commands.
 +For lower end devices it is often possible to achieve most of the benefits of automatic trimming by running an on-demand (manual) TRIM periodically using the zpool trim command.
 +</code>
 +
 {{tag>ZFS}} {{tag>ZFS}}
01_linux/13_storage/34_zfs_trim.1646080646.txt.gz · 最終更新: 2022/02/28 20:37 by matsui