<?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: Root disk issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-issue/m-p/4069253#M600933</link>
    <description>Dear Verma,&lt;BR /&gt;&lt;BR /&gt;If you have taken maketape recovery. Than I will suggest to restore the OS and them make the mirror again with the procedure give by our collegues. This will make the clean and reliable in the future.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Shardha</description>
    <pubDate>Wed, 12 Sep 2007 23:18:23 GMT</pubDate>
    <dc:creator>Shardha</dc:creator>
    <dc:date>2007-09-12T23:18:23Z</dc:date>
    <item>
      <title>Root disk issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-issue/m-p/4069249#M600929</link>
      <description>I have /rp4440 server with OS version HPUX11.11 . Also root vg was mirrored.&lt;BR /&gt;I am facing two issues on my root VG now&lt;BR /&gt;&lt;BR /&gt;1)Recently when checked the secondary disc was failed and disk was replaced. I did a pvcreate -B , mkboot and vgcfgrestore on new disk. Everythign went fine. But i am not able to sync the mirrored volume it says and " IO error " . The ioscan shows newdisk claimed. In disk info the disk is showing correct size and accessable properly.&lt;BR /&gt;But in vgdisplay secondary disk still shows pv not availbale.&lt;BR /&gt;2) Now When i do a lvlnboot -v , it is not showing primary as bootable.In case if i reboot the server will not come up at this state.Now i am not able to update lvlnboot also . It fails when i try to update.&lt;BR /&gt;&lt;BR /&gt;Could any one please suggest some solution for these issues.&lt;BR /&gt;I am attchaching the vgdispplay and lvlnboot command outputs.&lt;BR /&gt;&lt;BR /&gt;root@infsrv14:/root_home # vgdisplay -v /dev/vg00&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg00&lt;BR /&gt;VG Write Access             read/write&lt;BR /&gt;VG Status                   available&lt;BR /&gt;Max LV                      255&lt;BR /&gt;Cur LV                      10&lt;BR /&gt;Open LV                     10&lt;BR /&gt;Max PV                      16&lt;BR /&gt;Cur PV                      2&lt;BR /&gt;Act PV                      2&lt;BR /&gt;Max PE per PV               4384&lt;BR /&gt;VGDA                        4&lt;BR /&gt;PE Size (Mbytes)            16&lt;BR /&gt;Total PE                    8748&lt;BR /&gt;Alloc PE                    3525&lt;BR /&gt;Free PE                     5223&lt;BR /&gt;Total PVG                   0&lt;BR /&gt;Total Spare PVs             0&lt;BR /&gt;Total Spare PVs in use      0&lt;BR /&gt;&lt;BR /&gt;   --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/vg00/lvol1&lt;BR /&gt;   LV Status                   available/stale&lt;BR /&gt;   LV Size (Mbytes)            304&lt;BR /&gt;   Current LE                  19&lt;BR /&gt;   Allocated PE                38&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol2&lt;BR /&gt;   LV Status                   available/stale&lt;BR /&gt;   LV Size (Mbytes)            8208&lt;BR /&gt;   Current LE                  513&lt;BR /&gt;   Allocated PE                1026&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol3&lt;BR /&gt;   LV Status                   available/stale&lt;BR /&gt;   LV Size (Mbytes)            208&lt;BR /&gt;   Current LE                  13&lt;BR /&gt;   Allocated PE                26&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol4&lt;BR /&gt;   LV Status                   available/stale&lt;BR /&gt;   LV Size (Mbytes)            208&lt;BR /&gt;   Current LE                  13&lt;BR /&gt;   Allocated PE                26&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;  LV Name                     /dev/vg00/lvol5&lt;BR /&gt;   LV Status                   available/stale&lt;BR /&gt;   LV Size (Mbytes)            4000&lt;BR /&gt;   Current LE                  250&lt;BR /&gt;   Allocated PE                500&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol6&lt;BR /&gt;   LV Status                   available/stale&lt;BR /&gt;   LV Size (Mbytes)            2912&lt;BR /&gt;   Current LE                  182&lt;BR /&gt;   Allocated PE                364&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol7&lt;BR /&gt;   LV Status                   available/stale&lt;BR /&gt;   LV Size (Mbytes)            4000&lt;BR /&gt;   Current LE                  250&lt;BR /&gt;   Allocated PE                500&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol8&lt;BR /&gt;   LV Status                   available/stale&lt;BR /&gt;   LV Size (Mbytes)            4112&lt;BR /&gt;   Current LE                  257&lt;BR /&gt;   Allocated PE                514&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol9&lt;BR /&gt;   LV Status                   available/stale&lt;BR /&gt;   LV Size (Mbytes)            4096&lt;BR /&gt;   Current LE                  256&lt;BR /&gt;   Allocated PE                512&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol10&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            304&lt;BR /&gt;   Current LE                  19&lt;BR /&gt;   Allocated PE                19&lt;BR /&gt;   Used PV                     1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c2t1d0&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    4374&lt;BR /&gt;   Free PE                     2602&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c2t0d0&lt;BR /&gt;   PV Status                   unavailable&lt;BR /&gt;   Total PE                    4374&lt;BR /&gt;   Free PE                     2621&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;root@infsrv14:/root_home # lvdisplay -v /dev/vg00/lvol3 |more&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg00/lvol3&lt;BR /&gt;VG Name                     /dev/vg00&lt;BR /&gt;LV Permission               read/write&lt;BR /&gt;LV Status                   available/stale&lt;BR /&gt;Mirror copies               1&lt;BR /&gt;Consistency Recovery        MWC&lt;BR /&gt;Schedule                    parallel&lt;BR /&gt;LV Size (Mbytes)            208&lt;BR /&gt;Current LE                  13&lt;BR /&gt;Allocated PE                26&lt;BR /&gt;Stripes                     0&lt;BR /&gt;Stripe Size (Kbytes)        0&lt;BR /&gt;Bad block                   off&lt;BR /&gt;Allocation                  strict/contiguous&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name            LE on PV  PE on PV&lt;BR /&gt;   /dev/dsk/c2t1d0    13        13&lt;BR /&gt;   /dev/dsk/c2t0d0    13        13&lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE    PV1                PE1   Status 1 PV2                PE2   Status 2&lt;BR /&gt;   00000 /dev/dsk/c2t1d0    00532 current  /dev/dsk/c2t0d0    00532 stale&lt;BR /&gt;   00001 /dev/dsk/c2t1d0    00533 current  /dev/dsk/c2t0d0    00533 stale&lt;BR /&gt;   00002 /dev/dsk/c2t1d0    00534 current  /dev/dsk/c2t0d0    00534 stale&lt;BR /&gt;   00003 /dev/dsk/c2t1d0    00535 current  /dev/dsk/c2t0d0    00535 stale&lt;BR /&gt;   00004 /dev/dsk/c2t1d0    00536 current  /dev/dsk/c2t0d0    00536 stale&lt;BR /&gt;   00005 /dev/dsk/c2t1d0    00537 current  /dev/dsk/c2t0d0    00537 stale&lt;BR /&gt;   00006 /dev/dsk/c2t1d0    00538 current  /dev/dsk/c2t0d0    00538 stale&lt;BR /&gt;   00007 /dev/dsk/c2t1d0    00539 current  /dev/dsk/c2t0d0    00539 stale&lt;BR /&gt;   00008 /dev/dsk/c2t1d0    00540 current  /dev/dsk/c2t0d0    00540 current&lt;BR /&gt;   00009 /dev/dsk/c2t1d0    00541 current  /dev/dsk/c2t0d0    00541 current&lt;BR /&gt;   00010 /dev/dsk/c2t1d0    00542 current  /dev/dsk/c2t0d0    00542 current&lt;BR /&gt;   00011 /dev/dsk/c2t1d0    00543 current  /dev/dsk/c2t0d0    00543 current&lt;BR /&gt;   00012 /dev/dsk/c2t1d0    00544 current  /dev/dsk/c2t0d0    00544 stale&lt;BR /&gt;&lt;BR /&gt;root@infsrv14:/root_home # lvlnboot -v&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/c2t1d0 (0/1/1/0.1.0)&lt;BR /&gt;        /dev/dsk/c2t0d0 (0/1/1/0.0.0) -- Boot Disk&lt;BR /&gt;No Boot Logical Volume configured&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c2t1d0&lt;BR /&gt;                        /dev/dsk/c2t0d0&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c2t1d0&lt;BR /&gt;                        /dev/dsk/c2t0d0&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c2t1d0, 0&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Sep 2007 02:42:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-issue/m-p/4069249#M600929</guid>
      <dc:creator>Sudheesh Varma VK</dc:creator>
      <dc:date>2007-09-12T02:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-issue/m-p/4069250#M600930</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;rebuild mirrors following complete procedure. You have performed some but not all steps.&lt;BR /&gt;&lt;BR /&gt;pvcreate -B /dev/rdsk/c1t0d0 #use real disk&lt;BR /&gt;&lt;BR /&gt;mkboot -l /dev/rdsk/c1t0d0&lt;BR /&gt;mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;If you are running 64-bit OS:&lt;BR /&gt;&lt;BR /&gt;# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0&lt;BR /&gt;&lt;BR /&gt;# real disk. repeat for other lvols&lt;BR /&gt;&lt;BR /&gt;lvlnboot -r /dev/vg00/lvol3 # root fs /&lt;BR /&gt;lvlnboot -s /dev/vg00/lvol2 #swap&lt;BR /&gt;lvlnboot -d /dev/vg00/lvol2 #swap/dump&lt;BR /&gt;lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;lvlnboot -R&lt;BR /&gt;lvlnboot -v&lt;BR /&gt;setboot&lt;BR /&gt;setboot -a 52.1.0 # second disk&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 12 Sep 2007 04:01:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-issue/m-p/4069250#M600930</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-09-12T04:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-issue/m-p/4069251#M600931</link>
      <description>How to replace failed mirror of a disk        &lt;BR /&gt;&lt;BR /&gt;For a root disk: &lt;BR /&gt;&lt;BR /&gt;After failed disk has been replaced by HP (assuming the disk is c1t5d0):&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n /dev/vg00 /dev/rdsk/c1t5d0&lt;BR /&gt;&lt;BR /&gt;mkboot /dev/rdsk/c1t5d0&lt;BR /&gt;&lt;BR /&gt;mkboot -a "hpux -lq (;0) /stand/vmunix" /dev/rdsk/c1t5d0&lt;BR /&gt;&lt;BR /&gt;vgchange -a y /dev/vg00&lt;BR /&gt;&lt;BR /&gt;lvlnboot -Rv /dev/vg00&lt;BR /&gt;&lt;BR /&gt;vgsync /dev/vg00&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;For a non root disk:&lt;BR /&gt;&lt;BR /&gt;After failed disk has been replaced by HP (assuming the disk is c1t6d0):&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n /dev/vg00 /dev/rdsk/c1t6d0&lt;BR /&gt;&lt;BR /&gt;vgchange -a y /dev/vg00&lt;BR /&gt;&lt;BR /&gt;lvlnboot -Rv /dev/vg00&lt;BR /&gt;&lt;BR /&gt;vgsync /dev/vg00&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;Note:&lt;BR /&gt;1) If the disk is completely "dead", such as if you run ioscan and status is "no_hw" then you can hot swap the disk online.&lt;BR /&gt;&lt;BR /&gt;2) However in circumstances where the disk has not fully failed please do one of the following to avoid data corruption :&lt;BR /&gt;&lt;BR /&gt;a) reduce mirror before replacing the disk&lt;BR /&gt;b) deactivate VG before replacing the disk&lt;BR /&gt;c) shutdown system to replace the disk&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;How to mirror the root disk         &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;Say /dev/dsk/c0t6d0 is the root disk and /dev/dsk/c3t6d0 is the disk you want to make a mirror of.&lt;BR /&gt;&lt;BR /&gt;1. Create a bootable LVM disk to be used for the mirror.&lt;BR /&gt;pvcreate -B /dev/rdsk/c3t6d0&lt;BR /&gt;2. Add this disk to the current root volume group.&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c3t6d0&lt;BR /&gt;3. Make the new disk a boot disk.&lt;BR /&gt;mkboot -l /dev/rdsk/c3t6d0&lt;BR /&gt;4. Copy the correct AUTO file into the new LIF area.&lt;BR /&gt;mkboot -a "hpux -lq (;0)/vmunix" /dev/rdsk/c3t6d0&lt;BR /&gt;5. Mirror the boot, root and primary swap logical volumes to the new&lt;BR /&gt;bootable disk. Ensure that all devices in vg00, such as /usr, /swap,&lt;BR /&gt;etc., are mirrored.&lt;BR /&gt;The following is an example of mirroring the boot logical volume:&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c3t6d0&lt;BR /&gt;The following is an example of mirroring the primary swap logical&lt;BR /&gt;volume:&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c3t6d0&lt;BR /&gt;The following is an example of mirroring the root logical volume:&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c3t6d0&lt;BR /&gt;6. Update the boot information contained in the BDRA for the mirror&lt;BR /&gt;copies of boot, primary swap and root.&lt;BR /&gt;/usr/sbin/lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;/usr/sbin/lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt;/usr/sbin/lvlnboot -r /dev/vg00/lvol3&lt;BR /&gt;7. Check if the BDRA is correct.&lt;BR /&gt;/usr/sbin/lvlnboot -R /dev/vg00&lt;BR /&gt;8. Verify that the mirrors were properly created.&lt;BR /&gt;lvlnboot -v /dev/vg00&lt;BR /&gt;The output of this command is shown in a display like the following:&lt;BR /&gt;Boot Definitions for Volume Group /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/c0t6d0 (1/0/0/3/0.6.0) -- Boot Disk&lt;BR /&gt;/dev/dsk/c3t6d0 (1/0/1/0/0/1/1.6.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1 on: /dev/dsk/c0t6d0&lt;BR /&gt;/dev/dsk/c3t6d0&lt;BR /&gt;Root: lvol3 on: /dev/dsk/c0t6d0&lt;BR /&gt;/dev/dsk/c3t6d0&lt;BR /&gt;Swap: lvol2 on: /dev/dsk/c0t6d0&lt;BR /&gt;/dev/dsk/c3t6d0&lt;BR /&gt;Dump: lvol2 on: /dev/dsk/c0t6d0, 0&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v vg00&lt;BR /&gt;&lt;BR /&gt;Then lvextend for all other lvols:&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol9 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol10 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol11 /dev/dsk/c3t6d0&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 12 Sep 2007 08:41:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-issue/m-p/4069251#M600931</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-09-12T08:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-issue/m-p/4069252#M600932</link>
      <description>Perhaps you have OLR.  Try:&lt;BR /&gt;&lt;BR /&gt;pvchange -a y /dev/dsk/c2t0d0&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Sep 2007 10:29:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-issue/m-p/4069252#M600932</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2007-09-12T10:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-issue/m-p/4069253#M600933</link>
      <description>Dear Verma,&lt;BR /&gt;&lt;BR /&gt;If you have taken maketape recovery. Than I will suggest to restore the OS and them make the mirror again with the procedure give by our collegues. This will make the clean and reliable in the future.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Shardha</description>
      <pubDate>Wed, 12 Sep 2007 23:18:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-issue/m-p/4069253#M600933</guid>
      <dc:creator>Shardha</dc:creator>
      <dc:date>2007-09-12T23:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-issue/m-p/4069254#M600934</link>
      <description>can you run dd command on the 2 disks first to confirm the disks are ok?&lt;BR /&gt;&lt;BR /&gt;#dd if=/dev/rdsk/c2t1d0 of=/dev/null bs=1024k&lt;BR /&gt;#dd if=/dev/rdsk/c2t0d0 of=/dev/null bs=1024k&lt;BR /&gt;&lt;BR /&gt;only then try on the lvm commands given.</description>
      <pubDate>Thu, 13 Sep 2007 05:54:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-issue/m-p/4069254#M600934</guid>
      <dc:creator>tkc</dc:creator>
      <dc:date>2007-09-13T05:54:52Z</dc:date>
    </item>
  </channel>
</rss>

