pvscan --activate: `コマンドはオプションを受け入れません: --activate ay。 `

pvscan --activate: `コマンドはオプションを受け入れません: --activate ay。 `

どのように活用するかを見てみましょうpvscan --activate

これマニュアルページ説明する:

   -a|--activate y|n|ay
          Auto-activate LVs in a VG when the PVs scanned have completed
          the VG.  (Only ay is applicable.)

私は試した:

# pvscan --activate y                   
  Command does not accept option: --activate y.
# pvscan --activate n
  Command does not accept option: --activate n.
# pvscan --activate ay
  Command does not accept option: --activate ay.
# pvscan --activate
pvscan: option '--activate' requires an argument
  Error during parsing of command line.

私は走っています:

# pvscan --version
  LVM version:     2.02.173(2) (2017-07-20)
  Library version: 1.02.142 (2017-07-20)
  Driver version:  4.35.0
  Configuration:   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin --with-udev-prefix=/usr --with-systemdsystemunitdir=/usr/lib/systemd/system --with-default-pid-dir=/run --with-default-dm-run-dir=/run --with-default-run-dir=/run/lvm --enable-pkgconfig --enable-readline --enable-dmeventd --enable-cmdlib --enable-applib --enable-udev_sync --enable-udev_rules --with-default-locking-dir=/run/lock/lvm --enable-lvmetad --with-thin=internal --with-cache=internal --enable-udev-systemd-background-jobs

どうやって電話しますかpvscan --activate

ベストアンサー1

推奨事項マニュアルページ推奨事項は--activate以下にのみ適用されます。--cache

pvscan --cache
       [ -b|--background ]
       [ -a|--activate ay ]
       [ -j|--major Number ]
       [    --minor Number ]
       [ COMMON_OPTIONS ]
       [ String|PV ... ]

おすすめ記事