https://bugzilla.kernel.org/show_bug.cgi?id=49801
Summary: lost files
Product: File System
Version: 2.5
Kernel Version: 3.6.2
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: XFS
AssignedTo: xfs-masters@xxxxxxxxxxx
ReportedBy: urykhy@xxxxxxxxx
Regression: No
on crash xfs can loose/corrupt files, even after sync.
what exactly occured:
mount xfs with logbsize=256 (now i switched to defaults)
work, copy files...
run sync() or even sync() in a loop.
crash (i'm crashing with bug 49191)
reboot.
you got a message:
XFS (dm-0): Mounting Filesystem
XFS (dm-0): Starting recovery (logdev: internal)
XFS (dm-0): xlog_recover_process_data: bad clientid 0x0
XFS (dm-0): log mount/recovery failed: error 5
XFS (dm-0): log mount failed
and some thing about can't find superblock (if i remember correctly)
now, i make xfs_repair -L ...
and mount again
results:
some files disappeared,
others - have a garbade inside
for the sample - notebooks.list was replaced with preferences.conf;
preferences.conf itself have a mess of multiple times previous content of
preferences.conf + some other files content.
i want to say one more time, this mess occured after sync.
some background about setup:
sata hdd, xfs over dm-crypt.
please, let me know if you need more information.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
|