<?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: which disk is system running from? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337491#M190078</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;as Richard said the right command to verify what is the last boot disk is&lt;BR /&gt;&lt;BR /&gt;# echo 'boot_string/S'|adb /stand/vmunix /dev/mem &lt;BR /&gt;&lt;BR /&gt;You will obtain the hw path of the disk which system booted last time.&lt;BR /&gt;It is important that 'echo boot_string...' and 'lvlnboot' have the same info but I saw that it's correct for you.&lt;BR /&gt;Also you told that setboot is correct too.&lt;BR /&gt;&lt;BR /&gt;Definitively your system booted from primary boot disk.&lt;BR /&gt;Then how to do your sysadm says that the system is running off the alternate boot disk? What does he think that? What commands he launched to tell that?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Fabio</description>
    <pubDate>Wed, 21 Jul 2004 09:59:28 GMT</pubDate>
    <dc:creator>Fabio Ettore</dc:creator>
    <dc:date>2004-07-21T09:59:28Z</dc:date>
    <item>
      <title>which disk is system running from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337482#M190069</link>
      <description>Hi all:&lt;BR /&gt;&lt;BR /&gt;Got a rp7410 running 11.11.&lt;BR /&gt;I have been told that the system is currently running off the alternate boot disk. How can I tell? &lt;BR /&gt;&lt;BR /&gt;I have looked at the info from the kernel and the output is telling me that the system booted from the primary boot disk, the lvlnboot info is correct, the setboot info is correct, etc. The system has been up over 3 months now but the previous sysadm is telling me that the system is running off the alternate boot disk. It did a fail over to the alternate boot disk during 4th of July. But system didn't crash - doesn't system need to bounce to boot/run off the alternate boot disk?  Again, how can I verify?&lt;BR /&gt;&lt;BR /&gt;Many thanks!&lt;BR /&gt;Rick</description>
      <pubDate>Wed, 21 Jul 2004 09:35:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337482#M190069</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-07-21T09:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: which disk is system running from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337483#M190070</link>
      <description>lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;That will tell you configuration and the way its currently booted.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 21 Jul 2004 09:41:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337483#M190070</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-07-21T09:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: which disk is system running from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337484#M190071</link>
      <description>With a good mirror, you dont need to crash reboot to switch over to the mirror.&lt;BR /&gt;&lt;BR /&gt;first, try this to determine which disk your kernel last booted.&lt;BR /&gt;# echo 'boot_string/S'|adb /stand/vmunix /dev/mem&lt;BR /&gt;&lt;BR /&gt;then run lvlnboot -v to get the 2 disk device names, then run pvdisplay -v on each disk and check for stale extents. If you have any, then yes , the system might have switched over, else your ok.</description>
      <pubDate>Wed, 21 Jul 2004 09:43:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337484#M190071</guid>
      <dc:creator>Richard Pereira_1</dc:creator>
      <dc:date>2004-07-21T09:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: which disk is system running from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337485#M190072</link>
      <description>lvlnboot is telling me that primary boot disk is 1st in list. Does this mean it is running the primary disk? If the secondary disk is running the system would lvlnboot list the secondary disk as 1st in the list?</description>
      <pubDate>Wed, 21 Jul 2004 09:45:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337485#M190072</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-07-21T09:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: which disk is system running from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337486#M190073</link>
      <description>i wouldnt trust lvlnboot, it just lists the configs, its not dynamic, try&lt;BR /&gt;&lt;BR /&gt;# echo 'boot_string/S'|adb /stand/vmunix /dev/mem&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jul 2004 09:49:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337486#M190073</guid>
      <dc:creator>Richard Pereira_1</dc:creator>
      <dc:date>2004-07-21T09:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: which disk is system running from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337487#M190074</link>
      <description>The echo boot_string is listing the primary boot disk as the disk the system booted from.</description>
      <pubDate>Wed, 21 Jul 2004 09:51:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337487#M190074</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-07-21T09:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: which disk is system running from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337488#M190075</link>
      <description>Richard has it:&lt;BR /&gt;&lt;BR /&gt;echo 'boot_string/S'|adb /stand/vmunix /dev/mem&lt;BR /&gt;&lt;BR /&gt;lvlnboot -v /dev/vg00&lt;BR /&gt;&lt;BR /&gt;justs prints information on root, boot, swap, and dump logical volumes.&lt;BR /&gt;&lt;BR /&gt;Example, on mine:&lt;BR /&gt;&lt;BR /&gt;# echo 'boot_string/S'|adb /stand/vmunix /dev/mem&lt;BR /&gt;boot_string:&lt;BR /&gt;boot_string:    disk(1/0/0/3/0.6.0.0.0.0.0;0)/stand/vmunix&lt;BR /&gt;&lt;BR /&gt;Yet:&lt;BR /&gt;&lt;BR /&gt;lvlnboot -v /dev/vg00&lt;BR /&gt;Boot Definitions for Volume Group /dev/vg00:&lt;BR /&gt;Physical Volumes belonging in Root Volume Group:&lt;BR /&gt;        /dev/dsk/c28t5d0 (0/0/0/3/0.5.0) -- Boot Disk&lt;BR /&gt;        /dev/dsk/c0t6d0 (1/0/0/3/0.6.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c28t5d0&lt;BR /&gt;                        /dev/dsk/c0t6d0&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c28t5d0&lt;BR /&gt;                        /dev/dsk/c0t6d0&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c28t5d0&lt;BR /&gt;                        /dev/dsk/c0t6d0&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c0t6d0, 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Second disk listed in lvlnboot is where I booted from.&lt;BR /&gt;&lt;BR /&gt;Try not to think of having a primary/secondary disk - think of it as 2 disks mirrored - both are identical.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 21 Jul 2004 09:53:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337488#M190075</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-07-21T09:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: which disk is system running from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337489#M190076</link>
      <description>Probably the best bet is to ask the kernel itself:&lt;BR /&gt;&lt;BR /&gt;echo "boot_string/s" | adb /stand/vmunix /dev/kmem&lt;BR /&gt;&lt;BR /&gt;That will tell you which disk the system actually booted from but it won't tell you which disk the the system is actually using because the answer is probably both -- with reads being satisfied from either mirror and writes being written to both.&lt;BR /&gt;&lt;BR /&gt;If the primary boot disk fails the system will happily continue to run using the mirrored LVOLS. You can then replace the primary boot boot and as long as you carefully follow the mirrored boot disk replacement steps there is no need to shutdown. I have not shutdown to replace a disk (including boot and boot alternates) in well over 5 years.</description>
      <pubDate>Wed, 21 Jul 2004 09:53:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337489#M190076</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-07-21T09:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: which disk is system running from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337490#M190077</link>
      <description>The best way to confirm is using&lt;BR /&gt;&lt;BR /&gt;#echo 'boot_string/S'|adb /stand/vmunix /dev/mem&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jul 2004 09:58:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337490#M190077</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-07-21T09:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: which disk is system running from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337491#M190078</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;as Richard said the right command to verify what is the last boot disk is&lt;BR /&gt;&lt;BR /&gt;# echo 'boot_string/S'|adb /stand/vmunix /dev/mem &lt;BR /&gt;&lt;BR /&gt;You will obtain the hw path of the disk which system booted last time.&lt;BR /&gt;It is important that 'echo boot_string...' and 'lvlnboot' have the same info but I saw that it's correct for you.&lt;BR /&gt;Also you told that setboot is correct too.&lt;BR /&gt;&lt;BR /&gt;Definitively your system booted from primary boot disk.&lt;BR /&gt;Then how to do your sysadm says that the system is running off the alternate boot disk? What does he think that? What commands he launched to tell that?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Fabio</description>
      <pubDate>Wed, 21 Jul 2004 09:59:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337491#M190078</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2004-07-21T09:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: which disk is system running from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337492#M190079</link>
      <description>There you have it, the people have spoken! ;-)&lt;BR /&gt;For now it seems you booted off the primairy, but check for stale extents, check that both drives are claimed...</description>
      <pubDate>Wed, 21 Jul 2004 10:00:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337492#M190079</guid>
      <dc:creator>Richard Pereira_1</dc:creator>
      <dc:date>2004-07-21T10:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: which disk is system running from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337493#M190080</link>
      <description>Richard:&lt;BR /&gt;&lt;BR /&gt;I have no doubts about what was being posted - I did all tese commands previously before I posted. My issue is that I being told something that I cannot confirm - I do not profess to know all the answers so I come here to get additional info. In this case I am correct, I do not see any questionable issues with the system boot. But I want to make sure I am not missing something else that I may not be aware of.&lt;BR /&gt;&lt;BR /&gt;Many thanks to all!</description>
      <pubDate>Wed, 21 Jul 2004 10:08:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337493#M190080</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-07-21T10:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: which disk is system running from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337494#M190081</link>
      <description>No problem, you wanted to double check what the other admin told you.</description>
      <pubDate>Wed, 21 Jul 2004 10:23:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-is-system-running-from/m-p/3337494#M190081</guid>
      <dc:creator>Richard Pereira_1</dc:creator>
      <dc:date>2004-07-21T10:23:05Z</dc:date>
    </item>
  </channel>
</rss>

