* Question of online defrag, thanks
@ 2013-10-28 17:13 Ming Lei
2013-10-29 1:26 ` Akira Fujita
0 siblings, 1 reply; 2+ messages in thread
From: Ming Lei @ 2013-10-28 17:13 UTC (permalink / raw)
To: linux-ext4@vger.kernel.org; +Cc: Peng Chen
Hi,
I am using e4defrag to defrag running ext4 online.
During running e4defrag, I am writing/reading data on file system.
Is it safe to use e4defrag? I mean if power failure happens, is there any possibility of data loss or defragging file corruption?
If there is possibility of defragging file corruption after power failure, can fsck fix it?
Thank you very much.
Peng
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Question of online defrag, thanks
2013-10-28 17:13 Question of online defrag, thanks Ming Lei
@ 2013-10-29 1:26 ` Akira Fujita
0 siblings, 0 replies; 2+ messages in thread
From: Akira Fujita @ 2013-10-29 1:26 UTC (permalink / raw)
To: Ming Lei; +Cc: linux-ext4@vger.kernel.org, Peng Chen
Hello Ming,
> During running e4defrag, I am writing/reading data on file system.
> Is it safe to use e4defrag? I mean if power failure happens, is there any possibility of data loss or defragging file corruption?
# I have received same question from Peng and I already answered him. Anyway;
The journal feature and kernel internal locks protect data corruption
against power failure and R/W confliction on ext4, so you don't need to
worry about that.
For more detail about journal, please check
the following web page.
https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout#Journal_.28jbd2.29
Regards,
Akira Fujita
(2013/10/29 2:13), Ming Lei wrote:
> Hi,
>
> I am using e4defrag to defrag running ext4 online.
> During running e4defrag, I am writing/reading data on file system.
> Is it safe to use e4defrag? I mean if power failure happens, is there any possibility of data loss or defragging file corruption?
> If there is possibility of defragging file corruption after power failure, can fsck fix it?
>
> Thank you very much.
> Peng
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-29 1:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-28 17:13 Question of online defrag, thanks Ming Lei
2013-10-29 1:26 ` Akira Fujita
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.