From 9faf84ca446a0e2b6c37dffff16e81db9364b04c Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sun, 13 Jan 2013 06:38:31 +0000 Subject: [PATCH] Answer the question "I can not delete or or create files on my ZFS pool. How can I fix this?" Submitted by: Alexander Yerenkow Reviewed by: -doc Approved by: bcr (mentor) Patch recreated from mailing list content --- en_US.ISO8859-1/books/faq/book.xml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/en_US.ISO8859-1/books/faq/book.xml b/en_US.ISO8859-1/books/faq/book.xml index bb16120d36..3a2217421a 100644 --- a/en_US.ISO8859-1/books/faq/book.xml +++ b/en_US.ISO8859-1/books/faq/book.xml @@ -4472,6 +4472,32 @@ C:\="DOS" slower. + + + + I can not delete or create files on my ZFS pool. + How can I fix this? + + + + 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. + + &prompt.user; truncate -s 0 unimportant-file + + File truncation works because a new transaction is + not started, new spare blocks are created instead. + + + On systems with additional ZFS dataset tuning, + such as deduplication, the space may not be immediately + available + + +