<?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: lvchange for swap / dump inside Ignite-UX post script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvchange-for-swap-dump-inside-ignite-ux-post-script/m-p/3201669#M627662</link>
    <description>Hi Dave,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; I was just able to run "lvchange -M n -c n /dev/vg00/lvol2" after changing to runlevel 1.&lt;BR /&gt;&lt;BR /&gt;If you can place this command in ignite during boot at the same level it might be possible.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Jov&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 13 May 2004 02:21:46 GMT</pubDate>
    <dc:creator>Jov</dc:creator>
    <dc:date>2004-05-13T02:21:46Z</dc:date>
    <item>
      <title>lvchange for swap / dump inside Ignite-UX post script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvchange-for-swap-dump-inside-ignite-ux-post-script/m-p/3201666#M627659</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have successfully mirrored the root volume in an Ignite-UX post script. Based on the following statement I always modify lvol2.&lt;BR /&gt;&lt;BR /&gt;"When primary swap is mirrored and the primary swap device also serves as a dump area, you must make sure that Mirror Write Cache and Mirror Consistency Recovery is set to off at boot time to avoid loss of your dump."&lt;BR /&gt;&lt;BR /&gt;This can only be done from LVM maintenance mode. &lt;BR /&gt;&lt;BR /&gt;After booting "hpux -lm" I run the command :-&lt;BR /&gt;&lt;BR /&gt;lvchange -M n -c n /dev/vg00/lvol2&lt;BR /&gt;&lt;BR /&gt;and reboot.&lt;BR /&gt;&lt;BR /&gt;Is there a way to get Ignite-UX to handle this?&lt;BR /&gt;&lt;BR /&gt;I've tried running it in the post script and got the message &lt;BR /&gt;&lt;BR /&gt;"lvchange: Couldn't change MirrorWriteCache while Logical Volume is opened &lt;BR /&gt;or being synchronized."&lt;BR /&gt;&lt;BR /&gt;as expected.&lt;BR /&gt;&lt;BR /&gt;Could I configure Ignite to create lvol2 with -M n and -c n when it first creates it?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
      <pubDate>Wed, 25 Feb 2004 06:16:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvchange-for-swap-dump-inside-ignite-ux-post-script/m-p/3201666#M627659</guid>
      <dc:creator>David Burgess</dc:creator>
      <dc:date>2004-02-25T06:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: lvchange for swap / dump inside Ignite-UX post script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvchange-for-swap-dump-inside-ignite-ux-post-script/m-p/3201667#M627660</link>
      <description>I'm not sure there is some kind of preinstallscript for Ignite. &lt;BR /&gt;I only remember postinstall and postconfigure, so I don't have the advice You need.&lt;BR /&gt;&lt;BR /&gt;OTOH...&lt;BR /&gt;This is from rc2:&lt;BR /&gt; S440savecrash&lt;BR /&gt; S500swap_start&lt;BR /&gt; S520syncer&lt;BR /&gt;&lt;BR /&gt;the volumegroup syncronisation starts even later.&lt;BR /&gt;I'd recommend to set FOREGRD=1 in /etc/rc.config.d/savecrash so copying the dump to lvcrash definitely has completed before swapon.&lt;BR /&gt;&lt;BR /&gt;Also, I have a very bad feeling about disabling Write Consistency for memory^H^H^H^H^H^H^H^Hswapspace memory.&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Feb 2004 04:31:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvchange-for-swap-dump-inside-ignite-ux-post-script/m-p/3201667#M627660</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2004-02-26T04:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: lvchange for swap / dump inside Ignite-UX post script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvchange-for-swap-dump-inside-ignite-ux-post-script/m-p/3201668#M627661</link>
      <description>The configuration for lvol2 in the config.full file in the client directory has this entry.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                logical_volume "lvol2"{&lt;BR /&gt;                        mount_point="primary"&lt;BR /&gt;                        disk[_hp_root_disk]&lt;BR /&gt;                        usage=SWAP_DUMP&lt;BR /&gt;                        size=_hp_min_swap |remaining | _hp_pri_swap&lt;BR /&gt;                        bad_block_relocate=FALSE&lt;BR /&gt;                        contiguous_allocation=TRUE&lt;BR /&gt;                        minor_number=0x2&lt;BR /&gt;                } # end logical_volume&lt;BR /&gt;&lt;BR /&gt;Could I add options to this for the changes?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
      <pubDate>Thu, 26 Feb 2004 08:08:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvchange-for-swap-dump-inside-ignite-ux-post-script/m-p/3201668#M627661</guid>
      <dc:creator>David Burgess</dc:creator>
      <dc:date>2004-02-26T08:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: lvchange for swap / dump inside Ignite-UX post script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvchange-for-swap-dump-inside-ignite-ux-post-script/m-p/3201669#M627662</link>
      <description>Hi Dave,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; I was just able to run "lvchange -M n -c n /dev/vg00/lvol2" after changing to runlevel 1.&lt;BR /&gt;&lt;BR /&gt;If you can place this command in ignite during boot at the same level it might be possible.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Jov&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 May 2004 02:21:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvchange-for-swap-dump-inside-ignite-ux-post-script/m-p/3201669#M627662</guid>
      <dc:creator>Jov</dc:creator>
      <dc:date>2004-05-13T02:21:46Z</dc:date>
    </item>
  </channel>
</rss>

