<?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: How to detect swap space under ignite-ux shell in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-swap-space-under-ignite-ux-shell/m-p/3806818#M508559</link>
    <description>Could someone help me on this? Thanks!</description>
    <pubDate>Thu, 06 Jul 2006 14:00:22 GMT</pubDate>
    <dc:creator>Sunny_Zhang</dc:creator>
    <dc:date>2006-07-06T14:00:22Z</dc:date>
    <item>
      <title>How to detect swap space under ignite-ux shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-swap-space-under-ignite-ux-shell/m-p/3806817#M508558</link>
      <description>This question is out of curiosity. I booted my server into ignite-ux shell. I guess it is similar to single user mode except the system utilities availabilities. Then I did vgscan, vgimport to recreate my root volume group. After that, I ran lvlnboot -v, and got the following output:&lt;BR /&gt;&lt;BR /&gt;# lvlnboot -v&lt;BR /&gt;Boot Definitions for Volume Group /dev/vgboot:&lt;BR /&gt;Physical Volumes belonging in Root Volume Group:&lt;BR /&gt;        /dev/dsk/c1t15d0 (0/0/1/1.15.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c1t15d0&lt;BR /&gt;Root: ???       on:     /dev/dsk/c1t15d0&lt;BR /&gt;Swap: ???       on:     /dev/dsk/c1t15d0&lt;BR /&gt;Dump: ???       on:     /dev/dsk/c1t15d0, 0&lt;BR /&gt;&lt;BR /&gt;it looks like it don't how which volume is used as swap. I thought the primary swap area is stored in the boot data reserved area (BDRA) in the LVM structures on disk. How can lvlnboot can not figure it out? I guess I can check the minor number of the each volume device file under vgboot. The second one (minor==2) should be the swap space (primary one). Am I correct?&lt;BR /&gt;&lt;BR /&gt;Here comes more tricky question. How about secondary swap space? I did more experimental. I mounted my /dev/vgboot/lvol3 (root volume) to /ROOT, and there are two files under /etc/lvmconf:&lt;BR /&gt;1) vgboot.conf &lt;BR /&gt;2) vgdata.conf&lt;BR /&gt;&lt;BR /&gt;I performed strinsg on both conf files, and the output is the following:&lt;BR /&gt;&lt;BR /&gt;1) strings vgboot.conf:&lt;BR /&gt;CONFIG01&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/rdsk/c1t15d0&lt;BR /&gt;LVMREC01n&lt;BR /&gt;HPLVMBDRDZ&lt;BR /&gt;VGDA0001&lt;BR /&gt;VGSA0001DZ&lt;BR /&gt;&lt;BR /&gt;Question: is "HPLVMBDRD" indicate this vg is root vg? what "VGSA0001DZ" means here?&lt;BR /&gt;&lt;BR /&gt;2) strings vgdata.conf&lt;BR /&gt;CONFIG01&lt;BR /&gt;/dev/vgdata&lt;BR /&gt;/dev/rdsk/c0t0d0&lt;BR /&gt;LVMREC01n&lt;BR /&gt;YE0VGDA0001&lt;BR /&gt;VGSA0001D[&lt;BR /&gt;&lt;BR /&gt;Question: what "VGSA0001DZ" means here? swap? since it is not root vg, it should be secondary swap, am I right? also what "YE0VGDA0001" means? &lt;BR /&gt;&lt;BR /&gt;Here is another tricky question. If it is not LVM device swap like I mentioned above, it is whole disk swap, how can I figure out at this stage? I used swapinfo, but it tells nothing about swap device name. I guess it only works after using swapon to enable the swap space. Then is there any way I can detect such swap space under ignite-ux shell?&lt;BR /&gt;&lt;BR /&gt;Anyway, on Solaris, we can do prtvtoc to find the swap space, but there is no such command under HP-UX. Can someone throw some lights on this? Thanks!</description>
      <pubDate>Thu, 15 Jun 2006 20:04:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-swap-space-under-ignite-ux-shell/m-p/3806817#M508558</guid>
      <dc:creator>Sunny_Zhang</dc:creator>
      <dc:date>2006-06-15T20:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to detect swap space under ignite-ux shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-swap-space-under-ignite-ux-shell/m-p/3806818#M508559</link>
      <description>Could someone help me on this? Thanks!</description>
      <pubDate>Thu, 06 Jul 2006 14:00:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-swap-space-under-ignite-ux-shell/m-p/3806818#M508559</guid>
      <dc:creator>Sunny_Zhang</dc:creator>
      <dc:date>2006-07-06T14:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to detect swap space under ignite-ux shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-swap-space-under-ignite-ux-shell/m-p/3806819#M508560</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I think VGSA0001DZ is a temporary file created during the Ignite process.&lt;BR /&gt;&lt;BR /&gt;This seems to be an interupted ignite installation.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 06 Jul 2006 14:16:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-swap-space-under-ignite-ux-shell/m-p/3806819#M508560</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-07-06T14:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to detect swap space under ignite-ux shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-swap-space-under-ignite-ux-shell/m-p/3806820#M508561</link>
      <description>Not sure about your "ignite shell".&lt;BR /&gt;If you are talking about booting from a CD and run a recovery shell, the system is using a ramdisk, like other systems (linux) do while booting from a read-only media. Now there are filesystems on the ramdisk and on the real disk.&lt;BR /&gt;&lt;BR /&gt;If you want to fix LVM settings, you should boot from the boot disk in LVM maintenance mode (ISL&amp;gt; hpux -lm).</description>
      <pubDate>Fri, 07 Jul 2006 07:39:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-swap-space-under-ignite-ux-shell/m-p/3806820#M508561</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2006-07-07T07:39:39Z</dc:date>
    </item>
  </channel>
</rss>

