Answer the question "I can not delete or or create files on my ZFS pool.

How can I fix this?"

Submitted by:       Alexander Yerenkow <yerenkow@gmail.com>
Reviewed by:        -doc
Approved by:        bcr (mentor)

Patch recreated from mailing list content
This commit is contained in:
Eitan Adler 2013-01-13 06:38:31 +00:00
parent e2a1827e0a
commit 9faf84ca44
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40610

View file

@ -4472,6 +4472,32 @@ C:\="DOS"</programlisting>
slower.</para>
</answer>
</qandaentry>
<qandaentry>
<question id="zpool-fully-full">
<para>I can not delete or create files on my ZFS pool.
How can I fix this?</para>
</question>
<answer>
<para>This could happen because the pool is 100% full.
ZFS requires space on the disk in order to write
transaction metadata. In order to restore the pool
to a usable state, truncate a file you want to
delete.</para>
<screen>&prompt.user; <userinput>truncate -s 0 <replaceable>unimportant-file</replaceable></userinput></screen>
<para>File truncation works because a new transaction is
not started, new spare blocks are created instead.</para>
<note>
<para>On systems with additional ZFS dataset tuning,
such as deduplication, the space may not be immediately
available</para>
</note>
</answer>
</qandaentry>
</qandaset>
</sect1>
</chapter>