<?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 Way to simulate disk failure and recovery using the simulator in Simulator Discussions</title>
    <link>https://community.netapp.com/t5/Simulator-Discussions/Way-to-simulate-disk-failure-and-recovery-using-the-simulator/m-p/125330#M2020</link>
    <description>&lt;P&gt;Is there a way to simulate disk failure and recovery operations using the simulator?&lt;/P&gt;&lt;P&gt;I am new to using the simulator, but, I want to use the simulator to train other admins on the proper procedures for disk recovery, ha takeover ops, etc...&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 18:18:01 GMT</pubDate>
    <dc:creator>speck1987</dc:creator>
    <dc:date>2025-06-04T18:18:01Z</dc:date>
    <item>
      <title>Way to simulate disk failure and recovery using the simulator</title>
      <link>https://community.netapp.com/t5/Simulator-Discussions/Way-to-simulate-disk-failure-and-recovery-using-the-simulator/m-p/125330#M2020</link>
      <description>&lt;P&gt;Is there a way to simulate disk failure and recovery operations using the simulator?&lt;/P&gt;&lt;P&gt;I am new to using the simulator, but, I want to use the simulator to train other admins on the proper procedures for disk recovery, ha takeover ops, etc...&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 18:18:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Simulator-Discussions/Way-to-simulate-disk-failure-and-recovery-using-the-simulator/m-p/125330#M2020</guid>
      <dc:creator>speck1987</dc:creator>
      <dc:date>2025-06-04T18:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Way to simulate disk failure and recovery using the simulator</title>
      <link>https://community.netapp.com/t5/Simulator-Discussions/Way-to-simulate-disk-failure-and-recovery-using-the-simulator/m-p/125331#M2021</link>
      <description>&lt;P&gt;There are commands in the nodeshell to simulate removal and insertion of disks which can be used for some of that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;disk simpush and disk simpull are avilable in the nodeshell in ONTAP or in the 7mode cli. for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;disk simpull v4.16&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;disk simpull simulates the hot removal of a drive, which will force a raid rebuild and consuption of a spare disk. &amp;nbsp;under the covers, it moves it from&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/sim/dev/,disks&lt;/PRE&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/sim/dev/,disks/,pulled&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you are ready to put it back, you need its name. &amp;nbsp;You can list all the pulled disks with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;disk simpush -l&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will look something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;demo1&amp;gt; disk simpush -l


The following pulled disks are available for pushing:
         v1.32:NETAPP__:VD-1000MB-FZ-520:14370813:2104448
         v0.16:NETAPP__:VD-1000MB-FZ-520:11980700:2104448
demo1&amp;gt; &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you are ready to put it back use its full name on the simpush command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;demo1&amp;gt; disk simpush v0.16:NETAPP__:VD-1000MB-FZ-520:11980700:2104448&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The simpull and simpush commands only work on simulators that use file based simulated disks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2016 23:25:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Simulator-Discussions/Way-to-simulate-disk-failure-and-recovery-using-the-simulator/m-p/125331#M2021</guid>
      <dc:creator>SeanHatfield</dc:creator>
      <dc:date>2016-11-11T23:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Way to simulate disk failure and recovery using the simulator</title>
      <link>https://community.netapp.com/t5/Simulator-Discussions/Way-to-simulate-disk-failure-and-recovery-using-the-simulator/m-p/125353#M2022</link>
      <description>&lt;P&gt;When we comission new filers we use the following commands to fail a disk&lt;/P&gt;&lt;P&gt;Note: we are running ONTAP 8.3.1 or newer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Test – Disk Failure&lt;/P&gt;&lt;P&gt;Run the command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;storage disk fail –disk {disk_name} –immediate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The disk fails and the storage system will operate in degraded mode until the RAID system reconstructs from a hot spare.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can see that the disk is shown as failed using the command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;storage disk show -broken&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To unfail the disk and return it back into the pool of spares&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;priv set advanced&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; storage disk unfail -s {disk name}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; priv set admin&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; storage disk show -spare&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 11:57:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Simulator-Discussions/Way-to-simulate-disk-failure-and-recovery-using-the-simulator/m-p/125353#M2022</guid>
      <dc:creator>andyberry</dc:creator>
      <dc:date>2016-11-14T11:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Way to simulate disk failure and recovery using the simulator</title>
      <link>https://community.netapp.com/t5/Simulator-Discussions/Way-to-simulate-disk-failure-and-recovery-using-the-simulator/m-p/125405#M2024</link>
      <description>&lt;P&gt;Thanks Sean,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the commands you suggested and they worked great. I can use this to help train folks on what to do if/when the real situation appears, I know its just a matter of time.&amp;nbsp; It is interesting to note that after doing a simpull on a disk say id v4.16, then, running a simpush -l that that particular id v4.16, is not available to push.&amp;nbsp; I not sure why, but, I guess it reassigns a new disk id once it is pulled.&amp;nbsp; Thanks for the info, it will help me to design something for training using the simulator. &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers..&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 14:12:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Simulator-Discussions/Way-to-simulate-disk-failure-and-recovery-using-the-simulator/m-p/125405#M2024</guid>
      <dc:creator>speck1987</dc:creator>
      <dc:date>2016-11-15T14:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Way to simulate disk failure and recovery using the simulator</title>
      <link>https://community.netapp.com/t5/Simulator-Discussions/Way-to-simulate-disk-failure-and-recovery-using-the-simulator/m-p/125406#M2025</link>
      <description>&lt;P&gt;Thanks for the reply Andy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested the commands and they will work great. I did have to make some changes in the commands, the &lt;STRONG&gt;storage&lt;/STRONG&gt; &lt;STRONG&gt;disk fail -disk&lt;/STRONG&gt; &lt;STRONG&gt;{disk_name} –immediate&lt;/STRONG&gt; commands didn't work for my version which is an earlier one (8.0.1 7- mode).&amp;nbsp; Instead I used the &lt;STRONG&gt;disk fail -i {disk name} &lt;/STRONG&gt;and&lt;STRONG&gt; disk unfail -s {disk name} &lt;/STRONG&gt;(BTW &lt;STRONG&gt;disk unfail&lt;/STRONG&gt; is only available in priv advanced mode) to accomplish the same result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can use your info combined with Sean's post to give trainies an good idea of what an actual disk failure looks like and how to go about fixing it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Andy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 14:30:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Simulator-Discussions/Way-to-simulate-disk-failure-and-recovery-using-the-simulator/m-p/125406#M2025</guid>
      <dc:creator>speck1987</dc:creator>
      <dc:date>2016-11-15T14:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Way to simulate disk failure and recovery using the simulator</title>
      <link>https://community.netapp.com/t5/Simulator-Discussions/Way-to-simulate-disk-failure-and-recovery-using-the-simulator/m-p/125410#M2026</link>
      <description>&lt;P&gt;Great. &amp;nbsp;What you noticed when you pull a disk on v4 is that thats actually the 2nd path to the disk on v0. &amp;nbsp;There are 8 virtual host adapters v0-v7 which look like FC initiators. &amp;nbsp;The disks are created on v0-v3, and the 2nd paths to those virtual shelves are on v4-v7, giving a simulated multipath storage layer. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 16:27:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Simulator-Discussions/Way-to-simulate-disk-failure-and-recovery-using-the-simulator/m-p/125410#M2026</guid>
      <dc:creator>SeanHatfield</dc:creator>
      <dc:date>2016-11-15T16:27:12Z</dc:date>
    </item>
  </channel>
</rss>

