Hi, there,
I've just transferred my old ext2 FS into XFS FS and did the
following test. What I got surprises me.
First, I modify a file with vim, save it, and go back to bash
shell. Then, I hit the power button to crash the system
instantly. Now I restart the system and the XFS FS comes back
gracefully. However, when I try to open the just saved file,
nothing is there, not the new modified content, not even the old
content. All the content in the file is wiped off by a stream
of weird symbols. Is the XFS FS supposed to behavior like that?
It seems to me XFS is really not a safe FS to count on when
system crashing. I presumed that I should have my old content
back. Did I asked too much here? Thanks in advance.
Xianglong Yuan
|