A clustered service with an lvm resource fails to start with ""volume_list" not specified in lvm.conf" in a RHEL 5 or 6 High Availability cluster with rgmanager
Issue
- Service with
lvm
resource fails to start with an error about thevolume_list
not being specified
Aug 4 17:40:54 node1 rgmanager[32606]: [lvm] * "volume_list" not specified in lvm.conf.
Aug 4 17:40:54 node1 rgmanager[25043]: start on lvm "myVG" returned 1 (generic error)
- Have a service configured with storage and other resources, the service wont start correctly or fail over and references "improper setup" and no
volume_list
in the logs
Sep 8 14:02:31 node2 clurgmgrd[11362]: <notice> start on lvm "home" returned 1 (generic error)
Sep 8 14:02:31 node2 clurgmgrd[11362]: <warning> #68: Failed to start service:crcpnfs01; return value: 1
Sep 8 14:02:31 node2 clurgmgrd[11362]: <notice> Stopping service service:crcpnfs01
Sep 8 14:02:44 node2 clurgmgrd: [11362]: <err> HA LVM: Improper setup detected
Sep 8 14:02:44 node2 clurgmgrd: [11362]: <err> - "volume_list" not specified in lvm.conf.
Sep 8 14:02:44 node2 clurgmgrd: [11362]: <err> WARNING: An improper setup can cause data corruption!
Environment
- Red Hat Enterprise Linux Server 5 (with the High Availability or Resilient Storage Add Ons)
- Red Hat Enterprise Linux Server 6 (with the High Availability or Resilient Storage Add Ons)
- A LVM resource in cluster.conf. Example:
<lvm lv_name="lvol1" name="home" vg_name="datavg"/>
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.