vProtect: バックアップが「Cannot read from the device: /dev/sdX - vProtectユーザー権限の確認」
Summary: バックアップが「Cannot read from the device /dev/sdX - check vProtect user privileges」という権限の問題で失敗しています。これは、vProtect共有とvProtectユーザーの権限が正しい権限を持っている場合でも発生します。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
バックアップが「Cannot read from the device /dev/sdX - check vProtect user privileges」という権限の問題で失敗しています。これは、vProtect共有とvProtectユーザーの権限が正しい権限を持っている場合でも発生します。
このエラーは、バックアップ用に接続されているディスクが接続解除されていない場合に生成されます。これは、ハイパーバイザーが接続解除要求に対して動作しないか、LVMフィルターが正しく構成されておらず、オペレーティング システムがディスクを保持することが原因である可能性があります。
Cause
/etc/lvl/lvm.confファイルが正しく構成されていません。LVMフィルターは構成されていません。
# cat lvm.conf | grep filter # is used to drive LVM filtering like MD component detection, multipath # Configuration option devices/filter. # Run vgscan after changing the filter to regenerate the cache. # filter = [ "a|.*|" ] # filter = [ "r|/dev/cdrom|" ] # filter = [ "a|loop|", "r|.*|" ] # filter = [ "a|loop|", "r|/dev/hdc|", "a|/dev/ide|", "r|.*|" ] # filter = [ "a|^/dev/hda8$|", "r|.*|" ] # filter = [ "a|.*|" ] # Configuration option devices/global_filter. # Because devices/filter may be overridden from the command line, it is # not suitable for system-wide device filtering, e.g. udev. # Use global_filter to hide devices from these LVM system components. # The syntax is the same as devices/filter. Devices rejected by # global_filter are not opened by LVM. # global_filter = [ "a|.*|" ] # This is a quick way of filtering out block devices that are not # the LVs with device filters. Also, when this setting is enabled, # filtered), which can cause performance problems on systems with # an LV. The LVs are ignored using a built in device filter that # Configuration option activation/mlock_filter. # mlock_filter = [ "locale/locale-archive", "gconv/gconv-modules.cache" ]
オペレーティング システムでは必須であり、必要なドライブはlvm.confファイルの[devices]セクションのフィルターに含まれている必要があります。
Resolution
vProtectノードは、独自のクローンである可能性のあるVMディスクを接続します(たとえば、テンプレートからノードを導入した場合)。ディスクが接続されているLVMボリュームをスキャンしないように、ノードでLVMを構成する必要があります。
- LVMデーモンがシステム ボリュームのみを検出するように、デバイス セクションの/etc/lvm/lvm.confに次の変数を設定します(この例では、2つのパーティションを持つSDAディスク、sda1とsda2)。

図1: /etc/lvm/lvm.confで変数を設定する
- オペレーティング システムボリュームがまだ検出されていることをvgscanで確認します。
-vvv

図2:オペレーティング システム ボリュームが検出されたことを確認します。
- 再起動
Affected Products
vProtectArticle Properties
Article Number: 000218735
Article Type: Solution
Last Modified: 31 Oct 2023
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.