GNU/Linux >> Linux の 問題 >  >> Cent OS

Thin LVM 自動拡張を有効にする方法

質問 :シン LVM ボリュームの自動拡張機能を有効にする方法は?

デフォルトでは、自動延長は「100」に設定されています '

# grep thin_pool_autoextend_threshold /etc/lvm/lvm.conf
# Configuration option activation/thin_pool_autoextend_threshold.
# thin_pool_autoextend_threshold = 70
  thin_pool_autoextend_threshold = 100

これらの設定は、機能が無効になっていることを意味します:

# Configuration option activation/thin_pool_autoextend_threshold.
# Auto-extend a thin pool when its usage exceeds this percent.
# Setting this to 100 disables automatic extension.

自動延長を有効にするには、「thin_pool_autoextend_percent」の両方を変更します ' および 'thin_pool_autoextend_threshold ' 設定:

thin_pool_autoextend_threshold = 70
thin_pool_autoextend_percent   = 20

つまり、プールの使用率が 70% を超えると、さらに 20% 拡張されます。 1G プールの場合、700M を使用すると、1.2G へのサイズ変更がトリガーされます。使用量が 840M を超えると、プールは 1.44G に拡張されます。


Cent OS
  1. CentOS / RHEL 7 で IPv6 を有効にする方法

  2. CentOS / RHEL 5 で IPv6 を有効にする方法

  3. シン LVM ボリュームの自動拡張を有効にする方法

  1. CentOS / RHEL 7 :自動更新を有効または無効にする方法 (パッケージキット経由)

  2. CentOS/RHEL 8 で IPv6 を有効にする方法

  3. Cli Google Drive Client Grive2:自動同期を有効にする方法

  1. VMwareESXiでSSHを有効にする方法

  2. Ubuntu 20.04FocalFossaで自動ログインを有効にする方法

  3. GNOMEシェルで燃えるようなウィンドウを閉じる効果を有効にする方法