<?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 Clustered-ONTAP issue: Incomplete file is displayed after restore in Simulator Discussions</title>
    <link>https://community.netapp.com/t5/Simulator-Discussions/Clustered-ONTAP-issue-Incomplete-file-is-displayed-after-restore/m-p/108092#M1617</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I am developing FPOLICY server for Clustered ONTAP NetApp 8.3. I am using Data ONTAP Simulator. We are using 133 bytes long shortcut files &lt;SPAN&gt;(offline)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;When I opened shortcut - offline file (for example archived text file) in notepad I will get event to my FPolicy server, I copy original file to shortcut path (replace shortcut with original content), remove offline attribute and after this I will send reply ALLOW (File notification response) to Clustered-ONTAP. After this is content displayed in notepad and I see only 133 bytes of original content.&amp;nbsp;&lt;IMG id="smileysad" class="emoticon emoticon-smileysad" src="https://community.netapp.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;But, in this time is file size 9KB. I can see file size in opened network share over CIFS in Windows Explorer. I closed the notepad. When I wait some time (maybe 1 minute without any file operations) and I open file again (is without offline attribute and file size 9KB) than I can see full content in notepad.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I don't know why I don't see the full content of original file however the file content si restored, offline file attribute is removed and ALLOW notification response was sent.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try one test where I create shortcut file with file size of original file (9KB with white spaces) and after I open this offline file (doubleclick on file at share, replacing content, removing offline attr., ALLOW sent) I can see full content of original file. &lt;STRONG&gt;Maybe there is some delay with refreshing file size of files internally in Clustered-ONTAP storage.&amp;nbsp;Is this behavior the same with physical NETAPP storage?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I think that SPARSE (size faking) may help. I want to try to use sparse attribute but I got: FSCTL_SET_SPARSE OK, FSCTL_SET_ZERO_DATA ERROR: Incorrect function. (0x00000001).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is sparse supported on Clustered-ONTAP storage?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for helping me.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 23:37:54 GMT</pubDate>
    <dc:creator>PETR_DAVID</dc:creator>
    <dc:date>2025-06-04T23:37:54Z</dc:date>
    <item>
      <title>Clustered-ONTAP issue: Incomplete file is displayed after restore</title>
      <link>https://community.netapp.com/t5/Simulator-Discussions/Clustered-ONTAP-issue-Incomplete-file-is-displayed-after-restore/m-p/108092#M1617</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I am developing FPOLICY server for Clustered ONTAP NetApp 8.3. I am using Data ONTAP Simulator. We are using 133 bytes long shortcut files &lt;SPAN&gt;(offline)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;When I opened shortcut - offline file (for example archived text file) in notepad I will get event to my FPolicy server, I copy original file to shortcut path (replace shortcut with original content), remove offline attribute and after this I will send reply ALLOW (File notification response) to Clustered-ONTAP. After this is content displayed in notepad and I see only 133 bytes of original content.&amp;nbsp;&lt;IMG id="smileysad" class="emoticon emoticon-smileysad" src="https://community.netapp.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;But, in this time is file size 9KB. I can see file size in opened network share over CIFS in Windows Explorer. I closed the notepad. When I wait some time (maybe 1 minute without any file operations) and I open file again (is without offline attribute and file size 9KB) than I can see full content in notepad.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I don't know why I don't see the full content of original file however the file content si restored, offline file attribute is removed and ALLOW notification response was sent.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try one test where I create shortcut file with file size of original file (9KB with white spaces) and after I open this offline file (doubleclick on file at share, replacing content, removing offline attr., ALLOW sent) I can see full content of original file. &lt;STRONG&gt;Maybe there is some delay with refreshing file size of files internally in Clustered-ONTAP storage.&amp;nbsp;Is this behavior the same with physical NETAPP storage?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I think that SPARSE (size faking) may help. I want to try to use sparse attribute but I got: FSCTL_SET_SPARSE OK, FSCTL_SET_ZERO_DATA ERROR: Incorrect function. (0x00000001).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is sparse supported on Clustered-ONTAP storage?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for helping me.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 23:37:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Simulator-Discussions/Clustered-ONTAP-issue-Incomplete-file-is-displayed-after-restore/m-p/108092#M1617</guid>
      <dc:creator>PETR_DAVID</dc:creator>
      <dc:date>2025-06-04T23:37:54Z</dc:date>
    </item>
  </channel>
</rss>

