<?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 set-ncquota behavior in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/set-ncquota-behavior/m-p/24965#M1144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does anyone use the CmdLet "set-ncquota" to manage users quota? I did some tests and I had a strange behavior. Here are some information to help you to understand my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I'm working on a volume (dit_filesx_indiv) and I set a default quota policy with a "space hard limit" of 2GB per user. &lt;/P&gt;&lt;P&gt;- The volume (dit_filesx_indiv) is on a vServer named "filesx"&lt;/P&gt;&lt;P&gt;- My user is INTRANET\chaboude (&amp;lt;domainName&amp;gt;\&amp;lt;username)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now, here is the step I did :&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I manually created a folder named "chaboude" in the volume and set "INTRANET\chaboude" as OWNER&lt;/LI&gt;&lt;LI&gt;I go to "System Manager", browse for the correct vServer (filesx) and go to "Storage" &amp;gt; "Quotas" &amp;gt; "Quota Report".&lt;/LI&gt;&lt;LI&gt;I can see an entry for INTRANET\chaboude with the following:&lt;BR /&gt;Volume: dit_filesx_indiv&lt;BR /&gt;Qtree: All Qtrees&lt;BR /&gt;Type: user&lt;BR /&gt;User/Group : INTRANET\chaboude&lt;BR /&gt;%space used: 0&lt;BR /&gt;% files Used: -NA-&lt;/LI&gt;&lt;LI&gt;When I select the entry, in the details (below), I can see :&lt;BR /&gt;Space Hard limit: 2GB&lt;BR /&gt;File Usage : 1&lt;BR /&gt;Space Usage: 0kb&lt;BR /&gt;...&lt;/LI&gt;&lt;LI&gt;If I try to copy a file bigger than 2GB, I have an error. &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this, I try to change add a "User defined quota" of 10GB for my user INTRANET\chaboude. I use the following PowerShell code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14085227337241231" jivemacro_uid="_14085227337241231"&gt;&lt;P&gt;$secPassword = ConvertTo-SecureString "********" -AsPlainText -Force&lt;/P&gt;&lt;P&gt;$credentials = New-Object System.Management.Automation.PSCredential("nas_ps_readwrite", $secPassword)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;$connectHandle = Connect-NcController -Name srv3140cluster-mgt -Credential $credentials -HTTPS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$vserver = Get-NcVserver -Name filesx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set-NcQuota -Controller $connectHandle -VserverContext $vserver -Volume dit_filesx_indiv -Type user -DiskLimit 104857600 -Target INTRANET\chaboude&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, I go back to "System Manager" to see the "User Defined Quotas" tab for my volume "dit_filesx_indiv" and I can see a entry for INTRANET\chaboude with the following.&lt;/P&gt;&lt;P&gt;- Volume: dit_filesx_indiv&lt;/P&gt;&lt;P&gt;- Qtree: All Qtrees&lt;/P&gt;&lt;P&gt;- Type: User&lt;/P&gt;&lt;P&gt;- User/Group : INTRANET\chaboude&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select the entry, below, I can see that "Space Hard Limit" is set to 10GB. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BUT&lt;/STRONG&gt;, if I now try to copy files in "chaboude" folder for more than the 2GB limit I had before, I have an error!!!&lt;/P&gt;&lt;P&gt;I go back to "System Manager" and in "Quota Report" tab and I select the entry for "INTRANET\chaboude" to see the details, I can see that the "Space Hard Limit" is still set to 2GB....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What did I wrong with the "set-ncquota" command??&amp;nbsp; Does anyone can help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I add a quota using &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 05:30:12 GMT</pubDate>
    <dc:creator>LULUTCHAB</dc:creator>
    <dc:date>2025-06-05T05:30:12Z</dc:date>
    <item>
      <title>set-ncquota behavior</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/set-ncquota-behavior/m-p/24965#M1144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does anyone use the CmdLet "set-ncquota" to manage users quota? I did some tests and I had a strange behavior. Here are some information to help you to understand my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I'm working on a volume (dit_filesx_indiv) and I set a default quota policy with a "space hard limit" of 2GB per user. &lt;/P&gt;&lt;P&gt;- The volume (dit_filesx_indiv) is on a vServer named "filesx"&lt;/P&gt;&lt;P&gt;- My user is INTRANET\chaboude (&amp;lt;domainName&amp;gt;\&amp;lt;username)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now, here is the step I did :&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I manually created a folder named "chaboude" in the volume and set "INTRANET\chaboude" as OWNER&lt;/LI&gt;&lt;LI&gt;I go to "System Manager", browse for the correct vServer (filesx) and go to "Storage" &amp;gt; "Quotas" &amp;gt; "Quota Report".&lt;/LI&gt;&lt;LI&gt;I can see an entry for INTRANET\chaboude with the following:&lt;BR /&gt;Volume: dit_filesx_indiv&lt;BR /&gt;Qtree: All Qtrees&lt;BR /&gt;Type: user&lt;BR /&gt;User/Group : INTRANET\chaboude&lt;BR /&gt;%space used: 0&lt;BR /&gt;% files Used: -NA-&lt;/LI&gt;&lt;LI&gt;When I select the entry, in the details (below), I can see :&lt;BR /&gt;Space Hard limit: 2GB&lt;BR /&gt;File Usage : 1&lt;BR /&gt;Space Usage: 0kb&lt;BR /&gt;...&lt;/LI&gt;&lt;LI&gt;If I try to copy a file bigger than 2GB, I have an error. &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this, I try to change add a "User defined quota" of 10GB for my user INTRANET\chaboude. I use the following PowerShell code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14085227337241231" jivemacro_uid="_14085227337241231"&gt;&lt;P&gt;$secPassword = ConvertTo-SecureString "********" -AsPlainText -Force&lt;/P&gt;&lt;P&gt;$credentials = New-Object System.Management.Automation.PSCredential("nas_ps_readwrite", $secPassword)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;$connectHandle = Connect-NcController -Name srv3140cluster-mgt -Credential $credentials -HTTPS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$vserver = Get-NcVserver -Name filesx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set-NcQuota -Controller $connectHandle -VserverContext $vserver -Volume dit_filesx_indiv -Type user -DiskLimit 104857600 -Target INTRANET\chaboude&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, I go back to "System Manager" to see the "User Defined Quotas" tab for my volume "dit_filesx_indiv" and I can see a entry for INTRANET\chaboude with the following.&lt;/P&gt;&lt;P&gt;- Volume: dit_filesx_indiv&lt;/P&gt;&lt;P&gt;- Qtree: All Qtrees&lt;/P&gt;&lt;P&gt;- Type: User&lt;/P&gt;&lt;P&gt;- User/Group : INTRANET\chaboude&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select the entry, below, I can see that "Space Hard Limit" is set to 10GB. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BUT&lt;/STRONG&gt;, if I now try to copy files in "chaboude" folder for more than the 2GB limit I had before, I have an error!!!&lt;/P&gt;&lt;P&gt;I go back to "System Manager" and in "Quota Report" tab and I select the entry for "INTRANET\chaboude" to see the details, I can see that the "Space Hard Limit" is still set to 2GB....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What did I wrong with the "set-ncquota" command??&amp;nbsp; Does anyone can help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I add a quota using &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:30:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/set-ncquota-behavior/m-p/24965#M1144</guid>
      <dc:creator>LULUTCHAB</dc:creator>
      <dc:date>2025-06-05T05:30:12Z</dc:date>
    </item>
  </channel>
</rss>

