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:
parent
e2a1827e0a
commit
9faf84ca44
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40610
1 changed files with 26 additions and 0 deletions
|
@ -4472,6 +4472,32 @@ C:\="DOS"</programlisting>
|
||||||
slower.</para>
|
slower.</para>
|
||||||
</answer>
|
</answer>
|
||||||
</qandaentry>
|
</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>
|
</qandaset>
|
||||||
</sect1>
|
</sect1>
|
||||||
</chapter>
|
</chapter>
|
||||||
|
|
Loading…
Reference in a new issue