Date: Wed, 19 Dec 2012 09:29:53 -0500 From: Eitan Adler <lists@eitanadler.com> To: Alexander Yerenkow <yerenkow@gmail.com> Cc: Edward <edward@rdtan.net>, freebsd-doc@freebsd.org Subject: Re: [RFC] Q&A propose to add into FAQ Message-ID: <CAF6rxgnQw5brKR5cuQtM2swJ1ZjQ3UK0n65WT3Seit7PBvS3SA@mail.gmail.com> In-Reply-To: <CAPJF9w=dUA0o93o8mrLreGnFiZaRaF6BgJqeOonc=r_OND0O0w@mail.gmail.com> References: <50CF471D.10407@rdtan.net> <CAF6rxgmeFnRifq0eyXzmFf7_YADOkMGYdOOVqwwS=D=n0GXr%2Bg@mail.gmail.com> <50D139D3.2010604@rdtan.net> <CAPJF9w=dUA0o93o8mrLreGnFiZaRaF6BgJqeOonc=r_OND0O0w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On 19 December 2012 02:16, Alexander Yerenkow <yerenkow@gmail.com> wrote:
> Can I propose one item?
Sure!
> When you have 100% filled zpool, you can't create file nor delete one. The
> only way to solve this situation is not obvious - you need to truncate
> (truncate -s 0 not-important-file or echo "" > not-important-file). I think
> this case should be mentioned in Q&A, if not already.
How does the attached patch look?
--
Eitan Adler
[-- Attachment #2 --]
commit a80b222bdbe0b7ba94662093a0901473f54d6ee8
Author: Eitan Adler <lists@eitanadler.com>
Date: Wed Dec 19 09:26:56 2012 -0500
Answer the question "One my zpools is 100% full and I can not delete any
files. How can I fix this?"
Submitted by: Alexander Yerenkow <yerenkow@gmail.com>
Reviewed by: -doc
Approved by: ??? (mentor)
diff --git a/en_US.ISO8859-1/books/faq/book.xml b/en_US.ISO8859-1/books/faq/book.xml
index b98b1ea..1db28dd 100644
--- a/en_US.ISO8859-1/books/faq/book.xml
+++ b/en_US.ISO8859-1/books/faq/book.xml
@@ -4431,6 +4431,20 @@ C:\="DOS"</programlisting>
slower.</para>
</answer>
</qandaentry>
+
+ <qandaentry>
+ <question id="zpool-fully-full">
+ <para>One my zpools is 100% full and I can not delete any
+ files. How can I fix this?</para>
+ </question>
+
+ <answer>
+ <para>In order to restore the zpool to a usable state,
+ truncate the file you wish to delete:</para>
+
+ <screen>&prompt.user; <userinput>truncate -s 0 <replaceable>unimportant-file</replaceable></userinput></screen>
+ </answer>
+ </qandaentry>
</qandaset>
</sect1>
</chapter>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgnQw5brKR5cuQtM2swJ1ZjQ3UK0n65WT3Seit7PBvS3SA>
