<?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 to simulate disk failure ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717971#M617949</link>
    <description>Just give it time the disk will fail on it's own :)</description>
    <pubDate>Thu, 26 Jan 2006 11:57:36 GMT</pubDate>
    <dc:creator>Paul Sperry</dc:creator>
    <dc:date>2006-01-26T11:57:36Z</dc:date>
    <item>
      <title>How to simulate disk failure ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717964#M617942</link>
      <description>Hi !&lt;BR /&gt;&lt;BR /&gt;I have configuration:&lt;BR /&gt;vg01 has 2 physical volume groupe: PVG0, PVG1&lt;BR /&gt;PVG0 (c0t0d0, c0t1d0)&lt;BR /&gt;PVG1 (c4t0d0, c4t1d0)&lt;BR /&gt;&lt;BR /&gt;LV's was created in vg01 with Extent-Based Mirrored Stripes:&lt;BR /&gt;lvcreate -D y -s g -m1 -l 100 /dev/vg01&lt;BR /&gt;&lt;BR /&gt;I want to check what hapend when 1 disk failing.&lt;BR /&gt;&lt;BR /&gt;How can I simulate disk failure ?&lt;BR /&gt;I don't want to remove disk from machine!&lt;BR /&gt;Is pvcreate -f /dev/rdsk/c0t0d0 good idea ?&lt;BR /&gt;&lt;BR /&gt;Thx for help!&lt;BR /&gt;KRI</description>
      <pubDate>Thu, 26 Jan 2006 08:35:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717964#M617942</guid>
      <dc:creator>KRI</dc:creator>
      <dc:date>2006-01-26T08:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to simulate disk failure ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717965#M617943</link>
      <description>Are these disks hot swappable, allowing you  to pull one out to simulate failure?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 26 Jan 2006 08:40:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717965#M617943</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-01-26T08:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to simulate disk failure ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717966#M617944</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;pvcreate -f is not a solution.&lt;BR /&gt;The only good way to simulate if failure is power down or remove the disk from the array</description>
      <pubDate>Thu, 26 Jan 2006 08:41:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717966#M617944</guid>
      <dc:creator>Luk Vandenbussche</dc:creator>
      <dc:date>2006-01-26T08:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to simulate disk failure ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717967#M617945</link>
      <description>KRI,&lt;BR /&gt;&lt;BR /&gt;I think the command will fail. If it does not, it is possible that it will lock the machine, or force the machine to fail.&lt;BR /&gt;&lt;BR /&gt;If you have raid 1 (lxextend -m 1 ) mirroring, it might survive.&lt;BR /&gt;&lt;BR /&gt;I tested this successfully in the US. I shut the system down and booted it while pulling out one of the hot sway drives. It ran normally and then I plugged the drive in. It was discovered and the OS synced up itself.&lt;BR /&gt;&lt;BR /&gt;I recommend against use of your proposed test, it could destroy data and make it impossible for your mirrors to sync. You'd then be forced to redo mirroring from scratch on the system. I think it won't work, but do not like what the impact would be if it does.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 26 Jan 2006 08:51:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717967#M617945</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-01-26T08:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to simulate disk failure ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717968#M617946</link>
      <description>Hi there.&lt;BR /&gt;I would not perform that test. Do as the others said, pull the disk and reinsert it.&lt;BR /&gt;Your test is pretty dangerous to your data and disk.&lt;BR /&gt;Rgds&lt;BR /&gt;Alexander M. Ermes</description>
      <pubDate>Thu, 26 Jan 2006 09:02:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717968#M617946</guid>
      <dc:creator>Alexander M. Ermes</dc:creator>
      <dc:date>2006-01-26T09:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to simulate disk failure ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717969#M617947</link>
      <description>Hi :&lt;BR /&gt;&lt;BR /&gt;First, 'pvcreate' (forced or not) will not work if the volume in question exists in '/etc/lvmtab', so that is not an option.&lt;BR /&gt;&lt;BR /&gt;Secondly, as noted, brutally disconnecting a running disk might lead you into more problems than the test was worth.&lt;BR /&gt;&lt;BR /&gt;If this was a mirrored vg00 set, then, I would suggest that you use prove that you could boot from either mirrored set.  Otherwise, I would ask, "what's-to-check?".  If your logical volumes are synchronized (use 'lvdisplay -v' to check), then why can't you trust the product?&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 26 Jan 2006 09:07:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717969#M617947</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-01-26T09:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to simulate disk failure ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717970#M617948</link>
      <description>Well, I never trust that software is going to do what the vendor says. I'm more of a "trust but verify" kind of guy. However, testing on a production box is state of the art stupid; that is what sandboxes are for. The only real way to test a drive failure is with a drive failure. That means yanking the drive if it's a hot plug drive or powering it down otherwise. In any event, anyone using Mirror/UX should use only hot-plug drives otherwise a shutdown is required to fix the problem. I have not shutdown a machine to replace a drive in well over 7 years. I have literally pulled hot plug drives hundreds of time w/o damage.&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jan 2006 10:54:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717970#M617948</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-01-26T10:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to simulate disk failure ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717971#M617949</link>
      <description>Just give it time the disk will fail on it's own :)</description>
      <pubDate>Thu, 26 Jan 2006 11:57:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717971#M617949</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2006-01-26T11:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to simulate disk failure ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717972#M617950</link>
      <description>Hi again !&lt;BR /&gt;&lt;BR /&gt;Thank all of You for help me!&lt;BR /&gt;&lt;BR /&gt;Now I know the only one way to simulate disk failure is power down or remove the disk from the array.&lt;BR /&gt;&lt;BR /&gt;Thx!&lt;BR /&gt;Regards! &lt;BR /&gt;KRI</description>
      <pubDate>Fri, 27 Jan 2006 09:17:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717972#M617950</guid>
      <dc:creator>KRI</dc:creator>
      <dc:date>2006-01-27T09:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to simulate disk failure ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717973#M617951</link>
      <description>U can simulate failure of disk using the following command:&lt;BR /&gt;dd if=/dev/null of=disk path b=1024K count=12&lt;BR /&gt;So after this if u run some query or write or read some data then u'll find some stale extend on the disk on which u run this dd.&lt;BR /&gt;After that u have restore the vgcfgbackup on that particular disk. Ur data will be safe so don't worry abt the data.</description>
      <pubDate>Wed, 01 Feb 2006 01:45:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-disk-failure/m-p/3717973#M617951</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2006-02-01T01:45:31Z</dc:date>
    </item>
  </channel>
</rss>

