<?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 do you determine the current boot path/device in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714262#M385331</link>
    <description>Bill - &lt;BR /&gt;I tried to attached script and I'm getting usage errors.&lt;BR /&gt;Here is the output:&lt;BR /&gt;bootstring using adb:&lt;BR /&gt;   Last booted using ioscan: /dev/disk/ is not a special file&lt;BR /&gt;ioscan: /dev/disk/ is not a special file&lt;BR /&gt;0xffffffff ( or )&lt;BR /&gt;&lt;BR /&gt;Boot disk and AUTO file boot command:&lt;BR /&gt;&lt;BR /&gt;     WARNING: The AUTO file is missing in the LIF area!&lt;BR /&gt;     lifls -l&lt;BR /&gt;        USAGE: lifls [-C -l -i -v -L -b BlockList] volname[:filename]&lt;BR /&gt;&lt;BR /&gt;boot PATHS:&lt;BR /&gt;ioscan: option requires an argument -- H&lt;BR /&gt;usage: ioscan [-N] [-k | -u] [-e] [-d driver | -C class] [-I instance] [-H hw_path]&lt;BR /&gt;              [-l] [-A] [-f | -F[F] [-n]] [devfile]&lt;BR /&gt;              [-b] -M driver -H hw_path [-I instance]&lt;BR /&gt;              [-t]&lt;BR /&gt;              -P &lt;PROPERTY&gt; [-d driver | -C class] [-I instance] [-H hw_path] [devfile]&lt;BR /&gt;              -m lun [-F] [-d driver | -C class] [-I instance] [-H lun hw_path] [devfile]&lt;BR /&gt;              [-F]-m dsf [devfile]&lt;BR /&gt;              -m hwpath [-F] [-H hw_path]&lt;BR /&gt;              -s&lt;BR /&gt;              -r -H hw_path&lt;BR /&gt;              -B&lt;BR /&gt;              -U&lt;BR /&gt;              -a [-F]&lt;BR /&gt;       -k: show kernel structures; don't scan hardware&lt;BR /&gt;       -N: show devices present in agile view&lt;BR /&gt;       -u: show usable devices; don't scan hardware&lt;BR /&gt;       -e: on IPF systems, show EFI device paths when available;&lt;BR /&gt;           on PA-RISC systems, show PA device paths when available&lt;BR /&gt;       -d: show hardware controlled by specified driver&lt;BR /&gt;       -C: show hardware in specified class&lt;BR /&gt;       -I: show hardware with specified instance&lt;BR /&gt;       -H: show hardware at specified path&lt;BR /&gt;       -f: give full listing&lt;BR /&gt;       -F: give listing separated by 'separators'&lt;BR /&gt;           if specified twice (-FF), prints additional fields&lt;BR /&gt;       -n: show device file names&lt;BR /&gt;       -l: show only locally connected devices&lt;BR /&gt;       -t: show date and time of previous hardware scan&lt;BR /&gt;   or: ioscan [-b] -M driver -H hw_path [-I instance]&lt;BR /&gt;       -b: force-configure with deferred binding&lt;BR /&gt;       -M: force-configure specified drivers&lt;BR /&gt;       -H: force-configure specified hardware path&lt;BR /&gt;       -A: show the alias_path assigned to the hardware path&lt;BR /&gt;       -I: force-configure specified hardware instance&lt;BR /&gt;       or: ioscan -P &lt;PROPERTY&gt; [-d driver | -C class] [-I instance] [-H hw_path] [devfile]&lt;BR /&gt;       -P: show property&lt;BR /&gt;   or: ioscan -m lun [-F] [-d driver | -C class] [-I instance] [-H lun hw_path] [devfile]&lt;BR /&gt;       -m: show mappings&lt;BR /&gt;   or: ioscan [-F] -m dsf [devfile]&lt;BR /&gt;   or: ioscan -m hwpath [-F] [-H hw_path]&lt;BR /&gt;   or: ioscan -s&lt;BR /&gt;       -s: show stale entries present in ioconfig files&lt;BR /&gt;   or: ioscan -r -H hw_path&lt;BR /&gt;       -r: remove deferred binding flag&lt;BR /&gt;   or: ioscan -B&lt;BR /&gt;       -B: list nodes with deferred binding flag set&lt;BR /&gt;   or: ioscan -U&lt;BR /&gt;       -U: initiate a scan on unclaimed nodes&lt;BR /&gt;       -a: shows information about thread 0 for a processor with Hyper Threading feature&lt;BR /&gt;ioscan: option requires an argument -- H&lt;BR /&gt;usage: ioscan [-N] [-k | -u] [-e] [-d driver | -C class] [-I instance] [-H hw_path]&lt;BR /&gt;              [-l] [-A] [-f | -F[F] [-n]] [devfile]&lt;BR /&gt;              [-b] -M driver -H hw_path [-I instance]&lt;BR /&gt;              [-t]&lt;BR /&gt;              -P &lt;PROPERTY&gt; [-d driver | -C class] [-I instance] [-H hw_path] [devfile]&lt;BR /&gt;              -m lun [-F] [-d driver | -C class] [-I instance] [-H lun hw_path] [devfile]&lt;BR /&gt;              [-F]-m dsf [devfile]&lt;BR /&gt;              -m hwpath [-F] [-H hw_path]&lt;BR /&gt;              -s&lt;BR /&gt;              -r -H hw_path&lt;BR /&gt;              -B&lt;BR /&gt;              -U&lt;BR /&gt;              -a [-F]&lt;BR /&gt;       -k: show kernel structures; don't scan hardware&lt;BR /&gt;       -N: show devices present in agile view&lt;BR /&gt;       -u: show usable devices; don't scan hardware&lt;BR /&gt;       -e: on IPF systems, show EFI device paths when available;&lt;BR /&gt;           on PA-RISC systems, show PA device paths when available&lt;BR /&gt;       -d: show hardware controlled by specified driver&lt;BR /&gt;       -C: show hardware in specified class&lt;BR /&gt;       -I: show hardware with specified instance&lt;BR /&gt;       -H: show hardware at specified path&lt;BR /&gt;       -f: give full listing&lt;BR /&gt;       -F: give listing separated by 'separators'&lt;BR /&gt;           if specified twice (-FF), prints additional fields&lt;BR /&gt;       -n: show device file names&lt;BR /&gt;       -l: show only locally connected devices&lt;BR /&gt;       -t: show date and time of previous hardware scan&lt;BR /&gt;   or: ioscan [-b] -M driver -H hw_path [-I instance]&lt;BR /&gt;       -b: force-configure with deferred binding&lt;BR /&gt;       -M: force-configure specified drivers&lt;BR /&gt;       -H: force-configure specified hardware path&lt;BR /&gt;       -A: show the alias_path assigned to the hardware path&lt;BR /&gt;       -I: force-configure specified hardware instance&lt;BR /&gt;       or: ioscan -P &lt;PROPERTY&gt; [-d driver | -C class] [-I instance] [-H hw_path] [devfile]&lt;BR /&gt;       -P: show property&lt;BR /&gt;   or: ioscan -m lun [-F] [-d driver | -C class] [-I instance] [-H lun hw_path] [devfile]&lt;BR /&gt;       -m: show mappings&lt;BR /&gt;   or: ioscan [-F] -m dsf [devfile]&lt;BR /&gt;   or: ioscan -m hwpath [-F] [-H hw_path]&lt;BR /&gt;   or: ioscan -s&lt;BR /&gt;       -s: show stale entries present in ioconfig files&lt;BR /&gt;   or: ioscan -r -H hw_path&lt;BR /&gt;       -r: remove deferred binding flag&lt;BR /&gt;   or: ioscan -B&lt;BR /&gt;       -B: list nodes with deferred binding flag set&lt;BR /&gt;   or: ioscan -U&lt;BR /&gt;       -U: initiate a scan on unclaimed nodes&lt;BR /&gt;       -a: shows information about thread 0 for a processor with Hyper Threading feature&lt;BR /&gt;ioscan: Only one devfile allowed&lt;BR /&gt;usage: ioscan [-N] [-k | -u] [-e] [-d driver | -C class] [-I instance] [-H hw_path]&lt;BR /&gt;              [-l] [-A] [-f | -F[F] [-n]] [devfile]&lt;BR /&gt;              [-b] -M driver -H hw_path [-I instance]&lt;BR /&gt;              [-t]&lt;BR /&gt;              -P &lt;PROPERTY&gt; [-d driver | -C class] [-I instance] [-H hw_path] [devfile]&lt;BR /&gt;              -m lun [-F] [-d driver | -C class] [-I instance] [-H lun hw_path] [devfile]&lt;BR /&gt;              [-F]-m dsf [devfile]&lt;BR /&gt;              -m hwpath [-F] [-H hw_path]&lt;BR /&gt;              -s&lt;BR /&gt;              -r -H hw_path&lt;BR /&gt;              -B&lt;BR /&gt;              -U&lt;BR /&gt;              -a [-F]&lt;BR /&gt;       -k: show kernel structures; don't scan hardware&lt;BR /&gt;       -N: show devices present in agile view&lt;BR /&gt;       -u: show usable devices; don't scan hardware&lt;BR /&gt;       -e: on IPF systems, show EFI device paths when available;&lt;BR /&gt;           on PA-RISC systems, show PA device paths when available&lt;BR /&gt;       -d: show hardware controlled by specified driver&lt;BR /&gt;       -C: show hardware in specified class&lt;BR /&gt;       -I: show hardware with specified instance&lt;BR /&gt;       -H: show hardware at specified path&lt;BR /&gt;       -f: give full listing&lt;BR /&gt;       -F: give listing separated by 'separators'&lt;BR /&gt;           if specified twice (-FF), prints additional fields&lt;BR /&gt;       -n: show device file names&lt;BR /&gt;       -l: show only locally connected devices&lt;BR /&gt;       -t: show date and time of previous hardware scan&lt;BR /&gt;   or: ioscan [-b] -M driver -H hw_path [-I instance]&lt;BR /&gt;       -b: force-configure with deferred binding&lt;BR /&gt;       -M: force-configure specified drivers&lt;BR /&gt;       -H: force-configure specified hardware path&lt;BR /&gt;       -A: show the alias_path assigned to the hardware path&lt;BR /&gt;       -I: force-configure specified hardware instance&lt;BR /&gt;       or: ioscan -P &lt;PROPERTY&gt; [-d driver | -C class] [-I instance] [-H hw_path] [devfile]&lt;BR /&gt;       -P: show property&lt;BR /&gt;   or: ioscan -m lun [-F] [-d driver | -C class] [-I instance] [-H lun hw_path] [devfile]&lt;BR /&gt;       -m: show mappings&lt;BR /&gt;   or: ioscan [-F] -m dsf [devfile]&lt;BR /&gt;   or: ioscan -m hwpath [-F] [-H hw_path]&lt;BR /&gt;   or: ioscan -s&lt;BR /&gt;       -s: show stale entries present in ioconfig files&lt;BR /&gt;   or: ioscan -r -H hw_path&lt;BR /&gt;       -r: remove deferred binding flag&lt;BR /&gt;   or: ioscan -B&lt;BR /&gt;       -B: list nodes with deferred binding flag set&lt;BR /&gt;   or: ioscan -U&lt;BR /&gt;       -U: initiate a scan on unclaimed nodes&lt;BR /&gt;       -a: shows information about thread 0 for a processor with Hyper Threading feature&lt;BR /&gt;   Primary bootpath    = 0/2/1/0.0.0.5.0, /dev/rdsk/c0t5d0&lt;BR /&gt;                       = 0/2/1/0.0x500000e01e463872.0x0, /dev/rdisk/disk1794&lt;BR /&gt;                       = (disk) 64000/0xfa00/0xdd&lt;BR /&gt;&lt;BR /&gt;   Alternate bootpath  = 0/2/1/0.0.0.6.0, /dev/rdsk/c0t6d0&lt;BR /&gt;                       = 0/2/1/0.0x5000c50004374551.0x0, /dev/rdisk/disk1796&lt;BR /&gt;                       = (disk) 64000/0xfa00/0xe1&lt;BR /&gt;&lt;BR /&gt;   HA Alt bootpath     = ,&lt;BR /&gt;                       = ,&lt;BR /&gt;                       = ()&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Automatic boot settings from setboot:&lt;BR /&gt;   Autoboot is ON (enabled)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;lvlnboot -v:&lt;BR /&gt;&lt;/PROPERTY&gt;&lt;/PROPERTY&gt;&lt;/PROPERTY&gt;&lt;/PROPERTY&gt;&lt;/PROPERTY&gt;&lt;/PROPERTY&gt;</description>
    <pubDate>Tue, 23 Nov 2010 19:49:48 GMT</pubDate>
    <dc:creator>Travis Harp_1</dc:creator>
    <dc:date>2010-11-23T19:49:48Z</dc:date>
    <item>
      <title>How do you determine the current boot path/device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714249#M385318</link>
      <description>What I'm looking to be able to do is walk up to a running system and from the OS tell what is the current boot drive, path, device or something that will tell me which drive the system is currently booted from.&lt;BR /&gt;&lt;BR /&gt;I've run through some of the easy ones such as setboot, lvlnboot and checking syslog. &lt;BR /&gt;None of them give the current boot device.&lt;BR /&gt;&lt;BR /&gt;Right at the start of boot on the console it lists the starting boot path but I would have to be looking at the console during boot to catch that.&lt;BR /&gt;&lt;BR /&gt;This seemed like a simple thing to me when I was asked but the answer has been more elusive than I originally thought.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Travis&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Nov 2010 21:58:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714249#M385318</guid>
      <dc:creator>Travis Harp_1</dc:creator>
      <dc:date>2010-11-16T21:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do you determine the current boot path/device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714250#M385319</link>
      <description>try this.&lt;BR /&gt;MODEL=`uname -m`&lt;BR /&gt;if [[ $MODEL = "ia64" ]]&lt;BR /&gt;then&lt;BR /&gt;        echo "--- IA64 System ---"&lt;BR /&gt;        echo "Syslog says"&lt;BR /&gt;        grep Boot /var/adm/syslog/syslog.log&lt;BR /&gt;        echo "\nkcpath says:"&lt;BR /&gt;        kcpath&lt;BR /&gt;        echo "\nADB from /stand/vmunix says:"&lt;BR /&gt;        MINOR=`echo "bootdev/x"|adb /stand/vmunix /dev/kmem|awk 'NR == 2 {print $1}'|cut -c 5-10`&lt;BR /&gt;        echo "\n$MINOR Translated to:"&lt;BR /&gt;        ls -l /dev/dsk/|grep $MINOR&lt;BR /&gt;        DEV=`ls -l /dev/dsk|awk '/'$MINOR'/ {print $10}'`&lt;BR /&gt;        echo "Boot device is: \c"&lt;BR /&gt;        lssf /dev/dsk/$DEV|awk '{print $15" "$16}'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;else&lt;BR /&gt;        echo "--- PA-RISC System ---"&lt;BR /&gt;        echo "\nADB from /stand/vmunix says:"&lt;BR /&gt;        echo boot_string/S|adb /stand/vmunix /dev/mem&lt;BR /&gt;        echo "\nkmpath says:"&lt;BR /&gt;        kmpath&lt;BR /&gt;fi&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Nov 2010 22:06:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714250#M385319</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2010-11-16T22:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do you determine the current boot path/device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714251#M385320</link>
      <description>This works on HP-UX 11.0, 11.11 and 11.23 PA/RISC:&lt;BR /&gt;&lt;BR /&gt;echo "boot_string/S" | adb -k /stand/vmunix /dev/kmem</description>
      <pubDate>Tue, 16 Nov 2010 22:11:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714251#M385320</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2010-11-16T22:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do you determine the current boot path/device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714252#M385321</link>
      <description>&lt;!--!*#--&gt;PARISC is a simple adb command. IA64 is a real pain...you get part of the minor number as the kernel's reference, then match it with a device file and then there's all that DSF stuff for 11.31, so I wrote a script to give you the details (attached). Here are two examples, PARISC followed by IA64:&lt;BR /&gt; &lt;BR /&gt;bootstring using adb:&lt;BR /&gt;   Last booted using disk(0/0/2/0.6.0.0.0.0.0;0)/stand/vmunix&lt;BR /&gt;&lt;BR /&gt;Boot disks and AUTO file boot command:&lt;BR /&gt;   /dev/dsk/c1t6d0&lt;BR /&gt;        BootCommand: "hpux -lq"&lt;BR /&gt;   /dev/dsk/c2t6d0&lt;BR /&gt;        BootCommand: "hpux -lq"&lt;BR /&gt;&lt;BR /&gt;boot PATHS:&lt;BR /&gt;   Primary bootpath   = 0/0/2/0.6.0, /dev/dsk/c1t6d0&lt;BR /&gt;                        (disk) SEAGATE ST318404LC&lt;BR /&gt;&lt;BR /&gt;   Alternate bootpath = 0/0/1/0.0.0, /dev/rmt/0mn&lt;BR /&gt;                        (tape) HP C1537A&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Automatic boot settings from setboot:&lt;BR /&gt;   Autoboot is ON (enabled)&lt;BR /&gt;   Autosearch is OFF (disabled)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;lvlnboot -v:&lt;BR /&gt;&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/c1t6d0 (0/0/2/0.6.0) -- Boot Disk&lt;BR /&gt;        /dev/dsk/c2t6d0 (0/0/2/1.6.0) -- Boot Disk&lt;BR /&gt;   Boot: lvol1  on:     /dev/dsk/c1t6d0&lt;BR /&gt;                        /dev/dsk/c2t6d0&lt;BR /&gt;   Root: lvol3  on:     /dev/dsk/c1t6d0&lt;BR /&gt;                        /dev/dsk/c2t6d0&lt;BR /&gt;   Swap: lvol2  on:     /dev/dsk/c1t6d0&lt;BR /&gt;                        /dev/dsk/c2t6d0&lt;BR /&gt;   Dump: lvol2  on:     /dev/dsk/c1t6d0, 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;===========================================&lt;BR /&gt;&lt;BR /&gt;bootstring using adb:&lt;BR /&gt;   Last booted using 0x1000004 (disk5 or c0t0d0)&lt;BR /&gt;&lt;BR /&gt;Boot disks and AUTO file boot command:&lt;BR /&gt;   /dev/disk/disk5_p2&lt;BR /&gt;        BootCommand: "hpux"&lt;BR /&gt;   /dev/disk/disk10_p2&lt;BR /&gt;        BootCommand: "hpux"&lt;BR /&gt;&lt;BR /&gt;boot PATHS:&lt;BR /&gt;   Primary bootpath    = 0/1/1/0.0.0.0.0, /dev/rdsk/c0t0d0&lt;BR /&gt;                       = 0/1/1/0.0x5000c50007153089.0x0, /dev/rdisk/disk5&lt;BR /&gt;                       = (disk) 64000/0xfa00/0x1&lt;BR /&gt;&lt;BR /&gt;   Alternate bootpath  = 0/1/1/0.0.0.1.0, /dev/rdsk/c0t1d0&lt;BR /&gt;                       = 0/1/1/0.0x5000c50007141ad5.0x0, /dev/rdisk/disk10&lt;BR /&gt;                       = (disk) 64000/0xfa00/0x0&lt;BR /&gt;&lt;BR /&gt;   HA Alt bootpath     = 0/1/1/0.0.0.1.0, /dev/rdsk/c0t1d0&lt;BR /&gt;                       = 0/1/1/0.0x5000c50007141ad5.0x0, /dev/rdisk/disk10&lt;BR /&gt;                       = (disk) 64000/0xfa00/0x0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Automatic boot settings from setboot:&lt;BR /&gt;   Autoboot is OFF (disabled)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;lvlnboot -v:&lt;BR /&gt;&lt;BR /&gt;   Boot Definitions for Volume Group /dev/vg00:&lt;BR /&gt;   Physical Volumes belonging in Root Volume Group:&lt;BR /&gt;        /dev/disk/disk5_p2 -- Boot Disk&lt;BR /&gt;        /dev/disk/disk10_p2 -- Boot Disk&lt;BR /&gt;   Boot: lvol1  on:     /dev/disk/disk5_p2&lt;BR /&gt;                        /dev/disk/disk10_p2&lt;BR /&gt;   Root: lvol3  on:     /dev/disk/disk5_p2&lt;BR /&gt;                        /dev/disk/disk10_p2&lt;BR /&gt;   Swap: lvol2  on:     /dev/disk/disk5_p2&lt;BR /&gt;                        /dev/disk/disk10_p2&lt;BR /&gt;   Dump: lvol2  on:     /dev/disk/disk5_p2, 0&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Nov 2010 02:31:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714252#M385321</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-11-17T02:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do you determine the current boot path/device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714253#M385322</link>
      <description>Hi&lt;BR /&gt;We can find currently from which boot disk the server is booted as below&lt;BR /&gt;&lt;BR /&gt;# uname -a&lt;BR /&gt;HP-UX rx26-185 B.11.31 U ia64 3025899524 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;[rx26-185]/&lt;BR /&gt;# dmesg | grep -i boot&lt;BR /&gt;Boot device's HP-UX HW path is: 0.1.1.1.2.0&lt;BR /&gt;[rx26-185]/&lt;BR /&gt;# ioscan -fnH 0.1.1.1.2.0&lt;BR /&gt;Class     I  H/W Path     Driver S/W State   H/W Type     Description&lt;BR /&gt;=====================================================================&lt;BR /&gt;disk      3  0/1/1/1.2.0  sdisk   CLAIMED     DEVICE       HP 73.4GST373454LC&lt;BR /&gt;                         /dev/dsk/c3t2d0     /dev/dsk/c3t2d0s2   /dev/rdsk/c3t2d0    /dev/rdsk/c3t2d0s2&lt;BR /&gt;                         /dev/dsk/c3t2d0s1   /dev/dsk/c3t2d0s3   /dev/rdsk/c3t2d0s1  /dev/rdsk/c3t2d0s3&lt;BR /&gt;[rx26-185]/&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Nov 2010 07:18:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714253#M385322</guid>
      <dc:creator>Anoop Sivan</dc:creator>
      <dc:date>2010-11-17T07:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do you determine the current boot path/device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714254#M385323</link>
      <description>Hi Travis,&lt;BR /&gt;On 11.31, the command "lvlnboot -v" shows you the current boot device, root, swap and dump.&lt;BR /&gt;regards&lt;BR /&gt;Emmanuel</description>
      <pubDate>Wed, 17 Nov 2010 14:49:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714254#M385323</guid>
      <dc:creator>EmmanuelK2</dc:creator>
      <dc:date>2010-11-17T14:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do you determine the current boot path/device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714255#M385324</link>
      <description>Hi , &lt;BR /&gt;&lt;BR /&gt;Simple ... &lt;BR /&gt;&lt;BR /&gt;#dmesg | grep HW&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sooraj</description>
      <pubDate>Wed, 17 Nov 2010 15:22:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714255#M385324</guid>
      <dc:creator>SoorajCleris</dc:creator>
      <dc:date>2010-11-17T15:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do you determine the current boot path/device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714256#M385325</link>
      <description>&amp;gt; dmesg | grep -i boot &lt;BR /&gt; &lt;BR /&gt;This is not very reliable. dmesg is a small buffer in kernel memory and old information is erased to make room for new messages. The boot path information in dmesg is only valid right after you boot...several weeks from now, it can disappear.</description>
      <pubDate>Wed, 17 Nov 2010 15:37:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714256#M385325</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-11-17T15:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do you determine the current boot path/device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714257#M385326</link>
      <description>One really important bit of information I left out is that I'm trying to figure it out on Itanium systems.&lt;BR /&gt;Most of the methods mentioned do work on RISC but not on Itanium.&lt;BR /&gt;&lt;BR /&gt;I've still not found a reliable way to get the information from an Itanium box.&lt;BR /&gt;Sometimes syslog catches it but about 50% of the time it doesn't.&lt;BR /&gt;I thought at one point I might be able to change when syslogd starts so it would reliably capture the boot path but I haven't had time to work it in the last week. &lt;BR /&gt;&lt;BR /&gt;Bill - I may give you a call directly about this, I'm the same Travis Harp with Northrop who bugs you from time to time.</description>
      <pubDate>Tue, 23 Nov 2010 16:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714257#M385326</guid>
      <dc:creator>Travis Harp_1</dc:creator>
      <dc:date>2010-11-23T16:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do you determine the current boot path/device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714258#M385327</link>
      <description>Hi Travis Harp,&lt;BR /&gt;&lt;BR /&gt;    I just have my observation here about the OS disks and I have checked few HP ux servers with root disk mirroring.&lt;BR /&gt;&lt;BR /&gt;I have executed sar &amp;amp; iostat command which shows comparably higher io on the presently used disk than the mirror. Based on this output I confirmed that the system is using the disk having higher io activity.&lt;BR /&gt;&lt;BR /&gt;sar -d 5 5 &lt;BR /&gt;&lt;BR /&gt;See if this works for you too. This is purely based on what I observed on few HP-UX servers and I would appreciate if somebody have their objections/ comments/observations&lt;BR /&gt;on what I have here.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Jayakrishnan G Naik</description>
      <pubDate>Tue, 23 Nov 2010 16:30:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714258#M385327</guid>
      <dc:creator>Jayakrishnan G Naik</dc:creator>
      <dc:date>2010-11-23T16:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do you determine the current boot path/device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714259#M385328</link>
      <description>&amp;gt; Jayakrishnan&lt;BR /&gt;&amp;gt; I have executed sar &amp;amp; iostat command which shows comparably higher io on the presently used disk than the mirror.&lt;BR /&gt; &lt;BR /&gt;Correct. The mirror is only written during normal operation. All reads will come from the primary.&lt;BR /&gt; &lt;BR /&gt;As far as Itanium, the above procedure mentioned about tracking down the minor number from the adb...bootdev result. As seen in the bootinfo script above, you get the adb results, extract the device number (something like 0x1000004) digits, then search for a match of the minor number in the disk devicefiles.&lt;BR /&gt; &lt;BR /&gt;Not straightforward, but everything about booting in Itanium is convoluted...</description>
      <pubDate>Tue, 23 Nov 2010 19:13:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714259#M385328</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-11-23T19:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do you determine the current boot path/device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714260#M385329</link>
      <description>Usually this can be found in syslog and dmesg (if still not overwritten):&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Boot device's HP-UX HW path is: 0/7/1/0/4/0.0.0&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Nov 2010 19:16:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714260#M385329</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-11-23T19:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do you determine the current boot path/device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714261#M385330</link>
      <description>Note: the path in 11.31 is in agile format, e.g.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Boot device's HP-UX HW path is: 0.0.c.1.0.4.0.5000112345678123.4001000000000000</description>
      <pubDate>Tue, 23 Nov 2010 19:23:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714261#M385330</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-11-23T19:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do you determine the current boot path/device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714262#M385331</link>
      <description>Bill - &lt;BR /&gt;I tried to attached script and I'm getting usage errors.&lt;BR /&gt;Here is the output:&lt;BR /&gt;bootstring using adb:&lt;BR /&gt;   Last booted using ioscan: /dev/disk/ is not a special file&lt;BR /&gt;ioscan: /dev/disk/ is not a special file&lt;BR /&gt;0xffffffff ( or )&lt;BR /&gt;&lt;BR /&gt;Boot disk and AUTO file boot command:&lt;BR /&gt;&lt;BR /&gt;     WARNING: The AUTO file is missing in the LIF area!&lt;BR /&gt;     lifls -l&lt;BR /&gt;        USAGE: lifls [-C -l -i -v -L -b BlockList] volname[:filename]&lt;BR /&gt;&lt;BR /&gt;boot PATHS:&lt;BR /&gt;ioscan: option requires an argument -- H&lt;BR /&gt;usage: ioscan [-N] [-k | -u] [-e] [-d driver | -C class] [-I instance] [-H hw_path]&lt;BR /&gt;              [-l] [-A] [-f | -F[F] [-n]] [devfile]&lt;BR /&gt;              [-b] -M driver -H hw_path [-I instance]&lt;BR /&gt;              [-t]&lt;BR /&gt;              -P &lt;PROPERTY&gt; [-d driver | -C class] [-I instance] [-H hw_path] [devfile]&lt;BR /&gt;              -m lun [-F] [-d driver | -C class] [-I instance] [-H lun hw_path] [devfile]&lt;BR /&gt;              [-F]-m dsf [devfile]&lt;BR /&gt;              -m hwpath [-F] [-H hw_path]&lt;BR /&gt;              -s&lt;BR /&gt;              -r -H hw_path&lt;BR /&gt;              -B&lt;BR /&gt;              -U&lt;BR /&gt;              -a [-F]&lt;BR /&gt;       -k: show kernel structures; don't scan hardware&lt;BR /&gt;       -N: show devices present in agile view&lt;BR /&gt;       -u: show usable devices; don't scan hardware&lt;BR /&gt;       -e: on IPF systems, show EFI device paths when available;&lt;BR /&gt;           on PA-RISC systems, show PA device paths when available&lt;BR /&gt;       -d: show hardware controlled by specified driver&lt;BR /&gt;       -C: show hardware in specified class&lt;BR /&gt;       -I: show hardware with specified instance&lt;BR /&gt;       -H: show hardware at specified path&lt;BR /&gt;       -f: give full listing&lt;BR /&gt;       -F: give listing separated by 'separators'&lt;BR /&gt;           if specified twice (-FF), prints additional fields&lt;BR /&gt;       -n: show device file names&lt;BR /&gt;       -l: show only locally connected devices&lt;BR /&gt;       -t: show date and time of previous hardware scan&lt;BR /&gt;   or: ioscan [-b] -M driver -H hw_path [-I instance]&lt;BR /&gt;       -b: force-configure with deferred binding&lt;BR /&gt;       -M: force-configure specified drivers&lt;BR /&gt;       -H: force-configure specified hardware path&lt;BR /&gt;       -A: show the alias_path assigned to the hardware path&lt;BR /&gt;       -I: force-configure specified hardware instance&lt;BR /&gt;       or: ioscan -P &lt;PROPERTY&gt; [-d driver | -C class] [-I instance] [-H hw_path] [devfile]&lt;BR /&gt;       -P: show property&lt;BR /&gt;   or: ioscan -m lun [-F] [-d driver | -C class] [-I instance] [-H lun hw_path] [devfile]&lt;BR /&gt;       -m: show mappings&lt;BR /&gt;   or: ioscan [-F] -m dsf [devfile]&lt;BR /&gt;   or: ioscan -m hwpath [-F] [-H hw_path]&lt;BR /&gt;   or: ioscan -s&lt;BR /&gt;       -s: show stale entries present in ioconfig files&lt;BR /&gt;   or: ioscan -r -H hw_path&lt;BR /&gt;       -r: remove deferred binding flag&lt;BR /&gt;   or: ioscan -B&lt;BR /&gt;       -B: list nodes with deferred binding flag set&lt;BR /&gt;   or: ioscan -U&lt;BR /&gt;       -U: initiate a scan on unclaimed nodes&lt;BR /&gt;       -a: shows information about thread 0 for a processor with Hyper Threading feature&lt;BR /&gt;ioscan: option requires an argument -- H&lt;BR /&gt;usage: ioscan [-N] [-k | -u] [-e] [-d driver | -C class] [-I instance] [-H hw_path]&lt;BR /&gt;              [-l] [-A] [-f | -F[F] [-n]] [devfile]&lt;BR /&gt;              [-b] -M driver -H hw_path [-I instance]&lt;BR /&gt;              [-t]&lt;BR /&gt;              -P &lt;PROPERTY&gt; [-d driver | -C class] [-I instance] [-H hw_path] [devfile]&lt;BR /&gt;              -m lun [-F] [-d driver | -C class] [-I instance] [-H lun hw_path] [devfile]&lt;BR /&gt;              [-F]-m dsf [devfile]&lt;BR /&gt;              -m hwpath [-F] [-H hw_path]&lt;BR /&gt;              -s&lt;BR /&gt;              -r -H hw_path&lt;BR /&gt;              -B&lt;BR /&gt;              -U&lt;BR /&gt;              -a [-F]&lt;BR /&gt;       -k: show kernel structures; don't scan hardware&lt;BR /&gt;       -N: show devices present in agile view&lt;BR /&gt;       -u: show usable devices; don't scan hardware&lt;BR /&gt;       -e: on IPF systems, show EFI device paths when available;&lt;BR /&gt;           on PA-RISC systems, show PA device paths when available&lt;BR /&gt;       -d: show hardware controlled by specified driver&lt;BR /&gt;       -C: show hardware in specified class&lt;BR /&gt;       -I: show hardware with specified instance&lt;BR /&gt;       -H: show hardware at specified path&lt;BR /&gt;       -f: give full listing&lt;BR /&gt;       -F: give listing separated by 'separators'&lt;BR /&gt;           if specified twice (-FF), prints additional fields&lt;BR /&gt;       -n: show device file names&lt;BR /&gt;       -l: show only locally connected devices&lt;BR /&gt;       -t: show date and time of previous hardware scan&lt;BR /&gt;   or: ioscan [-b] -M driver -H hw_path [-I instance]&lt;BR /&gt;       -b: force-configure with deferred binding&lt;BR /&gt;       -M: force-configure specified drivers&lt;BR /&gt;       -H: force-configure specified hardware path&lt;BR /&gt;       -A: show the alias_path assigned to the hardware path&lt;BR /&gt;       -I: force-configure specified hardware instance&lt;BR /&gt;       or: ioscan -P &lt;PROPERTY&gt; [-d driver | -C class] [-I instance] [-H hw_path] [devfile]&lt;BR /&gt;       -P: show property&lt;BR /&gt;   or: ioscan -m lun [-F] [-d driver | -C class] [-I instance] [-H lun hw_path] [devfile]&lt;BR /&gt;       -m: show mappings&lt;BR /&gt;   or: ioscan [-F] -m dsf [devfile]&lt;BR /&gt;   or: ioscan -m hwpath [-F] [-H hw_path]&lt;BR /&gt;   or: ioscan -s&lt;BR /&gt;       -s: show stale entries present in ioconfig files&lt;BR /&gt;   or: ioscan -r -H hw_path&lt;BR /&gt;       -r: remove deferred binding flag&lt;BR /&gt;   or: ioscan -B&lt;BR /&gt;       -B: list nodes with deferred binding flag set&lt;BR /&gt;   or: ioscan -U&lt;BR /&gt;       -U: initiate a scan on unclaimed nodes&lt;BR /&gt;       -a: shows information about thread 0 for a processor with Hyper Threading feature&lt;BR /&gt;ioscan: Only one devfile allowed&lt;BR /&gt;usage: ioscan [-N] [-k | -u] [-e] [-d driver | -C class] [-I instance] [-H hw_path]&lt;BR /&gt;              [-l] [-A] [-f | -F[F] [-n]] [devfile]&lt;BR /&gt;              [-b] -M driver -H hw_path [-I instance]&lt;BR /&gt;              [-t]&lt;BR /&gt;              -P &lt;PROPERTY&gt; [-d driver | -C class] [-I instance] [-H hw_path] [devfile]&lt;BR /&gt;              -m lun [-F] [-d driver | -C class] [-I instance] [-H lun hw_path] [devfile]&lt;BR /&gt;              [-F]-m dsf [devfile]&lt;BR /&gt;              -m hwpath [-F] [-H hw_path]&lt;BR /&gt;              -s&lt;BR /&gt;              -r -H hw_path&lt;BR /&gt;              -B&lt;BR /&gt;              -U&lt;BR /&gt;              -a [-F]&lt;BR /&gt;       -k: show kernel structures; don't scan hardware&lt;BR /&gt;       -N: show devices present in agile view&lt;BR /&gt;       -u: show usable devices; don't scan hardware&lt;BR /&gt;       -e: on IPF systems, show EFI device paths when available;&lt;BR /&gt;           on PA-RISC systems, show PA device paths when available&lt;BR /&gt;       -d: show hardware controlled by specified driver&lt;BR /&gt;       -C: show hardware in specified class&lt;BR /&gt;       -I: show hardware with specified instance&lt;BR /&gt;       -H: show hardware at specified path&lt;BR /&gt;       -f: give full listing&lt;BR /&gt;       -F: give listing separated by 'separators'&lt;BR /&gt;           if specified twice (-FF), prints additional fields&lt;BR /&gt;       -n: show device file names&lt;BR /&gt;       -l: show only locally connected devices&lt;BR /&gt;       -t: show date and time of previous hardware scan&lt;BR /&gt;   or: ioscan [-b] -M driver -H hw_path [-I instance]&lt;BR /&gt;       -b: force-configure with deferred binding&lt;BR /&gt;       -M: force-configure specified drivers&lt;BR /&gt;       -H: force-configure specified hardware path&lt;BR /&gt;       -A: show the alias_path assigned to the hardware path&lt;BR /&gt;       -I: force-configure specified hardware instance&lt;BR /&gt;       or: ioscan -P &lt;PROPERTY&gt; [-d driver | -C class] [-I instance] [-H hw_path] [devfile]&lt;BR /&gt;       -P: show property&lt;BR /&gt;   or: ioscan -m lun [-F] [-d driver | -C class] [-I instance] [-H lun hw_path] [devfile]&lt;BR /&gt;       -m: show mappings&lt;BR /&gt;   or: ioscan [-F] -m dsf [devfile]&lt;BR /&gt;   or: ioscan -m hwpath [-F] [-H hw_path]&lt;BR /&gt;   or: ioscan -s&lt;BR /&gt;       -s: show stale entries present in ioconfig files&lt;BR /&gt;   or: ioscan -r -H hw_path&lt;BR /&gt;       -r: remove deferred binding flag&lt;BR /&gt;   or: ioscan -B&lt;BR /&gt;       -B: list nodes with deferred binding flag set&lt;BR /&gt;   or: ioscan -U&lt;BR /&gt;       -U: initiate a scan on unclaimed nodes&lt;BR /&gt;       -a: shows information about thread 0 for a processor with Hyper Threading feature&lt;BR /&gt;   Primary bootpath    = 0/2/1/0.0.0.5.0, /dev/rdsk/c0t5d0&lt;BR /&gt;                       = 0/2/1/0.0x500000e01e463872.0x0, /dev/rdisk/disk1794&lt;BR /&gt;                       = (disk) 64000/0xfa00/0xdd&lt;BR /&gt;&lt;BR /&gt;   Alternate bootpath  = 0/2/1/0.0.0.6.0, /dev/rdsk/c0t6d0&lt;BR /&gt;                       = 0/2/1/0.0x5000c50004374551.0x0, /dev/rdisk/disk1796&lt;BR /&gt;                       = (disk) 64000/0xfa00/0xe1&lt;BR /&gt;&lt;BR /&gt;   HA Alt bootpath     = ,&lt;BR /&gt;                       = ,&lt;BR /&gt;                       = ()&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Automatic boot settings from setboot:&lt;BR /&gt;   Autoboot is ON (enabled)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;lvlnboot -v:&lt;BR /&gt;&lt;/PROPERTY&gt;&lt;/PROPERTY&gt;&lt;/PROPERTY&gt;&lt;/PROPERTY&gt;&lt;/PROPERTY&gt;&lt;/PROPERTY&gt;</description>
      <pubDate>Tue, 23 Nov 2010 19:49:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714262#M385331</guid>
      <dc:creator>Travis Harp_1</dc:creator>
      <dc:date>2010-11-23T19:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do you determine the current boot path/device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714263#M385332</link>
      <description>Looks like you need to update your bootable disks. lvlnboot -v is not reporting anything and several parts of the script depend on having valid boot values.</description>
      <pubDate>Tue, 23 Nov 2010 21:32:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714263#M385332</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-11-23T21:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do you determine the current boot path/device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714264#M385333</link>
      <description>Also looks like setboot is empty, which means your system won't reboot without interaction.</description>
      <pubDate>Wed, 24 Nov 2010 00:08:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-determine-the-current-boot-path-device/m-p/4714264#M385333</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-11-24T00:08:13Z</dc:date>
    </item>
  </channel>
</rss>

