<?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 Adding disks syntax in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Adding-disks-syntax/m-p/76120#M17756</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just need help on the syntax of the command line for adding disks to an aggregare.&amp;nbsp; If I need to add 7 disks such as 4a.16 to 4a.23, whats the syntax I would use with aggr add command.&amp;nbsp; I know you can use the -d switch and then list the disks, but is there a quicker way, such as there is a ndisks command.&amp;nbsp; How would I use the ndisk command in this scenario in adding 7 disks.&amp;nbsp; WOuld be ndisks[4a.16 - 4a.23].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 06:42:20 GMT</pubDate>
    <dc:creator>GUVNIJJAR</dc:creator>
    <dc:date>2025-06-05T06:42:20Z</dc:date>
    <item>
      <title>Adding disks syntax</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Adding-disks-syntax/m-p/76120#M17756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just need help on the syntax of the command line for adding disks to an aggregare.&amp;nbsp; If I need to add 7 disks such as 4a.16 to 4a.23, whats the syntax I would use with aggr add command.&amp;nbsp; I know you can use the -d switch and then list the disks, but is there a quicker way, such as there is a ndisks command.&amp;nbsp; How would I use the ndisk command in this scenario in adding 7 disks.&amp;nbsp; WOuld be ndisks[4a.16 - 4a.23].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:42:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Adding-disks-syntax/m-p/76120#M17756</guid>
      <dc:creator>GUVNIJJAR</dc:creator>
      <dc:date>2025-06-05T06:42:20Z</dc:date>
    </item>
    <item>
      <title>Adding disks syntax</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Adding-disks-syntax/m-p/76125#M17757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;aggr add aggr0 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will add 7 spare disks to the aggregate aggr0 the system considers reasonable to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 13:40:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Adding-disks-syntax/m-p/76125#M17757</guid>
      <dc:creator>thomas_glodde</dc:creator>
      <dc:date>2011-10-31T13:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Adding disks syntax</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Adding-disks-syntax/m-p/76130#M17758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not in 7-Mode that I know of... you have to use the explicit listing of each disk space delmited "-d 4a.16 4a.17 4a.18 4a.19 4a.20 4a.21 4a.22 4a.23" with the aggr add command.&amp;nbsp; With C-Mode we can specify multiples with pipe as a delimiter "stor aggr" with "4a.16 | 4a.17" and also can specify ranges with ".." with "4a.16..4a.23" but this is 7-mode so if you want those specific 7 drives you use a space delimited list.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If all disks are the same size then using the aggr add aggrname 7 works easiest like Thomas&amp;nbsp; mentioned...but if you have different sized disks it can be risky... For example, if a system has 20x 450GB drives and 2x 300GB drives... and I specify a quantity of 7... people get surprised when ONTAP grabs 2x 300 and 5x 450GB drives... a bit of an annoyance and one that can't be undone without destorying the aggregate.&amp;nbsp; So, if all the same drives use the ndisk count...if different sizes you can still use ndisk@size to tell ONTAP only to use a 300 or 450 for example.&amp;nbsp; In your case you listed you want those specific 7 drives and not others (if there are other spares) so the space delmited disk list may be what you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 15:29:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Adding-disks-syntax/m-p/76130#M17758</guid>
      <dc:creator>scottgelb</dc:creator>
      <dc:date>2011-10-31T15:29:30Z</dc:date>
    </item>
    <item>
      <title>Adding disks syntax</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Adding-disks-syntax/m-p/76135#M17759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well, you can always check what ONTap would do... 'aggr add aggrX -n 7'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That lists the disks that would be added so you see for yourself...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 22:33:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Adding-disks-syntax/m-p/76135#M17759</guid>
      <dc:creator>shaunjurr</dc:creator>
      <dc:date>2011-10-31T22:33:52Z</dc:date>
    </item>
  </channel>
</rss>

