<?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: Auto VG activation issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-vg-activation-issue/m-p/5267844#M659829</link>
    <description>Thanks for your response.&lt;BR /&gt;&lt;BR /&gt;The only related entry in /etc/rc.log is that the VG is not active and fails to mount the filesystems:&lt;BR /&gt;&lt;BR /&gt;Mount file systems&lt;BR /&gt;Output from "/sbin/rc1.d/S100localmount start":&lt;BR /&gt;----------------------------&lt;BR /&gt;mountall: cannot mount /dev/vg_cla_99/var_opt_perfdata&lt;BR /&gt;mountall: diagnostics from mount&lt;BR /&gt;UX:vxfs mount: ERROR: V-3-20003: Cannot open /dev/vg_cla_99/var_opt_perfdata: No such device or address&lt;BR /&gt;UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version&lt;BR /&gt;&lt;BR /&gt;There is nothing regrading a boot-time activation attempt before that.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I can activate the VG manually with no problems and mount the filesystems.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The cluster attribute is not set on vg_cla_99.</description>
    <pubDate>Wed, 29 Dec 2010 18:00:36 GMT</pubDate>
    <dc:creator>clober-sj</dc:creator>
    <dc:date>2010-12-29T18:00:36Z</dc:date>
    <item>
      <title>Auto VG activation issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-vg-activation-issue/m-p/5267842#M659827</link>
      <description>I'm running SG 11.20 on HPUX 11.31 and I have two VG's that I do need mounted at boot time.&lt;BR /&gt;&lt;BR /&gt;In /etc/lvmrc I set:&lt;BR /&gt;&lt;BR /&gt;AUTO_VG_ACTIVATE=0&lt;BR /&gt;&lt;BR /&gt;and updated:&lt;BR /&gt;custom_vg_activation()&lt;BR /&gt;{&lt;BR /&gt;/sbin/vgchange -a y -s /dev/vg00&lt;BR /&gt;/sbin/vgchange -a y -s /dev/vg_cla_99&lt;BR /&gt;parallel_vg_sync "/dev/vg00 /dev/vg_cla_99"&lt;BR /&gt;&lt;BR /&gt;return 0&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;but upon reboot vg_cla_99 is not active:&lt;BR /&gt;&lt;BR /&gt;# vgdisplay vg_cla_99&lt;BR /&gt;vgdisplay: Volume group not activated.&lt;BR /&gt;vgdisplay: Cannot display volume group "vg_cla_99".&lt;BR /&gt;&lt;BR /&gt;Am I missing something?&lt;BR /&gt;&lt;BR /&gt;The other VG's activate properly when the cluster package starts.&lt;BR /&gt;&lt;BR /&gt;Full /etc/lvmrc attached.</description>
      <pubDate>Wed, 29 Dec 2010 16:34:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-vg-activation-issue/m-p/5267842#M659827</guid>
      <dc:creator>clober-sj</dc:creator>
      <dc:date>2010-12-29T16:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Auto VG activation issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-vg-activation-issue/m-p/5267843#M659828</link>
      <description>Look into /etc/rc.log to find the error message produced by the boot-time activation attempt.&lt;BR /&gt;&lt;BR /&gt;What happens if you try to activate it manually?&lt;BR /&gt;&lt;BR /&gt;Does vg_cla_99 have the cluster attribute set?&lt;BR /&gt;&lt;BR /&gt;Cluster VGs cannot be activated that early in the boot sequence. Cluster VGs can be activated only after Serviceguard has started and the node has successfully joined the cluster.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 29 Dec 2010 17:35:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-vg-activation-issue/m-p/5267843#M659828</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-12-29T17:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Auto VG activation issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-vg-activation-issue/m-p/5267844#M659829</link>
      <description>Thanks for your response.&lt;BR /&gt;&lt;BR /&gt;The only related entry in /etc/rc.log is that the VG is not active and fails to mount the filesystems:&lt;BR /&gt;&lt;BR /&gt;Mount file systems&lt;BR /&gt;Output from "/sbin/rc1.d/S100localmount start":&lt;BR /&gt;----------------------------&lt;BR /&gt;mountall: cannot mount /dev/vg_cla_99/var_opt_perfdata&lt;BR /&gt;mountall: diagnostics from mount&lt;BR /&gt;UX:vxfs mount: ERROR: V-3-20003: Cannot open /dev/vg_cla_99/var_opt_perfdata: No such device or address&lt;BR /&gt;UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version&lt;BR /&gt;&lt;BR /&gt;There is nothing regrading a boot-time activation attempt before that.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I can activate the VG manually with no problems and mount the filesystems.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The cluster attribute is not set on vg_cla_99.</description>
      <pubDate>Wed, 29 Dec 2010 18:00:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-vg-activation-issue/m-p/5267844#M659829</guid>
      <dc:creator>clober-sj</dc:creator>
      <dc:date>2010-12-29T18:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Auto VG activation issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-vg-activation-issue/m-p/5267845#M659830</link>
      <description>did you check /etc/rc.log right after the reboot and right after the vg fail to be activated. There has to be a reason why it fails. Maybe an invisible character in the lvmrc file, since you can activate it manually ? Just guessing here.</description>
      <pubDate>Wed, 29 Dec 2010 18:04:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-vg-activation-issue/m-p/5267845#M659830</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2010-12-29T18:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Auto VG activation issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-vg-activation-issue/m-p/5267846#M659831</link>
      <description>Ok - I'll keep looking but at least it seems I have everything configured correctly.  Thanks.</description>
      <pubDate>Wed, 29 Dec 2010 18:25:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-vg-activation-issue/m-p/5267846#M659831</guid>
      <dc:creator>clober-sj</dc:creator>
      <dc:date>2010-12-29T18:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Auto VG activation issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-vg-activation-issue/m-p/5267847#M659832</link>
      <description>&lt;BR /&gt;With the help of HP support:&lt;BR /&gt;&lt;BR /&gt;- vg_cla_99 is not mirrored so removed the -s&lt;BR /&gt;- removed the parallel_vg_sync function call&lt;BR /&gt;- remove the newline between the vgchange and return 0&lt;BR /&gt;&lt;BR /&gt;custom_vg_activation()&lt;BR /&gt;{&lt;BR /&gt;        # e.g. /sbin/vgchange -a y -s&lt;BR /&gt;        #      parallel_vg_sync "/dev/vg00 /dev/vg01"&lt;BR /&gt;        #      parallel_vg_sync "/dev/vg02 /dev/vg03"&lt;BR /&gt;&lt;BR /&gt;        /sbin/vgchange -a y /dev/vg_cla_99&lt;BR /&gt;        return 0&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;and it worked!&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Dec 2010 14:10:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-vg-activation-issue/m-p/5267847#M659832</guid>
      <dc:creator>clober-sj</dc:creator>
      <dc:date>2010-12-30T14:10:30Z</dc:date>
    </item>
  </channel>
</rss>

