<?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 i booted from? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649104#M45618</link>
    <description>Hi,&lt;BR /&gt;#setboot&lt;BR /&gt;should give you that information.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Tom Geudens</description>
    <pubDate>Mon, 21 Jan 2002 06:59:29 GMT</pubDate>
    <dc:creator>Tom Geudens</dc:creator>
    <dc:date>2002-01-21T06:59:29Z</dc:date>
    <item>
      <title>which disk i booted from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649103#M45617</link>
      <description>Hello all, &lt;BR /&gt;&lt;BR /&gt;  I had a practical situation where I booted an HP9000 server which has got mirrored root disk. Both the disks are fine an I can boot from either of the disks. Now the question is how do I know from which disk I booted from, at a later time? Is the address of the disk from which the server booted last time is stored somewhere? Or is there a way to find out this disk address once the machine is up?&lt;BR /&gt;         Thanks in advance for the replies...&lt;BR /&gt;&lt;BR /&gt;Thanks/Regards&lt;BR /&gt;Sunil Kumar K.U.&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Jan 2002 06:53:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649103#M45617</guid>
      <dc:creator>Sunil Kumar K.U.</dc:creator>
      <dc:date>2002-01-21T06:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: which disk i booted from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649104#M45618</link>
      <description>Hi,&lt;BR /&gt;#setboot&lt;BR /&gt;should give you that information.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Tom Geudens</description>
      <pubDate>Mon, 21 Jan 2002 06:59:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649104#M45618</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2002-01-21T06:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: which disk i booted from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649105#M45619</link>
      <description>Hi Tom,&lt;BR /&gt;&lt;BR /&gt;  Your suggestion is fine. setboot gives me the boot paths. But I may not be booting from the primary path. &lt;BR /&gt;  For eg: I booted the machine from the alternate path by interrupting the autoboot process  and later on (say after some months) I wanted to know where did I boot the server last time.&lt;BR /&gt;&lt;BR /&gt;  Is there any way to find out this?&lt;BR /&gt;&lt;BR /&gt;Thankds/Regards&lt;BR /&gt;Sunil Kumar K.U.</description>
      <pubDate>Mon, 21 Jan 2002 07:10:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649105#M45619</guid>
      <dc:creator>Sunil Kumar K.U.</dc:creator>
      <dc:date>2002-01-21T07:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: which disk i booted from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649106#M45620</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I don't think there is a way for read-only media. If you boot from a read-only media (such as a CD-ROM), there is no way this information can be stored except perhaps at the hardware level in the OBP. However, I have not seen a logging option at the OBP menu (perhaps service menu).&lt;BR /&gt;&lt;BR /&gt;If you boot from a writeable media, the timestamp of your bootup will be imprinted in /var/adm/syslog/syslog.log. If your choices of booting up the system lie with only harddisks, then one way you can identify the disk you boot from is to boot up each ov every alternate disk path, and subsequently check the timestamp imprinted in the first line of /var/adm/syslog/OLDsyslog.log.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Mon, 21 Jan 2002 08:13:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649106#M45620</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-01-21T08:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: which disk i booted from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649107#M45621</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;echo 'boot_string/S'|adb /stand/vmunix /dev/mem &lt;BR /&gt;&lt;BR /&gt;This should return, for example:&lt;BR /&gt;&lt;BR /&gt;boot_string: &lt;BR /&gt;boot_string: disc(10/0.6.0;0)/stand/vmunix &lt;BR /&gt;&lt;BR /&gt;Rgds, Robin.&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Jan 2002 08:25:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649107#M45621</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2002-01-21T08:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: which disk i booted from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649108#M45622</link>
      <description>Hi,&lt;BR /&gt;Setboot only shows what the boot path is set to, it doest not show you what you actually botted from. Eg. setboot shows the primary disk (usually 10/0.6) but you may have booted from the recovery CD or an ignite tape. This command shows you what you booted from; &lt;BR /&gt;&lt;BR /&gt;echo boot_string/S|adb /stand/vmunix /dev/kmem &lt;BR /&gt;</description>
      <pubDate>Mon, 21 Jan 2002 08:35:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649108#M45622</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2002-01-21T08:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: which disk i booted from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649109#M45623</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;  Thanks for the quick response. I found the solution in the replies from Robin and Animesh.&lt;BR /&gt;  I thank everybody who replied to my query.&lt;BR /&gt;&lt;BR /&gt;Thanks/regards&lt;BR /&gt;Sunil Kumar K.U.</description>
      <pubDate>Mon, 21 Jan 2002 08:43:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649109#M45623</guid>
      <dc:creator>Sunil Kumar K.U.</dc:creator>
      <dc:date>2002-01-21T08:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: which disk i booted from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649110#M45624</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you boot from disk A and the next time you boot from disk B, and since disk A contains its own kernel (say kernelA in its own /stand/vmunix in disk A) and disk B contains its own kernel (say kernelB in its own /stand/vmunix in disk B), it doesn't help by extracting the bootstring from /stand/vmunix because it belongs to your currently live OS (say on disk A). It will not indicate to you that you have booted from disk B the last time before you booted from disk A into your currently live OS this time.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Mon, 21 Jan 2002 08:54:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649110#M45624</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-01-21T08:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: which disk i booted from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649111#M45625</link>
      <description>Hi Steven,&lt;BR /&gt;&lt;BR /&gt;A bit late, but....&lt;BR /&gt;&lt;BR /&gt;The disks are mirrored, so the kernel of disk A and disk B should be the same IMHO.&lt;BR /&gt;&lt;BR /&gt;Greetzz&lt;BR /&gt;Donald</description>
      <pubDate>Mon, 24 Mar 2003 11:45:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649111#M45625</guid>
      <dc:creator>Donald Kok</dc:creator>
      <dc:date>2003-03-24T11:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: which disk i booted from?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649112#M45626</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;HP's Mirroring software keeps both DISK A and DISK B synch'd at all time, and there won't be any inconsistencies in that, including no chances for two different kernels or so.&lt;BR /&gt;&lt;BR /&gt;Cheers !!!&lt;BR /&gt;Mathew.</description>
      <pubDate>Mon, 24 Mar 2003 13:50:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/which-disk-i-booted-from/m-p/2649112#M45626</guid>
      <dc:creator>Varghese Mathew</dc:creator>
      <dc:date>2003-03-24T13:50:00Z</dc:date>
    </item>
  </channel>
</rss>

