<?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 error Resize volume in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/error-Resize-volume/m-p/100713#M17814</link>
    <description>&lt;P&gt;I wrote a perl code to resize size a volume (extend volume size by X mb).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting following error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture10.JPG" style="width: 559px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/2077iEC792DF34BD9482F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture10.JPG" alt="Capture10.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;#!/usr/bin/perl&lt;BR /&gt;&lt;BR /&gt;use strict;&lt;BR /&gt;use NaServer;&lt;BR /&gt;use Getopt::Long;&lt;BR /&gt;use WFAUtil;&lt;BR /&gt;&lt;BR /&gt;my $cmarray;&lt;BR /&gt;my $vserver;&lt;BR /&gt;my $volumeName;&lt;BR /&gt;my $volumesize;&lt;BR /&gt;&lt;BR /&gt;GetOptions ("cmarray=s" =&amp;gt; \$cmarray,&lt;BR /&gt;"vservername=s" =&amp;gt; \$vserver,&lt;BR /&gt;"volumeName=s" =&amp;gt; \$volumeName,&lt;BR /&gt;"volumesize=i" =&amp;gt; \$volumesize) or die 'Illegal command parameters';&lt;BR /&gt;&lt;BR /&gt;if (defined $volumesize &amp;amp;&amp;amp; $volumesize &amp;lt; 0)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;die 'Negative volumesize argument not allowed: \''.$volumesize.'\'';&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;my $wfaUtil = WFAUtil-&amp;gt;new();&lt;BR /&gt;&lt;BR /&gt;$wfaUtil-&amp;gt;sendLog('INFO','Connecting to array: '.$cmarray);&lt;BR /&gt;my $server = $wfaUtil-&amp;gt;connect($cmarray,$vserver);&lt;BR /&gt;&lt;BR /&gt;$wfaUtil-&amp;gt;sendLog('INFO','Setting volume size : '.$volumesize.' on volume: '.$volumeName);&lt;BR /&gt;my $out = $wfaUtil-&amp;gt;checkFailure('Failed running volume-size',$server-&amp;gt;invoke('volume modify ',' -volume ',$volumeName,' -size ',' +',$volumesize.'m'));&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 05:04:38 GMT</pubDate>
    <dc:creator>Aswani_Kumar</dc:creator>
    <dc:date>2025-06-05T05:04:38Z</dc:date>
    <item>
      <title>error Resize volume</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/error-Resize-volume/m-p/100713#M17814</link>
      <description>&lt;P&gt;I wrote a perl code to resize size a volume (extend volume size by X mb).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting following error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture10.JPG" style="width: 559px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/2077iEC792DF34BD9482F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture10.JPG" alt="Capture10.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;#!/usr/bin/perl&lt;BR /&gt;&lt;BR /&gt;use strict;&lt;BR /&gt;use NaServer;&lt;BR /&gt;use Getopt::Long;&lt;BR /&gt;use WFAUtil;&lt;BR /&gt;&lt;BR /&gt;my $cmarray;&lt;BR /&gt;my $vserver;&lt;BR /&gt;my $volumeName;&lt;BR /&gt;my $volumesize;&lt;BR /&gt;&lt;BR /&gt;GetOptions ("cmarray=s" =&amp;gt; \$cmarray,&lt;BR /&gt;"vservername=s" =&amp;gt; \$vserver,&lt;BR /&gt;"volumeName=s" =&amp;gt; \$volumeName,&lt;BR /&gt;"volumesize=i" =&amp;gt; \$volumesize) or die 'Illegal command parameters';&lt;BR /&gt;&lt;BR /&gt;if (defined $volumesize &amp;amp;&amp;amp; $volumesize &amp;lt; 0)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;die 'Negative volumesize argument not allowed: \''.$volumesize.'\'';&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;my $wfaUtil = WFAUtil-&amp;gt;new();&lt;BR /&gt;&lt;BR /&gt;$wfaUtil-&amp;gt;sendLog('INFO','Connecting to array: '.$cmarray);&lt;BR /&gt;my $server = $wfaUtil-&amp;gt;connect($cmarray,$vserver);&lt;BR /&gt;&lt;BR /&gt;$wfaUtil-&amp;gt;sendLog('INFO','Setting volume size : '.$volumesize.' on volume: '.$volumeName);&lt;BR /&gt;my $out = $wfaUtil-&amp;gt;checkFailure('Failed running volume-size',$server-&amp;gt;invoke('volume modify ',' -volume ',$volumeName,' -size ',' +',$volumesize.'m'));&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:04:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/error-Resize-volume/m-p/100713#M17814</guid>
      <dc:creator>Aswani_Kumar</dc:creator>
      <dc:date>2025-06-05T05:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: error Resize volume</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/error-Resize-volume/m-p/100737#M17819</link>
      <description>&lt;P&gt;Just guessing here, but you may have to provide that it is GB or MB or KB as well as the number value of the size.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2015 19:23:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/error-Resize-volume/m-p/100737#M17819</guid>
      <dc:creator>rwelshman</dc:creator>
      <dc:date>2015-02-17T19:23:04Z</dc:date>
    </item>
  </channel>
</rss>

