<?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: Dealing with stale extents (I/O error) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886625#M613045</link>
    <description>If this is just two disks for VG00 and there is a bad spot on one disk, the rest of the extents will remain current until you replace the disk. When you replace the disk, *EVERY* extent on the replacement disk is stale. Now stale does not mean "unreadable data", it means "un-synced data". In other words, you took a disk that was mostly up to date with matching extents and replaced it with a disk where nothing on the disk matches anything on the working disk. So naturally, every lvol is stale. Just run lvsync and it will bring everything back in sync. This is absolutely normal.&lt;BR /&gt; &lt;BR /&gt;NOTE: Since this is VG00, the replaced disk must be restored with boot information too. This is not accomplished with lvsync because the boot area is not part of an lvol.</description>
    <pubDate>Wed, 25 Oct 2006 19:45:58 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2006-10-25T19:45:58Z</dc:date>
    <item>
      <title>Dealing with stale extents (I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886619#M613039</link>
      <description>I recieved an EMS message stating that the disk at 0/1/1/0.1.0 (c2t1d0) was goin bad. I read through the forums here and did the vgdisplay and found lvol3 to be stale. I then ran the lvdisplay for that lvol and found 2 stale extents. I received a new drive via support and I ran lvdisplay on all lvols for vg00. The mirrored drive 0/1/1/1.0.0 (c3t0d0) had all extents current. &lt;BR /&gt;&lt;BR /&gt;I went ahead and broke the mirrors, reduced the bad disk out of the vg, replace, did the pvcreate, vgextend and mkboot commands. I then started to remirror the lvols. Now, I have three lvols (lvol3, lvol7 and lvol8) that are reporting stale extents and wont sync. &lt;BR /&gt;&lt;BR /&gt;What course of action do I have? Tape restore?</description>
      <pubDate>Wed, 25 Oct 2006 13:08:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886619#M613039</guid>
      <dc:creator>Mike Keys</dc:creator>
      <dc:date>2006-10-25T13:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with stale extents (I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886620#M613040</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;lvsync sometimes helps. If not, you may need to destroy the logical volumes and restore the data form tape.&lt;BR /&gt;&lt;BR /&gt;Sorry.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 25 Oct 2006 13:15:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886620#M613040</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-10-25T13:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with stale extents (I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886621#M613041</link>
      <description>I just ran the following command:&lt;BR /&gt;echo 2400?20x | adb {device name}&lt;BR /&gt;for both disks. Can someone explain the output to me?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This is the output from the drive that had all of its extents current before I broke the mirrors and replaced the "bad" drive.&lt;BR /&gt;&lt;BR /&gt;# echo 2400?20x | adb /dev/dsk/c3t0d0&lt;BR /&gt;2400:           4445    4645    4354    3031    0xB0C9  0xF598  8000    0&lt;BR /&gt;                0xB046  3260    8000    0       0xB0B2  3F60    8000    0&lt;BR /&gt;                0xB0C6  0xAC60  8000    0&lt;BR /&gt;&lt;BR /&gt;This is the output from the replaced drive and is still reporting stale extents. &lt;BR /&gt;&lt;BR /&gt;# echo 2400?20x | adb /dev/dsk/c2t1d0&lt;BR /&gt;2400:           4445    4645    4354    3031    0       0       0       0&lt;BR /&gt;                0       0       0       0       0       0       0       0&lt;BR /&gt;                0       0       0       0</description>
      <pubDate>Wed, 25 Oct 2006 13:18:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886621#M613041</guid>
      <dc:creator>Mike Keys</dc:creator>
      <dc:date>2006-10-25T13:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with stale extents (I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886622#M613042</link>
      <description>I don't get it. If the stale extents were on the bad drive while the mirrored drive was current, why would I see stale extents on the replaced drive? &lt;BR /&gt;&lt;BR /&gt;It seems to me that if everything was good on the mirrored drive, then the extents should sync right back up.</description>
      <pubDate>Wed, 25 Oct 2006 13:29:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886622#M613042</guid>
      <dc:creator>Mike Keys</dc:creator>
      <dc:date>2006-10-25T13:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with stale extents (I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886623#M613043</link>
      <description>Could it be possible that the replacement disk I was sent is also bad? I only ask because before I replaced the bad disk, only lvol3 (/) was stale. Now I have lvol3 (/), lvol7 (/usr) and lvol8 (/var) stale as well.</description>
      <pubDate>Wed, 25 Oct 2006 14:53:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886623#M613043</guid>
      <dc:creator>Mike Keys</dc:creator>
      <dc:date>2006-10-25T14:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with stale extents (I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886624#M613044</link>
      <description>What's your patching level like? Is it up to date?&lt;BR /&gt;It sounds like a mirroring issue.&lt;BR /&gt;flg</description>
      <pubDate>Wed, 25 Oct 2006 18:54:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886624#M613044</guid>
      <dc:creator>florin_10</dc:creator>
      <dc:date>2006-10-25T18:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with stale extents (I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886625#M613045</link>
      <description>If this is just two disks for VG00 and there is a bad spot on one disk, the rest of the extents will remain current until you replace the disk. When you replace the disk, *EVERY* extent on the replacement disk is stale. Now stale does not mean "unreadable data", it means "un-synced data". In other words, you took a disk that was mostly up to date with matching extents and replaced it with a disk where nothing on the disk matches anything on the working disk. So naturally, every lvol is stale. Just run lvsync and it will bring everything back in sync. This is absolutely normal.&lt;BR /&gt; &lt;BR /&gt;NOTE: Since this is VG00, the replaced disk must be restored with boot information too. This is not accomplished with lvsync because the boot area is not part of an lvol.</description>
      <pubDate>Wed, 25 Oct 2006 19:45:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886625#M613045</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-10-25T19:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with stale extents (I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886626#M613046</link>
      <description>Bill, I did run lvsync.....many times. It will not resync the lvols that are stale. I keep getting an I/O error. &lt;BR /&gt;&lt;BR /&gt;Read my initial post. After replacing the hard drive, I ran pvcreate, vgextend and mkboot.</description>
      <pubDate>Wed, 25 Oct 2006 20:56:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886626#M613046</guid>
      <dc:creator>Mike Keys</dc:creator>
      <dc:date>2006-10-25T20:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with stale extents (I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886627#M613047</link>
      <description>Sorry, I did not understand that the new disk is reporting I/O errors. There is nothing you can do with LVM to fix I/O errors because they are due to a hardware failure. Is lvsync terminating with an I/O error? If yes, the replacement disk is apparently no good. This should be confirmed in syslog.</description>
      <pubDate>Wed, 25 Oct 2006 21:06:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886627#M613047</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-10-25T21:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with stale extents (I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886628#M613048</link>
      <description>Sorry, I did not understand that the new disk is also reporting I/O errors. There is nothing you can do with LVM to fix I/O errors because they are due to a hardware failure. Is lvsync terminating with an I/O error? If yes, the replacement disk is apparently no good. This can be confirmed in syslog.</description>
      <pubDate>Wed, 25 Oct 2006 21:08:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886628#M613048</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-10-25T21:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with stale extents (I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886629#M613049</link>
      <description>Mike,&lt;BR /&gt;&lt;BR /&gt;As said STALE does not mean it's bad news in most cases but another way to try if a disk is no good, which I use, is the following command - HPUX-&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rdsk/c?t?d?  of=/dev/null bs=1024 count=1&lt;BR /&gt;&lt;BR /&gt;This may take time to complete but it will indicate a failing disk that the ioscan command may not pick up.&lt;BR /&gt;&lt;BR /&gt;hope this helps.&lt;BR /&gt;kyris</description>
      <pubDate>Thu, 26 Oct 2006 01:25:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886629#M613049</guid>
      <dc:creator>Kyris</dc:creator>
      <dc:date>2006-10-26T01:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with stale extents (I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886630#M613050</link>
      <description>Mike,&lt;BR /&gt;&lt;BR /&gt;Have you tried to take the disk out and put it back, might need a re-spin.&lt;BR /&gt;Have you tested the disk, to see it's not a DOA. &lt;BR /&gt;What's the exact error you get on the 3 lvols? &lt;BR /&gt;- Do you've SCSI errors in your syslog?&lt;BR /&gt;- What's the result of pvdisplay/diskinfo?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Darrel&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Oct 2006 02:19:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886630#M613050</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2006-10-26T02:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with stale extents (I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886631#M613051</link>
      <description>Here is the output from pvdisplay that I ran on the new disk I just put in.&lt;BR /&gt;&lt;BR /&gt;pvdisplay -v /dev/dsk/c2t1d0|grep stale&lt;BR /&gt;   00561 stale    /dev/vg00/lvol3    00011 &lt;BR /&gt;   01425 stale    /dev/vg00/lvol7    00000 &lt;BR /&gt;   01589 stale    /dev/vg00/lvol7    00164 &lt;BR /&gt;   01615 stale    /dev/vg00/lvol8    00002 &lt;BR /&gt;   01621 stale    /dev/vg00/lvol8    00008&lt;BR /&gt;&lt;BR /&gt;The stale extents match up with what I am seeing when I run lvdisplay. &lt;BR /&gt;&lt;BR /&gt;There are no stale extents on the other drive.</description>
      <pubDate>Thu, 26 Oct 2006 08:06:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886631#M613051</guid>
      <dc:creator>Mike Keys</dc:creator>
      <dc:date>2006-10-26T08:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with stale extents (I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886632#M613052</link>
      <description>A 1MB read of the disk shows o.k.&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/dsk/c2t1d0 of=/dev/null bs=1024 count=1&lt;BR /&gt;1+0 records in&lt;BR /&gt;1+0 records out&lt;BR /&gt;&lt;BR /&gt;I can run it for he entire disk but it will take up to 2 hours to finish.</description>
      <pubDate>Thu, 26 Oct 2006 08:08:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886632#M613052</guid>
      <dc:creator>Mike Keys</dc:creator>
      <dc:date>2006-10-26T08:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with stale extents (I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886633#M613053</link>
      <description>Well, it finished quicker than I thought.&lt;BR /&gt;&lt;BR /&gt;# dd if=/dev/dsk/c2t1d0 of=/dev/null bs=1024 &lt;BR /&gt;35566480+0 records in&lt;BR /&gt;35566480+0 records out&lt;BR /&gt;&lt;BR /&gt;I'll run against other disk as well and report back.</description>
      <pubDate>Thu, 26 Oct 2006 08:26:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886633#M613053</guid>
      <dc:creator>Mike Keys</dc:creator>
      <dc:date>2006-10-26T08:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with stale extents (I/O error)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886634#M613054</link>
      <description>Just a note about dd. Any blocksize less than 32k will run very slowly. Try this:&lt;BR /&gt; &lt;BR /&gt;dd if=/dev/dsk/c2t1d0 of=/dev/null bs=256k&lt;BR /&gt; &lt;BR /&gt;I think you'll find 64k to 512k significantly faster.</description>
      <pubDate>Thu, 26 Oct 2006 08:43:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dealing-with-stale-extents-i-o-error/m-p/3886634#M613054</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-10-26T08:43:43Z</dc:date>
    </item>
  </channel>
</rss>

