このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
01_linux:13_storage:34_zfs_trim [2022/02/28 20:37] – matsui | 01_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 # | ||
+ | |||
+ | |||
+ | < | ||
+ | # 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. | ||
+ | </ | ||
+ | |||
{{tag> | {{tag> |