<?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: Disk unpartition failed in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/128917#M28013</link>
    <description>&lt;P&gt;There is a bug in versin 9.1RC2, 9.1P1. If you want to remain on 9.1, then the you may go for 9.1RC1. This version allows you to delete the partitions.&lt;/P&gt;</description>
    <pubDate>Sat, 11 Mar 2017 02:16:20 GMT</pubDate>
    <dc:creator>rshardha</dc:creator>
    <dc:date>2017-03-11T02:16:20Z</dc:date>
    <item>
      <title>Disk unpartition failed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/126892#M27466</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are trying to remove all partitions on our netapp AFF300, to reinstall it with one root partition and 2 data partitions (as it was when we received it).&lt;/P&gt;&lt;P&gt;Right now we are in a configuration with one root partition and one data partition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We followed this netapp documentation &lt;A href="https://library.netapp.com/ecmdocs/ECMP1636022/html/GUID-CFB9643B-36DB-4F31-95D4-29EDE648807D.html" target="_blank"&gt;https://library.netapp.com/ecmdocs/ECMP1636022/html/GUID-CFB9643B-36DB-4F31-95D4-29EDE648807D.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;unsuccessfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are strugulling with the command &lt;SPAN&gt;disk unpartition 0d.01.21&lt;/SPAN&gt;. Here is the error :&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Disk 0d.01.21 must not have file system partitions. All partitions must be spare&lt;BR /&gt;Do not proceed with unpartition if disk has file system partitions. Abort unpartition (y/n)? n&lt;BR /&gt;Jan 11 13:28:50 [localhost:raid.unpartition.disk.fail:notice]: Disk unpartition failed on Disk 0d.01.21 Shelf 1 Bay 21 [NETAPP X371_S163A960ATE NA50] S/N [S396NA0HA06398], error CR_DISK_WRONG_STATE, additional error info ().&lt;BR /&gt;disk unpartition: 0d.01.21 has partitions that are not spare.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We can't find any solution on google, so any help would be much appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jean-Pascal&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:34:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/126892#M27466</guid>
      <dc:creator>boudjel38</dc:creator>
      <dc:date>2025-06-04T15:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Disk unpartition failed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/126912#M27468</link>
      <description>&lt;P&gt;Hi there - there are no documented procedures for this, however I'd start with this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was HA disabled, both nodes halted, then one brought up in maint mode?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I would&amp;nbsp;run "&lt;SPAN&gt;storage disk removeowner&amp;nbsp;&lt;/SPAN&gt;disk_name&lt;SPAN&gt;&amp;nbsp;-data true" for all of the drives, and then "storage disk removeowner&amp;nbsp;disk_name&amp;nbsp;-root true" for all of them, then reboot and zero one node, then the other.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know how it goes!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 04:55:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/126912#M27468</guid>
      <dc:creator>AlexDawson</dc:creator>
      <dc:date>2017-01-12T04:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Disk unpartition failed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/126918#M27470</link>
      <description>&lt;P&gt;Clustershell commands are not available in maintenance boot, unless this has changed in 9.x.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 06:44:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/126918#M27470</guid>
      <dc:creator>aborzenkov</dc:creator>
      <dc:date>2017-01-12T06:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Disk unpartition failed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/126920#M27471</link>
      <description>&lt;P&gt;Do you see any leftover aggregates in "aggr status"? I wonder if this disk belongs to pool, not sure how pool is represented in maintenance mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As this disk is in external shelf, you probably can simply unplug shelf during installation and add it later.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 06:46:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/126920#M27471</guid>
      <dc:creator>aborzenkov</dc:creator>
      <dc:date>2017-01-12T06:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Disk unpartition failed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/126921#M27472</link>
      <description>&lt;P&gt;That's a very good point!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok, so you'd unassign the data partitions in fully booted ONTAP (the presumption here being that you have no data on the data aggregates that you care about).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If that still doesn't let you unpartition the disk, I'd suggest the original poster open a support ticket - we might need to escalate to engineering to find the right mix of commands. The good thing about AFF is that reformatting is pretty quick &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 06:50:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/126921#M27472</guid>
      <dc:creator>AlexDawson</dc:creator>
      <dc:date>2017-01-12T06:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Disk unpartition failed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/127217#M27562</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this week I had a similar problem when I tried to re-install a cdot cluster. In my case it was a 2554 single-node system with SATA disks, which was shipped with ONTAP 9.0.&lt;/P&gt;&lt;P&gt;I booted the system and did "Install new software first" to load ONTAP 9.1. After this I went to maintenance mode to unpartition the disks und remove the ownership. I ran into the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*&amp;gt; disk unpartition 0a.00.12&lt;BR /&gt;Disk 0a.00.12 must not have file system partitions. All partitions must be spare&lt;BR /&gt;Do not proceed with unpartition if disk has file system partitions. Abort unpartition (y/n)? n&lt;BR /&gt;disk unpartition: 0a.00.12 has partitions that are not spare.&lt;BR /&gt;Jan 19 10:18:43 [pfhn-cl3-01:raid.unpartition.disk.fail:notice]: Disk unpartition failed on Disk 0a.00.12 Shelf 0 Bay 12 [NETAPP&amp;nbsp;&amp;nbsp; X306_HMRKP02TSSM NA00] S/N [P5JTUG5V], error CR_DISK_WRONG_STATE, additional error info ().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got 4 disks which could not be unpartitioned and the reinstall did not went through.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally I netbooted ONTAP 9.0, went to maintenance mode and were able to unpartition the disks. After this the reinstall was possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it seems that in my case ONTAP 9.1 can not deal correctly with partitions created prior ONTAP 9.1 - So it would be interresting if a netboot of ONTAP 9 in your case would also solve the problem.&lt;/P&gt;&lt;P&gt;Then there would be an general issue in ONTAP 9.1 in combination with disk unpartioning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 21:10:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/127217#M27562</guid>
      <dc:creator>marc_riedel</dc:creator>
      <dc:date>2017-01-20T21:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Disk unpartition failed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/128568#M27882</link>
      <description>&lt;P&gt;There was a bug in 9.1RC2 for disk unpartition... 9.1GA fixes it though or revert to 9.0 for disk unpartition&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;High level procedure..zeroes out the system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on each node..&lt;/P&gt;&lt;P&gt;--------------------&lt;/P&gt;&lt;P&gt;boot_ontap maint&amp;nbsp;&amp;nbsp; # maint mode boot&lt;/P&gt;&lt;P&gt;aggr offline aggr0&lt;/P&gt;&lt;P&gt;aggr destroy aggr0&lt;/P&gt;&lt;P&gt;disk unpartition all&lt;/P&gt;&lt;P&gt;disk remove_ownership&lt;/P&gt;&lt;P&gt;disk show&amp;nbsp;&amp;nbsp;&amp;nbsp; # if any disks assigned, run "disk remove_ownership" again&lt;/P&gt;&lt;P&gt;halt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;loader&lt;/P&gt;&lt;P&gt;--------&lt;/P&gt;&lt;P&gt;setenv allow-root-data1-data2-partitions? True&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;saveenv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on node1 only&lt;/P&gt;&lt;P&gt;--------&lt;/P&gt;&lt;P&gt;boot_ontap menu&amp;nbsp;&amp;nbsp; # menu boot&lt;/P&gt;&lt;P&gt;44/7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # hidden zero option&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after completion... run option 4 on node1 then node2..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you will have the correct partitions...but I found on a larger systtem they are split across 3 shelves instead of 2...but 48 drives partitioned as expected.&amp;nbsp; The physical unparittioned drive assignment was not symmetric but that is easy to fix after...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also note that if you have over 2 shelves in an SSD stack (2 is best practice, 4 is max) a best practice is to split disk assignment between nodes in the ha-pair instead of full disk shelf assignment per shelf&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 14:28:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/128568#M27882</guid>
      <dc:creator>scottgelb</dc:creator>
      <dc:date>2017-03-01T14:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Disk unpartition failed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/128648#M27904</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Just today spent unforgettable 5 hours with partitions. AFF8080 was upgraded from 9.0 up to 9.1 and then partitions became un-unpartitionable. Error just the same:...disk &lt;SPAN&gt;has partitions that are not spare.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Solution in our case:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Reboot to maintenance both nodes. *&amp;gt;halt -&amp;gt; Ctrl+C -&amp;gt; maintenance (option 5).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Delete all aggregates (root too). *&amp;gt;aggr status -&amp;gt; *&amp;gt;aggr offline -&amp;gt; *&amp;gt;aggr destroy -&amp;gt; *&amp;gt;aggr status&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Remove ownership.&amp;nbsp; *&amp;gt;disk remove_ownership all (several times. check *&amp;gt;disk show, it must be empty).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4. Assign all disks to one node. *&amp;gt;disk assign all&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5. Reboot this node to maintenance from previous image (9.0). LOADER&amp;gt;boot_backup -&amp;gt; Ctrl+C -&amp;gt; maintenance (option 5).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;6. Check ownership. *&amp;gt;disk show&amp;nbsp;&amp;nbsp; *&amp;gt;disk show -n&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;7. Remove partitions. *&amp;gt;disk unpartition all&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;8. Reboot, boot ontap, create aggregates. LOADER&amp;gt;boot_ontap&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope, this will help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kirill.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 14:18:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/128648#M27904</guid>
      <dc:creator>KirillAntipov</dc:creator>
      <dc:date>2017-03-03T14:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Disk unpartition failed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/128839#M27988</link>
      <description>&lt;P&gt;You saved my day :&lt;/P&gt;&lt;P&gt;indeed you must netboot with 9.0 and there the disk unpartition worked fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Extra hinte : My IIS first refused to serve the /netboot/kernel (file not found).&amp;nbsp; Added a mime-type in my IIS "*" as application/octet-stream&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 08:40:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/128839#M27988</guid>
      <dc:creator>mirko</dc:creator>
      <dc:date>2017-03-09T08:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Disk unpartition failed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/128917#M28013</link>
      <description>&lt;P&gt;There is a bug in versin 9.1RC2, 9.1P1. If you want to remain on 9.1, then the you may go for 9.1RC1. This version allows you to delete the partitions.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Mar 2017 02:16:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/128917#M28013</guid>
      <dc:creator>rshardha</dc:creator>
      <dc:date>2017-03-11T02:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Disk unpartition failed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/129325#M28105</link>
      <description>&lt;P&gt;I had the same issue in 9.1 GA. Only RC1 worked FYI.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 03:19:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/129325#M28105</guid>
      <dc:creator>JKnorr</dc:creator>
      <dc:date>2017-03-23T03:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Disk unpartition failed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/129326#M28106</link>
      <description>&lt;P&gt;Agreed, I was only able to get 9.1 RC1 to work properly... GA and P1 gave me fits.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 03:20:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/129326#M28106</guid>
      <dc:creator>JKnorr</dc:creator>
      <dc:date>2017-03-23T03:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Disk unpartition failed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/129530#M28163</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The BURT is detailed in&amp;nbsp;&lt;A href="http://mysupport.netapp.com/NOW/cgi-bin/bol?Type=Detail&amp;amp;Display=1057401" target="_blank"&gt;http://mysupport.netapp.com/NOW/cgi-bin/bol?Type=Detail&amp;amp;Display=1057401&lt;/A&gt;, along with a bootloader recommendation to workaround&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 02:35:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/129530#M28163</guid>
      <dc:creator>AlexDawson</dc:creator>
      <dc:date>2017-03-29T02:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Disk unpartition failed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/129741#M28230</link>
      <description>&lt;P&gt;Just stumbled upon this thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The bug is fixed in 9.1P2, which was released just days ago.&lt;/P&gt;&lt;P&gt;-&amp;gt; &lt;A href="https://mysupport.netapp.com/NOW/download/software/ontap/9.1P2/" target="_blank"&gt;https://mysupport.netapp.com/NOW/download/software/ontap/9.1P2/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;edit: I've just successfully removed ADP from some disks in order to move them to another cluster.&lt;/P&gt;&lt;P&gt;Workflow was something like this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"system node migrate-root" to spare disks (they need to be zeroed or will be zeroed - takes some time)&lt;/LI&gt;&lt;LI&gt;"system node run -node xxx -command disk unpartition xx.xx.xx"&lt;/LI&gt;&lt;LI&gt;"disk zerospares"&lt;/LI&gt;&lt;LI&gt;"disk removeowner xx.xx.xx"&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 03 Apr 2017 20:20:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Disk-unpartition-failed/m-p/129741#M28230</guid>
      <dc:creator>DER_OEST_</dc:creator>
      <dc:date>2017-04-03T20:20:21Z</dc:date>
    </item>
  </channel>
</rss>

