Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Recently I read a lot about "new" file systems.

I checked some benchmarks that show MySQL working faster on EXT4 or XFS (and some other FS).

I also "found" that XFS and EXT4 are included in CentOS 5.X

However most of the articles I read speaks either very positively either very negatively on XFS. Same for EXT4.

Despite I have some Debian's that work on EXT4, I do not have experience with it.

Questions are - Is it safe?

If power stops - what will happen and what data could be lost?

If system crashes what will happen and what data could be lost?

If memory or some hardware (not the HDD controller or HDD) broke - what will happen and what data could be lost...

share|improve this question
add comment

1 Answer

* sigh * - this has been done to death on this site, please try to search for previously-asked questions before duplicating them, but yes, anything like a filesystem that's not only included in a mainstream released distribution such as RHEL but actually the default is clearly safe yes.

As for your questions - in the event of a power loss or system crash transactional filesystems wind back non-committed writes to preserve coherence. As far as memory or other hardware crashing it depends on your hardware and the support for that failed component, there's not one answer across the board.

share|improve this answer
    
If "this has been done to death on this site", can someone please link to the duplicate questions so they appear under Linked in the sidebar? Also, please remember that Jeff and Joel have said it's fine to ask the same question in a slightly different way so people can find it. The title of this question ("ext3 vs. ext4 vs. xfs") sounded like what I was looking for. I'll try to help by linking to serverfault.com/q/206772/1156 and serverfault.com/q/91734/1156 –  Philip Durbin Jun 9 '12 at 11:44
    
When you type in the title of a new question you are presented with a list of likely similar question titles below called "Questions that may already have your answer" - they're there for a reason. –  Chopper3 Jun 9 '12 at 13:09
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.