Re: Question of online defrag, thanks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux