<?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 where from here: /dev/root in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/where-from-here-dev-root/m-p/3097465#M631376</link>
    <description>Hi everybody, please I do need some directions and explanations , what is happen and why.&lt;BR /&gt;  &lt;BR /&gt;Scenario: &lt;BR /&gt;after primary boot disk failure, the disk replacement and re-mirroring, the box couldn't boot from primary. &lt;BR /&gt;So, secondary disk has been used to enter ISL &lt;BR /&gt;and from there into lvm maintenance mode:&lt;BR /&gt;&lt;BR /&gt;ISL&amp;gt; hpux -lq -lm &lt;BR /&gt;Now bdf looks like:&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/root           143360   42129   96798   30% /&lt;BR /&gt;/dev/vg00/lvol1      83733   29220   46139   39% /stand &lt;BR /&gt;&lt;BR /&gt;Now box is running, apps and  dbs are up. &lt;BR /&gt;What would be recommended action from here ( /dev/root ) back to normal ? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Bojan &lt;BR /&gt;</description>
    <pubDate>Mon, 20 Oct 2003 10:39:53 GMT</pubDate>
    <dc:creator>Bojan Andjelkovic</dc:creator>
    <dc:date>2003-10-20T10:39:53Z</dc:date>
    <item>
      <title>where from here: /dev/root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/where-from-here-dev-root/m-p/3097465#M631376</link>
      <description>Hi everybody, please I do need some directions and explanations , what is happen and why.&lt;BR /&gt;  &lt;BR /&gt;Scenario: &lt;BR /&gt;after primary boot disk failure, the disk replacement and re-mirroring, the box couldn't boot from primary. &lt;BR /&gt;So, secondary disk has been used to enter ISL &lt;BR /&gt;and from there into lvm maintenance mode:&lt;BR /&gt;&lt;BR /&gt;ISL&amp;gt; hpux -lq -lm &lt;BR /&gt;Now bdf looks like:&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/root           143360   42129   96798   30% /&lt;BR /&gt;/dev/vg00/lvol1      83733   29220   46139   39% /stand &lt;BR /&gt;&lt;BR /&gt;Now box is running, apps and  dbs are up. &lt;BR /&gt;What would be recommended action from here ( /dev/root ) back to normal ? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Bojan &lt;BR /&gt;</description>
      <pubDate>Mon, 20 Oct 2003 10:39:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/where-from-here-dev-root/m-p/3097465#M631376</guid>
      <dc:creator>Bojan Andjelkovic</dc:creator>
      <dc:date>2003-10-20T10:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: where from here: /dev/root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/where-from-here-dev-root/m-p/3097466#M631377</link>
      <description>/dev/vg00/lvol is mounted as /dev/root when you  startup in maintenance mode (hpux -lm ...)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;to get the thing straight back, just&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rm /etc/mnttab&lt;BR /&gt;mount -p&lt;BR /&gt;bdf&lt;BR /&gt;&lt;BR /&gt;it only an apparent issue, all is right.&lt;BR /&gt;&lt;BR /&gt;     Massimo&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Oct 2003 10:47:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/where-from-here-dev-root/m-p/3097466#M631377</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-10-20T10:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: where from here: /dev/root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/where-from-here-dev-root/m-p/3097467#M631378</link>
      <description>Never, ever, ever go above single user mode when using LVM maintenance mode:&lt;BR /&gt; &lt;BR /&gt;ISL&amp;gt; hpux -lq -lm&lt;BR /&gt; &lt;BR /&gt;NEVER!&lt;BR /&gt; &lt;BR /&gt;Very likely that your O/S file systems became corrupt.&lt;BR /&gt; &lt;BR /&gt;REBOOT!  And come up to run level three normally:&lt;BR /&gt; &lt;BR /&gt;# set_boot -p 0/0.#.# (* HW path of alternate boot disk *)&lt;BR /&gt; &lt;BR /&gt;-or- single user mode without LVM maintenance and then init 3!</description>
      <pubDate>Mon, 20 Oct 2003 10:59:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/where-from-here-dev-root/m-p/3097467#M631378</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-10-20T10:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: where from here: /dev/root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/where-from-here-dev-root/m-p/3097468#M631379</link>
      <description>Thanks  Michael and Massimo, &lt;BR /&gt;&lt;BR /&gt;So, it would be dangerous to proceed with &lt;BR /&gt;re-mirroring right now,&lt;BR /&gt;once the box is back to init 3 normally,&lt;BR /&gt;as you suggested, re-mirroring can be done again, am I correct ?&lt;BR /&gt;&lt;BR /&gt;Thx,&lt;BR /&gt;Bojan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Oct 2003 11:30:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/where-from-here-dev-root/m-p/3097468#M631379</guid>
      <dc:creator>Bojan Andjelkovic</dc:creator>
      <dc:date>2003-10-20T11:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: where from here: /dev/root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/where-from-here-dev-root/m-p/3097469#M631380</link>
      <description>Probably, you re-created your primary volume without making it really bootable.&lt;BR /&gt; &lt;BR /&gt;To make the primary disk bootable, never forget these steps:&lt;BR /&gt; &lt;BR /&gt;1. pvcreate -B /dev/rdsk/&lt;PRIMARY disk=""&gt;&lt;BR /&gt;2. vgextend /dev/vg00 /dev/dsk/&lt;PRIMARY disk=""&gt;&lt;BR /&gt;3. mkboot /dev/dsk/&lt;PRIMARY disk=""&gt;&lt;BR /&gt;4. mkboot -a "hpux -lq" /dev/rdsk/&lt;PRIMARY disk=""&gt;&lt;BR /&gt;5. lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/&lt;PRIMARY disk=""&gt;&lt;BR /&gt;6. lvlnboot -R&lt;BR /&gt; &lt;BR /&gt;If you have forgot one of these steps, then I fear you'll have to recreate and remirror the primary disk.&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt;Paulo Fessel&lt;/PRIMARY&gt;&lt;/PRIMARY&gt;&lt;/PRIMARY&gt;&lt;/PRIMARY&gt;&lt;/PRIMARY&gt;</description>
      <pubDate>Mon, 20 Oct 2003 12:31:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/where-from-here-dev-root/m-p/3097469#M631380</guid>
      <dc:creator>Paulo A G Fessel</dc:creator>
      <dc:date>2003-10-20T12:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: where from here: /dev/root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/where-from-here-dev-root/m-p/3097470#M631381</link>
      <description>Paulo,&lt;BR /&gt;&lt;BR /&gt;Your step about mirroring should be -m 0 b/c it is his Primary disk that is bad currently...&lt;BR /&gt; &lt;BR /&gt;However, he shouldnt need to worry about the mirror if he vgsync after making the disk bootable... &lt;BR /&gt;&lt;BR /&gt;Here is what I did once on a bad mirrored root disk that failed.&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 /dev/vg00/dump /dev/dsk/c4t6d0&lt;BR /&gt;lvreduce -m 0 /dev/vg00/var /dev/dsk/c4t6d0&lt;BR /&gt;lvreduce -m 0 /dev/vg00/stand /dev/dsk/c4t6d0&lt;BR /&gt;lvreduce -m 0 /dev/vg00/root /dev/dsk/c4t6d0&lt;BR /&gt;lvreduce -m 0 /dev/vg00/opt /dev/dsk/c4t6d0&lt;BR /&gt;lvreduce -m 0 /dev/vg00/usr /dev/dsk/c4t6d0&lt;BR /&gt;lvreduce -m 0 /dev/vg00/swap dev/dsk/c4t6d0&lt;BR /&gt;&lt;BR /&gt;vgreduce /dev/vg00 /dev/dsk/c4t6d0&lt;BR /&gt; &lt;BR /&gt;pvcreate -B /dev/rdsk/c4t6d0&lt;BR /&gt; &lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c4t6d0&lt;BR /&gt; &lt;BR /&gt;mkboot /dev/rdsk/c4t6d0 &lt;BR /&gt;&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/c4t6d0&lt;BR /&gt; &lt;BR /&gt;lifcp /dev/dsk/c4t6d0:AUTO&lt;BR /&gt; &lt;BR /&gt;mkboot -b updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c4t6d0&lt;BR /&gt; &lt;BR /&gt;mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c4t6d0&lt;BR /&gt; &lt;BR /&gt;vgcfgrestore -n /dev/vg00 /dev/rdsk/c4t6d0&lt;BR /&gt; &lt;BR /&gt;vgchange -a  y /dev/vg00&lt;BR /&gt; &lt;BR /&gt;vgsync /dev/vg00</description>
      <pubDate>Mon, 20 Oct 2003 13:29:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/where-from-here-dev-root/m-p/3097470#M631381</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2003-10-20T13:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: where from here: /dev/root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/where-from-here-dev-root/m-p/3097471#M631382</link>
      <description>Todd&lt;BR /&gt; &lt;BR /&gt;These are the steps to be taken AFTER the disk has been replaced.&lt;BR /&gt; &lt;BR /&gt;Cheers,&lt;BR /&gt;Paulo</description>
      <pubDate>Mon, 20 Oct 2003 13:54:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/where-from-here-dev-root/m-p/3097471#M631382</guid>
      <dc:creator>Paulo A G Fessel</dc:creator>
      <dc:date>2003-10-20T13:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: where from here: /dev/root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/where-from-here-dev-root/m-p/3097472#M631383</link>
      <description>Bojan --&lt;BR /&gt;&lt;BR /&gt;All that the entry of /dev/root means in your bdf is that at sometime you booted into -lm.&lt;BR /&gt;&lt;BR /&gt;It does not indicate corruption of any type and can be easily fixed once you do a clean reboot to multi-user mode.&lt;BR /&gt;&lt;BR /&gt;All you will need to do is to clear the mnttab.&lt;BR /&gt;&lt;BR /&gt;If you want to make a backup, then do:&lt;BR /&gt;&lt;BR /&gt;cd /etc&lt;BR /&gt;cp mnttab mnttab.bojan&lt;BR /&gt;rm mnttab&lt;BR /&gt;mount -a&lt;BR /&gt;&lt;BR /&gt;This will clear up the /dev/root line.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Kent M. Ostby&lt;BR /&gt;&lt;BR /&gt;PS with regards to booting -lm then going up, while it is not recommended, I havent seen any huge problems with it.&lt;BR /&gt;&lt;BR /&gt;I suggest that any changes you have made in that mode are fine.  Just do a clean reboot to make sure that it will all come up fine the next time.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Kent M. Ostby&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Oct 2003 14:00:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/where-from-here-dev-root/m-p/3097472#M631383</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2003-10-20T14:00:49Z</dc:date>
    </item>
  </channel>
</rss>

