<?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: Mirror disk failure in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762162#M259622</link>
    <description>Remove the disk after vgreduce.. (My mistake earlier tell after lvreduce).. &lt;BR /&gt;&lt;BR /&gt;Tx&lt;BR /&gt;Prashant</description>
    <pubDate>Thu, 30 Mar 2006 12:16:28 GMT</pubDate>
    <dc:creator>Prashant Zanwar_4</dc:creator>
    <dc:date>2006-03-30T12:16:28Z</dc:date>
    <item>
      <title>Mirror disk failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762151#M259611</link>
      <description>Houston..  I think there is a problem..  &lt;BR /&gt;&lt;BR /&gt;See out put of lvdisplay -v /dev&lt;BR /&gt;&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/VG01/lvola&lt;BR /&gt;VG Name                     /dev/VG01&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)            8676&lt;BR /&gt;Current LE                  2169&lt;BR /&gt;Allocated PE                4338&lt;BR /&gt;Stripes                     0&lt;BR /&gt;Stripe Size (Kbytes)        0&lt;BR /&gt;Bad block                   on&lt;BR /&gt;Allocation                  strict&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/c0t14d0   2169      2169&lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE   PV1                PE1  Status 1 PV2                PE2  Status 2&lt;BR /&gt; 0000 /dev/dsk/c0t14d0   0000 current  ???                0000 stale&lt;BR /&gt;   0001 /dev/dsk/c0t14d0   0001 current  ???                0001 stale&lt;BR /&gt;   0002 /dev/dsk/c0t14d0   0002 current  ???                0002 stale&lt;BR /&gt;   0003 /dev/dsk/c0t14d0   0003 current  ???                0003 stale&lt;BR /&gt;   0004 /dev/dsk/c0t14d0   0004 current  ???                0004 stale&lt;BR /&gt;   0005 /dev/dsk/c0t14d0   0005 current  ???                0005 stale&lt;BR /&gt;   0006 /dev/dsk/c0t14d0   0006 current  ???                0006 stale&lt;BR /&gt;   0007 /dev/dsk/c0t14d0   0007 current  ???                0007 stale&lt;BR /&gt;   0008 /dev/dsk/c0t14d0   0008 current  ???                0008 stale&lt;BR /&gt;   0009 /dev/dsk/c0t14d0   0009 current  ???                0009 stale&lt;BR /&gt;   0010 /dev/dsk/c0t14d0   0010 current  ???                0010 stale&lt;BR /&gt;   0011 /dev/dsk/c0t14d0   0011 current  ???                0011 stale&lt;BR /&gt;   0012 /dev/dsk/c0t14d0   0012 current  ???                0012 stale&lt;BR /&gt;   0013 /dev/dsk/c0t14d0   0013 current  ???                0013 stale&lt;BR /&gt;   0014 /dev/dsk/c0t14d0   0014 current  ???                0014 stale&lt;BR /&gt;   0015 /dev/dsk/c0t14d0   0015 current  ???                0015 stale&lt;BR /&gt;   0016 /dev/dsk/c0t14d0   0016 current  ???                0016 stale&lt;BR /&gt;   0017 /dev/dsk/c0t14d0   0017 current  ???                0017 stale&lt;BR /&gt;   0018 /dev/dsk/c0t14d0   0018 current  ???                0018 stale&lt;BR /&gt;   0019 /dev/dsk/c0t14d0   0019 current  ???                0019 stale&lt;BR /&gt;   0020 /dev/dsk/c0t14d0   0020 current  ???                0020 stale&lt;BR /&gt;   0021 /dev/dsk/c0t14d0   0021 current  ???                0021 stale&lt;BR /&gt;   0022 /dev/dsk/c0t14d0   0022 current  ???                0022 stale&lt;BR /&gt;&lt;BR /&gt;I think the disk which has failed is c0t15d0&lt;BR /&gt;&lt;BR /&gt;How do I remove the failed disk from the mirror until I get a new one?&lt;BR /&gt;&lt;BR /&gt;Many thanks for any help!!</description>
      <pubDate>Thu, 30 Mar 2006 08:42:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762151#M259611</guid>
      <dc:creator>markjr2006</dc:creator>
      <dc:date>2006-03-30T08:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror disk failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762152#M259612</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;read this first, &lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf" target="_blank"&gt;http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Check disk status using &lt;BR /&gt;ioscan -fnC disk &lt;BR /&gt;&lt;BR /&gt;If hotplugable disks, you can safely remove bad one without stopping your server. Check your server's characteristics for that.</description>
      <pubDate>Thu, 30 Mar 2006 08:58:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762152#M259612</guid>
      <dc:creator>Antonio Cardoso_1</dc:creator>
      <dc:date>2006-03-30T08:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror disk failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762153#M259613</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt; I think you have just lost the second hard disk of this mirror. To reduce the mirror you can use lvreduce with -m option. To remove mirror from a missing/failed PV you can use lvreduce with -m &amp;amp; -k option. &lt;BR /&gt;&lt;BR /&gt;See man lvreduce for further details.&lt;BR /&gt;&lt;BR /&gt;You can also remove missing hard disk from a vg by vgreduce with -f option.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Best of luck&lt;BR /&gt;Shahul</description>
      <pubDate>Thu, 30 Mar 2006 08:59:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762153#M259613</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2006-03-30T08:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror disk failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762154#M259614</link>
      <description>If disk is not bad you can do following: &lt;BR /&gt;&lt;BR /&gt;vgchange -a y &lt;VGNAME&gt; &lt;BR /&gt;&lt;BR /&gt;It will try to resynchronize your VG and get rid of stale extents.. &lt;BR /&gt;&lt;BR /&gt;dmesg will tell if disk is bad&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rdsk/&lt;DISK&gt; of=/dev/null bs=1024 - should not complete successfully if disk were bad..&lt;BR /&gt;&lt;BR /&gt;gud luk&lt;BR /&gt;Prashant&lt;/DISK&gt;&lt;/VGNAME&gt;</description>
      <pubDate>Thu, 30 Mar 2006 09:01:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762154#M259614</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2006-03-30T09:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror disk failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762155#M259615</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;As the disk is not available, then the lvreduce command will fail with an error that it could not query the physical volume. &lt;BR /&gt;&lt;BR /&gt;You can still remove the mirror copy, but you must specify the physical volume key rather than the name. You can get the key using lvdisplay with the â  k option.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Siva.</description>
      <pubDate>Thu, 30 Mar 2006 09:03:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762155#M259615</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2006-03-30T09:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror disk failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762156#M259616</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;use...&lt;BR /&gt;&lt;BR /&gt;# lvdisplay -v â  k /dev/VG01/lvola&lt;BR /&gt;&lt;BR /&gt;note down the key of the disk which shows "stale"&lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;#lvreduce -m 0 -A n â  k /dev/VG01/lvola &lt;KEY&gt;&lt;BR /&gt;&lt;BR /&gt;Now you are done !&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Siva.&lt;/KEY&gt;</description>
      <pubDate>Thu, 30 Mar 2006 09:10:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762156#M259616</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2006-03-30T09:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror disk failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762157#M259617</link>
      <description>lvreduce failed as noted.  &lt;BR /&gt;&lt;BR /&gt;Tried lvdisplay -v -k to obtain key and I'm not sure if this looks right?&lt;BR /&gt;&lt;BR /&gt;output of lvdisplay -v -k /dev/VG01/lvola&lt;BR /&gt;&lt;BR /&gt; 0000      0             0000 current       1             0000 stale&lt;BR /&gt;   0001      0             0001 current       1             0001 stale&lt;BR /&gt;   0002      0             0002 current       1             0002 stale&lt;BR /&gt;   0003      0             0003 current       1             0003 stale&lt;BR /&gt;   0004      0             0004 current       1             0004 stale&lt;BR /&gt;   0005      0             0005 current       1             0005 stale&lt;BR /&gt;   0006      0             0006 current       1             0006 stale&lt;BR /&gt;   0007      0             0007 current       1             0007 stale&lt;BR /&gt;   0008      0             0008 current       1             0008 stale&lt;BR /&gt;   0009      0             0009 current       1             0009 stale&lt;BR /&gt;   0010      0             0010 current       1             0010 stale&lt;BR /&gt;   0011      0             0011 current       1             0011 stale&lt;BR /&gt;   0012      0             0012 current       1             0012 stale&lt;BR /&gt;   0013      0             0013 current       1             0013 stale&lt;BR /&gt;   0014      0             0014 current       1             0014 stale&lt;BR /&gt;   0015      0             0015 current       1             0015 stale&lt;BR /&gt;   0016      0             0016 current       1             0016 stale&lt;BR /&gt;   0017      0             0017 current       1             0017 stale&lt;BR /&gt;   0018      0             0018 current       1             0018 stale&lt;BR /&gt;   0019      0             0019 current       1             0019 stale&lt;BR /&gt;   0020      0             0020 current       1             0020 stale&lt;BR /&gt;   0021      0             0021 current       1             0021 stale&lt;BR /&gt;   0022      0             0022 current       1             0022 stale&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;**Simakumar**&lt;BR /&gt;So I just wanted to make sure that I'm thinking correctly..  The key then would be "1" for the failed disk?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 30 Mar 2006 09:26:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762157#M259617</guid>
      <dc:creator>markjr2006</dc:creator>
      <dc:date>2006-03-30T09:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror disk failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762158#M259618</link>
      <description>lvreduce failed as noted.  &lt;BR /&gt;&lt;BR /&gt;Tried lvdisplay -v -k to obtain key and I'm not sure if this looks right?&lt;BR /&gt;&lt;BR /&gt;output of lvdisplay -v -k /dev/VG01/lvola&lt;BR /&gt;&lt;BR /&gt; 0000      0             0000 current       1             0000 stale&lt;BR /&gt;   0001      0             0001 current       1             0001 stale&lt;BR /&gt;   0002      0             0002 current       1             0002 stale&lt;BR /&gt;   0003      0             0003 current       1             0003 stale&lt;BR /&gt;   0004      0             0004 current       1             0004 stale&lt;BR /&gt;   0005      0             0005 current       1             0005 stale&lt;BR /&gt;   0006      0             0006 current       1             0006 stale&lt;BR /&gt;   0007      0             0007 current       1             0007 stale&lt;BR /&gt;   0008      0             0008 current       1             0008 stale&lt;BR /&gt;   0009      0             0009 current       1             0009 stale&lt;BR /&gt;   0010      0             0010 current       1             0010 stale&lt;BR /&gt;   0011      0             0011 current       1             0011 stale&lt;BR /&gt;   0012      0             0012 current       1             0012 stale&lt;BR /&gt;   0013      0             0013 current       1             0013 stale&lt;BR /&gt;   0014      0             0014 current       1             0014 stale&lt;BR /&gt;   0015      0             0015 current       1             0015 stale&lt;BR /&gt;   0016      0             0016 current       1             0016 stale&lt;BR /&gt;   0017      0             0017 current       1             0017 stale&lt;BR /&gt;   0018      0             0018 current       1             0018 stale&lt;BR /&gt;   0019      0             0019 current       1             0019 stale&lt;BR /&gt;   0020      0             0020 current       1             0020 stale&lt;BR /&gt;   0021      0             0021 current       1             0021 stale&lt;BR /&gt;   0022      0             0022 current       1             0022 stale&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;**Sivakumar**&lt;BR /&gt;So I just wanted to make sure that I'm thinking correctly..  The key then would be "1" for the failed disk?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 30 Mar 2006 09:27:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762158#M259618</guid>
      <dc:creator>markjr2006</dc:creator>
      <dc:date>2006-03-30T09:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror disk failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762159#M259619</link>
      <description>Furthermore...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v VG01&lt;BR /&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt; --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/VG01/lvola&lt;BR /&gt;   LV Status                   available/stale&lt;BR /&gt;   LV Size (Mbytes)            8676&lt;BR /&gt;   Current LE                  2169&lt;BR /&gt;   Allocated PE                4338&lt;BR /&gt;   Used PV                     1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t15d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c0t14d0&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    2170&lt;BR /&gt;   Free PE                     1&lt;BR /&gt;&lt;BR /&gt;Output of ioscan -fCdisk&lt;BR /&gt;Class     I  H/W Path    Driver      S/W State H/W Type  Description&lt;BR /&gt;=====================================================================&lt;BR /&gt;disk      2  8/0.1.0     sdisk       CLAIMED   DEVICE    SEAGATE ST318436LC&lt;BR /&gt;disk      3  8/0.2.0     sdisk       CLAIMED   DEVICE    SEAGATE ST318436LC&lt;BR /&gt;disk      6  8/0.14.0    sdisk       CLAIMED   DEVICE    SEAGATE ST39236LC&lt;BR /&gt;disk      0  8/16/5.2.0  sdisk       CLAIMED   DEVICE    TOSHIBA CD-ROM XM-6201A&lt;BR /&gt;disk      1  8/16/5.6.0  sdisk       CLAIMED   DEVICE    SEAGATE ST15150N&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Mar 2006 09:49:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762159#M259619</guid>
      <dc:creator>markjr2006</dc:creator>
      <dc:date>2006-03-30T09:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror disk failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762160#M259620</link>
      <description>You are on the device which is bad.. do you have backup of LV you are working with, if not back it up now... &lt;BR /&gt;&lt;BR /&gt;You are loosing c0t15d0 and after lvreduce you are on failing drive.. &lt;BR /&gt;&lt;BR /&gt;Now only bet is lvremove.. &lt;BR /&gt;&lt;BR /&gt;If I were you, i would have tried extending LV back, &lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vgname /dev/dsk/&lt;DISK&gt; .. &lt;BR /&gt;&lt;BR /&gt;then do lvreduce&lt;BR /&gt;&lt;BR /&gt;lvreduce -A n -m 0 -k /dev/vgname /dev/dsk/c0t15d0 (you have to tell in command what disk you want to get rid off..&lt;BR /&gt;&lt;BR /&gt;also &lt;BR /&gt;&lt;BR /&gt;vgreduce vgname /dev/dsk/c0t15d0 &lt;BR /&gt;&lt;BR /&gt;once lvreduce is done.. replace disk &lt;BR /&gt;&lt;BR /&gt;after disk is replaced.. do the follwoing&lt;BR /&gt;&lt;BR /&gt;pvcreate /dev/rdsk/c0t15d0 &lt;BR /&gt;vgextend /dev/vgname /dev/dsk/c0t15d0 &lt;BR /&gt;lvextend -m 1 /dev/vgname /dev/dsk/c0t15d0 &lt;BR /&gt;&lt;BR /&gt;If required restore contents of LV/FS.. &lt;BR /&gt;&lt;BR /&gt;You should be good now.. &lt;BR /&gt;&lt;BR /&gt;I am not sure if you will be able to backup data.. &lt;BR /&gt;&lt;BR /&gt;Please be cautious of every step you are taking&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Regards&lt;BR /&gt;Prashant&lt;/DISK&gt;</description>
      <pubDate>Thu, 30 Mar 2006 11:38:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762160#M259620</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2006-03-30T11:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror disk failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762161#M259621</link>
      <description>message for shahul: &lt;BR /&gt;Hey just add me in ur aol / yahoo: &lt;BR /&gt;Sorry for posting here&lt;BR /&gt;aol :- pzanwar&lt;BR /&gt;yahoo/hot :- pczanwar&lt;BR /&gt;&lt;BR /&gt;Thx &lt;BR /&gt;Prashant</description>
      <pubDate>Thu, 30 Mar 2006 11:46:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762161#M259621</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2006-03-30T11:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror disk failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762162#M259622</link>
      <description>Remove the disk after vgreduce.. (My mistake earlier tell after lvreduce).. &lt;BR /&gt;&lt;BR /&gt;Tx&lt;BR /&gt;Prashant</description>
      <pubDate>Thu, 30 Mar 2006 12:16:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-disk-failure/m-p/3762162#M259622</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2006-03-30T12:16:28Z</dc:date>
    </item>
  </channel>
</rss>

