https://bugzilla.kernel.org/show_bug.cgi?id=51321
Summary: Huge data loss on power outage
Product: File System
Version: 2.5
Kernel Version: 3.6
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: XFS
AssignedTo: xfs-masters@xxxxxxxxxxx
ReportedBy: sdeber@xxxxxxxxx
Regression: No
Guys. I have been experiencing this problem for many times since I changed my
file system to XFS last year. The problem is after copying some files to a XFS
partition, if I have a unexpected power cut, then in most cases, those newly
copied files will disappear completely as if they had never been created in the
partition in the first place. The hard drive are internal ones without RAID.
Normally, I have a data loss of 4 or 5GB because of this problem. But
yesterday, I copied to a new XFS partition 4 folders containing more than 200
files with a total size of 20Gb. The copy was done at about 08:00AM, then in
the evening at 6pm, I got a power cut and all these "newly" copied files were
missing again. During the day, there was no other read/write operations
performed to this partition.
Clearly, this problem can not be caused by the typical caching problem because
the cache is too small to cache these data. The only thing I can imagine is
that XFS always keeps meta-data in cache and does not flush it until the
partition is umounted, but this is just my guess.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
|