All of lore.kernel.org
 help / color / mirror / Atom feed
From: Akira Fujita <a-fujita@rs.jp.nec.com>
To: Zhang Xiliang <zhangxiliang@cn.fujitsu.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: Problems with Online Defragmentation (was: Re: bugs of Online Defragmentation)
Date: Wed, 24 Dec 2008 11:43:28 +0900	[thread overview]
Message-ID: <4951A1D0.3060502@rs.jp.nec.com> (raw)
In-Reply-To: <494F277B.3080902@cn.fujitsu.com>

Hi,
Zhang Xiliang wrote:
> Hi,
> 
> I tested Online Defrag by using the new code.
> When I have space left which is less than 40M, I can't use e4defrag 
> function.
> 
> Does the Online Defragmentation need some space left which is greater 
> than a value? 40M?
> 

Yes.  Ext4 online defrag needs more than the target file size.
In this case, your file size might be greater than left space.

If you failed in defrag, -v option might be helpful
to find the reason as follows:

[root@bsd086 KERN]# ./e4defrag -v /mnt/mp1/file1
ext4 defragmentation for /mnt/mp1/file1
[1/1] "/mnt/mp2/WORK/file1"
     Defrag size is larger than FileSystem's free space        [ NG ]
  Success:            [0/1]

Regards,
Akira Fujita


      reply	other threads:[~2008-12-24  2:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-22  5:36 Problems with Online Defragmentation (was: Re: bugs of Online Defragmentation) Zhang Xiliang
2008-12-24  2:43 ` Akira Fujita [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4951A1D0.3060502@rs.jp.nec.com \
    --to=a-fujita@rs.jp.nec.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=zhangxiliang@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.