[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] LVM locking type 1 error



Title: LVM locking type 1 error

HI all,

I'm testing LVM on a redhat EL 5 with the following configuration :

  * one FSC Primergy server with one dual port Qlogic HBA 2462

  * each Qlogic port is connected to a SAN (dual fabric) 

  * use of device mapper

  * use of LVM to define a mirror disk on two IBM ESS  2105 disks

Everything was fine and worked. I have created the lvm with :

root linprd11 by-id]# lvcreate -L 10G -m1 -n mirror1vg1 

vg1 /dev/mapper/1IBM_2105_41630194 /dev/mapper/1IBM_2105_41630317

/dev/mapper/1IBM_2105_41F30194

 Logical volume "mirror1vg1" created

Sync between the two mirrors was ok :

[root linprd11 by-id]# lvs

 LV         VG   Attr   LSize  Origin Snap%  Move Log             Copy%

 mirror1vg1 vg1  mwi-a- 10.00G                    mirror1vg1_mlog 100.00

Then, I suppress access to one image of the mirror and reboot the Linux server. The boot failed and give the following error message :

    * An error occurred during the file system check. Dropping you to a shell - Give root password for maintenance :

When I try the command lvm -a -o +devices -P , I receive Locking type 1 initialisation failed. If I use the --ignorelockingfailure, I receive :

Partial mode. Incomplete volume groups will be activated read-only.

Couldn't find device with uuid 'HWrd2X-ZeJO-dKoL.......'

  

Can you tell me how I can solve this problem ?

Why is the volume group activated in read-only ?

Why Linux does not continue his boot with only one image of the mirror ?

 

Thanks a lot for your help.

Regards.

Pierre.


Visit our website! http://www.nbb.be "DISCLAIMER: The content of this e-mail message should not be construed as binding on the part of the National Bank of Belgium (NBB) unless otherwise and previously stated. The opinions expressed in this message are solely those of the author and do not necessarily reflect NBB viewpoints, particularly when the content of this message, or part thereof, is private by nature or does not fall within the professional scope of its author."


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]