linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problems with Online Defragmentation (was: Re: bugs of Online Defragmentation)
@ 2008-12-22  5:36 Zhang Xiliang
  2008-12-24  2:43 ` Akira Fujita
  0 siblings, 1 reply; 2+ messages in thread
From: Zhang Xiliang @ 2008-12-22  5:36 UTC (permalink / raw)
  To: Akira Fujita, linux-ext4

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?

-- 
Regards
Zhang Xiliang


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problems with Online Defragmentation (was: Re: bugs of Online Defragmentation)
  2008-12-22  5:36 Problems with Online Defragmentation (was: Re: bugs of Online Defragmentation) Zhang Xiliang
@ 2008-12-24  2:43 ` Akira Fujita
  0 siblings, 0 replies; 2+ messages in thread
From: Akira Fujita @ 2008-12-24  2:43 UTC (permalink / raw)
  To: Zhang Xiliang; +Cc: linux-ext4

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-24  2:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).