<?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: write to lun failed due to lack of space error in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/write-to-lun-failed-due-to-lack-of-space-error/m-p/72731#M16905</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply. Yes, I will shrink the other flexvol and growth the thin provisioned one. I'm going to turn space reserved on too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jan 2011 10:10:01 GMT</pubDate>
    <dc:creator>csboradba</dc:creator>
    <dc:date>2011-01-19T10:10:01Z</dc:date>
    <item>
      <title>write to lun failed due to lack of space error</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/write-to-lun-failed-due-to-lack-of-space-error/m-p/72721#M16899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am periodically having an issue where a LUN is taking itself offline with a "write to lun failed due to lack of space error". The windows server that has access to the LUN reports that there is 4 GB of free space available. In addition our monitoring tool reports 4GB of free space at the point the LUN goes offline. We do not run snapshots on the Volume however another volume in the same aggregate does. I have laid out the configuration at the end of the post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The offline error has occurred 3 times over the last month although I can't see a particular pattern to the failure. My knowledge of NAS in general is very limited but from trawling through the configuration I have noticed that "space reserved" is turned off on the LUN. The online document states "It is recommended that you create a LUN with space reservations enabled so that blocks in the LUN can be updated when they are written to". Could this be the cause of the LUN running out of space and going offline? If my calculations are correct the volume is 12.7 TB and the LUN is around 12.69 TB so the LUN shouldn't be running out of space?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone any idea from my configuration what could be the problem or, if it is the space reserved setting why it is running out of space when the volume is big enough to hold the LUN?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="2" valign="top" width="568"&gt;&lt;P&gt;LUN&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Description&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;NL LUN&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Size&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;13635859545&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Space Reserved&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;OFF&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="2" valign="top" width="568"&gt;&lt;P&gt;Volume&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Name&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;NL&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Type&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Flexible&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Status&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Online,raid0&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Used Capacity&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;12.7 TB&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;% Used&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;100%&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Total Capacity&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;12.7 TB&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Number of files&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;107&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Max files&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;31.9 m&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;SNAP&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;NO&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Fractional reserve&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;100%&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Containing Aggregate&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;AGR1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Space Guarantee&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Volume&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Total Size&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;12.7 TB&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Max directory size&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;20.5 MB&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Aggregate&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Name&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;AGR1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Type&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Aggregate&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Status&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Online,raid0&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Used Capacity&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;100%&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Total Capacity&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;13.3 TB&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Number of files&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;107&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Max files&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;31.1k&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Raid Size&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;9&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Checksums&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Block&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Number of disks&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;42&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also an additional volume on the aggregate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Volume&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Name&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;PD&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Type&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Flexible&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Status&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Online, raid0&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Used Capacity&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;115GB&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;% Used&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;19%&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Total Capacity&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;600 GB&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Number of files&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;138k&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Max files&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;20.8m&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;SNAP&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;YES&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Fractional Reserve&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;100&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Space Guarantee&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Volume&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Total Size&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;600 GB&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;Max directory size&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="284"&gt;&lt;P&gt;20.5 MB&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 07:01:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/write-to-lun-failed-due-to-lack-of-space-error/m-p/72721#M16899</guid>
      <dc:creator>csboradba</dc:creator>
      <dc:date>2025-06-05T07:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: write to lun failed due to lack of space error</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/write-to-lun-failed-due-to-lack-of-space-error/m-p/72726#M16902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the LUN is thin provisioned, what the host sees is irrelevant - the host has been allocated capacity it has not consumed yet. What happens when it attempts to consume it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, it depends on how the lun and flexvol are configured - if the lun is not space reserved, space will be taken from the flexvol which it sits in. It looks like the flexvol is full - this is why the writes are failing. Can you shrink the other flexvol, and grow this one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 15:40:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/write-to-lun-failed-due-to-lack-of-space-error/m-p/72726#M16902</guid>
      <dc:creator>ostiguy</dc:creator>
      <dc:date>2011-01-18T15:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: write to lun failed due to lack of space error</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/write-to-lun-failed-due-to-lack-of-space-error/m-p/72731#M16905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply. Yes, I will shrink the other flexvol and growth the thin provisioned one. I'm going to turn space reserved on too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 10:10:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/write-to-lun-failed-due-to-lack-of-space-error/m-p/72731#M16905</guid>
      <dc:creator>csboradba</dc:creator>
      <dc:date>2011-01-19T10:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: write to lun failed due to lack of space error</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/write-to-lun-failed-due-to-lack-of-space-error/m-p/72736#M16907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the aggregate is full&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does the output of 'df -hA' show?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are snaps on the aggregate you can turn those off and reclaim some of the reserve space on the aggregate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 18:30:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/write-to-lun-failed-due-to-lack-of-space-error/m-p/72736#M16907</guid>
      <dc:creator>mkopenski</dc:creator>
      <dc:date>2011-01-19T18:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: write to lun failed due to lack of space error</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/write-to-lun-failed-due-to-lack-of-space-error/m-p/72741#M16909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it defintiely is. I have investigated a bit further and the lun was over commited by 174MB. Since the aggregate was full this caused the lun to go offline. Fortunately I can shrink down another lun in the agregate so will use that space to increase the over commited lun and turn on space reservation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jan 2011 10:29:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/write-to-lun-failed-due-to-lack-of-space-error/m-p/72741#M16909</guid>
      <dc:creator>csboradba</dc:creator>
      <dc:date>2011-01-20T10:29:37Z</dc:date>
    </item>
  </channel>
</rss>

