<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Query: sgxl node - systemd: Starting Activation of LVM2 logical volumes in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sgxl-node-systemd-starting-activation-of-lvm2-logical-volumes/m-p/7169883#M57014</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;SPAN&gt;Option one -&amp;nbsp;&amp;nbsp;disable the lvm2 metadata daemon&lt;/SPAN&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;RHEL docs -&amp;nbsp;LVM is configured to make use of the daemon when the&amp;nbsp;global/use_lvmetad&amp;nbsp;variable is set to 1 in the&amp;nbsp;lvm.conf&amp;nbsp;configuration file. This is the default value.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Our setting in lvm.conf:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;global/use_lvmetad = 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;global/locking_type = 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;systemctl&amp;nbsp; status&lt;/STRONG&gt;&lt;EM&gt;&lt;BR /&gt;● lvm2-lvmetad.service&lt;BR /&gt;Loaded: masked (/dev/null; bad)&lt;BR /&gt;Active: inactive (dead)&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;option two -&amp;nbsp;&lt;I&gt;locking_dir&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;in /etc/lvm/lvm.conf is set correctly&lt;BR /&gt;locking_dir = "/run/lock/lvm".&lt;BR /&gt;&lt;/SPAN&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is very likely that the basic settings on the cluster node comply with the recommendations.&amp;nbsp; What else can I check?&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jul 2022 20:01:57 GMT</pubDate>
    <dc:creator>Pathfinder76</dc:creator>
    <dc:date>2022-07-05T20:01:57Z</dc:date>
    <item>
      <title>sgxl node - systemd: Starting Activation of LVM2 logical volumes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sgxl-node-systemd-starting-activation-of-lvm2-logical-volumes/m-p/7169875#M57012</link>
      <description>&lt;P&gt;Hello, teams.&amp;nbsp;&lt;BR /&gt;I have a question that I couldn't find an answer to in the documentation:&amp;nbsp;what effect does the mechanism of automatic activation of logical volumes detected when scanning disks by the server at OS startup have?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;RHEL -&amp;nbsp;Controlling autoactivation of logical volumes&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Autoactivation of a logical volume refers to the event-based automatic activation of a logical volume during system startup. As devices become available on the system (device online events),&amp;nbsp;systemd/udev&amp;nbsp;runs the&amp;nbsp;lvm2-pvscan&amp;nbsp;service for each device. This service runs the&amp;nbsp;pvscan --cache -aay&amp;nbsp;&lt;SPAN class=""&gt;device&lt;/SPAN&gt;&amp;nbsp;command, which reads the named device. If the device belongs to a volume group, the&amp;nbsp;pvscan&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp;command will check if all of the physical volumes for that volume group are present on the system. If so, the command will activate logical volumes in that volume group.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the "Managing HPE Serviceguard for Linux" described " &lt;SPAN class=""&gt;Enabling Volume Group Activation Protection&lt;/SPAN&gt;",&amp;nbsp;which has no effect on the mechanism described above - when the server starts, all available logical volumes are activated (part of messages - &lt;FONT color="#FF6600"&gt;local VG&lt;FONT color="#000000"&gt;, all other VGs&amp;nbsp; - shared&lt;/FONT&gt;&lt;/FONT&gt;&lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:53 nodename systemd: Started LVM2 PV scan on device 253:17.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:53 nodename systemd: Started LVM2 PV scan on device 253:15.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:53 nodename lvm: 1 logical volume(s) in volume group "vg_db_dmzdb_data18" now active&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF6600"&gt;&lt;EM&gt;Jun 9 16:46:53 nodename lvm: 10 logical volume(s) in volume group "rhel" now active&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:53 nodename lvm: 1 logical volume(s) in volume group "vg_db_dmzdb_data17" now active&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:53 nodename lvm: 1 logical volume(s) in volume group "vg_db_dmzdb_data14" now active&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:54 nodename lvm: 1 logical volume(s) in volume group "vg_db_dmzdb_data10" now active&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:54 nodename lvm: 1 logical volume(s) in volume group "vg_db_dmzdb_data09" now active&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:54 nodename lvm: 1 logical volume(s) in volume group "vg_db_dmzdb_data20" now active&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:54 nodename lvm: 1 logical volume(s) in volume group "vg_db_dmzdb_data06" now active&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:54 nodename lvm: 9 logical volume(s) in volume group "vg_db_dmzdb_data01" now active&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:54 nodename lvm: 1 logical volume(s) in volume group "vg_db_dmzdb_data03" now active&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:54 nodename lvm: 1 logical volume(s) in volume group "vg_db_dmzdb_data13" now active&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:54 nodename systemd: Started Activation of LVM2 logical volumes.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:54 nodename systemd: Found device /dev/mapper/rhel-home.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:54 nodename systemd: Found device /dev/mapper/rhel-var.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:54 nodename systemd: Found device /dev/mapper/rhel-var_log.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:54 nodename systemd: Found device /dev/mapper/rhel-var_log_audit.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:54 nodename systemd: Found device /dev/mapper/rhel-var_log_rootsh.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:54 nodename systemd: Found device /dev/mapper/rhel-var_tmp.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:54 nodename systemd: Found device /dev/mapper/rhel-app_log.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:54 nodename systemd: Found device /dev/mapper/rhel-u01.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:54 nodename systemd: Reached target Local Encrypted Volumes.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Jun 9 16:46:54 nodename systemd: Starting Activation of LVM2 logical volumes...&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do I need to additionally modify lvm parameters on cluster nodes to avoid automatic activation of logical volumes?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 12:00:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sgxl-node-systemd-starting-activation-of-lvm2-logical-volumes/m-p/7169875#M57012</guid>
      <dc:creator>Pathfinder76</dc:creator>
      <dc:date>2022-07-13T12:00:03Z</dc:date>
    </item>
    <item>
      <title>Query: sgxl node - systemd: Starting Activation of LVM2 logical volumes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sgxl-node-systemd-starting-activation-of-lvm2-logical-volumes/m-p/7169878#M57013</link>
      <description>&lt;P style="margin: 0;"&gt;&lt;STRONG&gt;System recommended content:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;1. &lt;A href="https://hpe.to/6607zW0C5" target="_blank" rel="noopener"&gt;Managing HPE Serviceguard for Linux A.12.80.00 |  Creating the Logical Volume Infrastructure&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;2. &lt;A href="https://hpe.to/6608zW0Cg" target="_blank" rel="noopener"&gt;Red Hat Enterprise Linux 7 - systemd lvm2-activation.service Failed to Start Up&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Please click on "Thumbs Up/Kudo" icon to give a "Kudo".&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Thank you for being a HPE valuable community member.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 19:05:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sgxl-node-systemd-starting-activation-of-lvm2-logical-volumes/m-p/7169878#M57013</guid>
      <dc:creator>support_s</dc:creator>
      <dc:date>2022-07-05T19:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Query: sgxl node - systemd: Starting Activation of LVM2 logical volumes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sgxl-node-systemd-starting-activation-of-lvm2-logical-volumes/m-p/7169883#M57014</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;SPAN&gt;Option one -&amp;nbsp;&amp;nbsp;disable the lvm2 metadata daemon&lt;/SPAN&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;RHEL docs -&amp;nbsp;LVM is configured to make use of the daemon when the&amp;nbsp;global/use_lvmetad&amp;nbsp;variable is set to 1 in the&amp;nbsp;lvm.conf&amp;nbsp;configuration file. This is the default value.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Our setting in lvm.conf:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;global/use_lvmetad = 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;global/locking_type = 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;systemctl&amp;nbsp; status&lt;/STRONG&gt;&lt;EM&gt;&lt;BR /&gt;● lvm2-lvmetad.service&lt;BR /&gt;Loaded: masked (/dev/null; bad)&lt;BR /&gt;Active: inactive (dead)&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;option two -&amp;nbsp;&lt;I&gt;locking_dir&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;in /etc/lvm/lvm.conf is set correctly&lt;BR /&gt;locking_dir = "/run/lock/lvm".&lt;BR /&gt;&lt;/SPAN&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is very likely that the basic settings on the cluster node comply with the recommendations.&amp;nbsp; What else can I check?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 20:01:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sgxl-node-systemd-starting-activation-of-lvm2-logical-volumes/m-p/7169883#M57014</guid>
      <dc:creator>Pathfinder76</dc:creator>
      <dc:date>2022-07-05T20:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Query: sgxl node - systemd: Starting Activation of LVM2 logical volumes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sgxl-node-systemd-starting-activation-of-lvm2-logical-volumes/m-p/7169884#M57015</link>
      <description>&lt;P&gt;I have some thought:&amp;nbsp;&lt;/P&gt;&lt;P&gt;we use parameter&amp;nbsp;&lt;SPAN&gt;activation/volume_list for c&lt;/SPAN&gt;ontrolling logical volume activation, but we need control too auto vg activation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;HP-UX cluster has parameter in the file /etc/lvmrc =&amp;nbsp; &lt;SPAN class=""&gt;AUTO_VG_ACTIVATE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;In the Linux we can use similar parameter&amp;nbsp; -&amp;nbsp;&lt;SPAN&gt;activation/auto_activation_volume_list.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class=""&gt;Setting&amp;nbsp;auto_activation_volume_list&amp;nbsp;to an empty list disables autoactivation entirely. Setting&amp;nbsp;auto_activation_volume_list&amp;nbsp;to specific logical volumes and volume groups limits autoactivation to those logical volumes.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;What do you think about this?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 20:40:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sgxl-node-systemd-starting-activation-of-lvm2-logical-volumes/m-p/7169884#M57015</guid>
      <dc:creator>Pathfinder76</dc:creator>
      <dc:date>2022-07-05T20:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Query: sgxl node - systemd: Starting Activation of LVM2 logical volumes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sgxl-node-systemd-starting-activation-of-lvm2-logical-volumes/m-p/7170115#M57016</link>
      <description>&lt;P&gt;In lvm.conf file you can mention which vgs should be activated at the boot time.&lt;/P&gt;&lt;P&gt;Exclude cluster volume group activation, when the serviceguard activates the volume group it will assign tags to the volume group, if a cluster volume group is activated without tags then there is a chance that data might be corrupted.&lt;/P&gt;&lt;P&gt;Disable lvmetad, as per the serviceguard manual mentioned&lt;/P&gt;&lt;P&gt;&lt;A href="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_logical_volumes/assembly_lvm-activation-configuring-and-managing-logical-volumes#proc_controlling-logical-volume-activation-lvm-activation" target="_blank" rel="noopener"&gt;https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_logical_volumes/assembly_lvm-activation-configuring-and-managing-logical-volumes#proc_controlling-logical-volume-activation-lvm-activation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;12.2.&amp;nbsp;Controlling logical volume activation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 04:53:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sgxl-node-systemd-starting-activation-of-lvm2-logical-volumes/m-p/7170115#M57016</guid>
      <dc:creator>avd437</dc:creator>
      <dc:date>2022-07-08T04:53:14Z</dc:date>
    </item>
  </channel>
</rss>

