Serviceguard
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot get disk partition for device /dev/sde Invalid data for cluster lock LUN configuration

SOLVED
Go to solution
vgburguillosg
Occasional Contributor

Cannot get disk partition for device /dev/sde Invalid data for cluster lock LUN configuration

I guys!

 

I have some trouble with my config.

 

I try to configure my sg cluster with 2 nodes, when try to check the config showme the following error.

 

 cmcheckconf -v -C cluster.conf
Begin cluster verification...
Checking cluster file: cluster.conf.
MAX_CONFIGURED_PACKAGES configured to 300.
Checking nodes ... Done
Checking existing configuration ... Done
MAX_CONFIGURED_PACKAGES configured to 300.
Gathering storage information
Found 1 devices on node wamas1
Found 1 devices on node wamas2
Analysis of 2 devices should take approximately 1 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Gathering network information
Beginning network probing (this may take a while)
Completed network probing
Cannot get disk partition for device /dev/sdeInvalid data for cluster lock LUN configuration
Maximum configured packages parameter is 300.
cmcheckconf: Unable to verify cluster file: cluster.conf.

 

My cluster.conf

NODE_NAME               wamas1
  NETWORK_INTERFACE     eth1
    HEARTBEAT_IP        xx.xx.xx.xx
  NETWORK_INTERFACE     eth5
    HEARTBEAT_IP       yy.yy.yy.yy
  NETWORK_INTERFACE     bond0
    STATIONARY_IP       zz.zz.zz.zz
  CLUSTER_LOCK_LUN      /dev/sde


NODE_NAME               wamas2
    NETWORK_INTERFACE     eth1
    HEARTBEAT_IP        xx.xx.xx.xx
  NETWORK_INTERFACE     eth5
    HEARTBEAT_IP       yy.yy.yy.yy
  NETWORK_INTERFACE     bond0
    STATIONARY_IP       zz.zz.zz.zz
  CLUSTER_LOCK_LUN      /dev/sde

 

[root@wamas1 conf]# fdisk -l /dev/sde

Disk /dev/sde: 499 MB, 499974144 bytes
16 heads, 60 sectors/track, 1017 cylinders
Units = cylinders of 960 * 512 = 491520 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 1048576 bytes
Disk identifier: 0xa71b4a14

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1        1017      488130   83  Linux

 

What Can I Do?

 

Regards,

 

VB

2 REPLIES
ckrege
Occasional Visitor

Re: Cannot get disk partition for device /dev/sde Invalid data for cluster lock LUN configuration

Did you check the SG manual how to setup a Lock LUN? You usually only need 1 single block on the disk. You also need to use sfdisk -R <disk> to transfer the partition information to the other cluster node. If you want to use the whole disk for lock LUN purposes, you might require recent SG patches for RHEL depending on the SG version you are using. All this is documented in the SG manual, e.g. on p.151 of Managing HP Serviceguard A.12.00.00 for Linux, March 2014.


vgburguillosg
Occasional Contributor
Solution

Re: Cannot get disk partition for device /dev/sde Invalid data for cluster lock LUN configuration

Solved with the serviceguard 12.0.0 version for linux