Translated message

A translation of this page exists in English.

LVM ボリュームグループのタイプをクラスタ化にしたり、非クラスタ化にする方法

Solution Verified - Updated -

Issue

  • LVM ボリュームグループのタイプをクラスタ化にしたり、非クラスタ化にする方法は?
  • 別の RHEL5.4 サーバーに Clone LUN をマウントして、データーをサーバーからテープに書き込めるようにする必要があります。ただし、RHEL5.4 server で VG をマウントすると、以下のエラーを取得します。

    # vgimport /dev/mapper/mpath0 
    connect() failed on local socket: Connection refused 
    WARNING: Falling back to local file-based locking. 
    Volume Groups with the clustered attribute will be inaccessible. 
    Skipping clustered volume group vgname</code>
    

Environment

  • Red Hat Enterprise Linux 4
  • Red Hat Enterprise Linux 5
  • クラスタ化された LVM デーモン (CLVMD) は使用されているときもされていないときもあります。
  • 問題となっているボリュームグループには、クラスタ化された属性セットがあります。

    # vgdisplay vgtest --config 'global {locking_type = 0}' | grep Clustered
      WARNING: Locking disabled. Be careful! This could corrupt your metadata.
      Clustered             yes
    

    または、

    # vgs --config 'global {locking_type = 0}'
      WARNING: Locking disabled. Be careful! This could corrupt your metadata.
      VG     #PV #LV #SN Attr   VSize  VFree 
      vgname   1   1   0 wz--nc 96.00M 76.00M       &lt;----- Attr includes the 'c' flag meaning clustered.
    

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content