Ingo Juergensmann said:
> It happened today during the daily cron runs of updatedb f.e., but happened
> as well during "normal" activity when using the machine.
> When I run xfs_repair several times, the errors are mostly fixed, although
> many files usually get moved to lost+found.
Some addition to that:
# xfs_repair -V
xfs_repair version 2.6.3
# xfs_repair -n -l /dev/hda8 /dev/hdc1
.
.
.
would junk entry "LC_MESSAGES"
entry "LC_MESSAGES" in shortform directory inode 50331874 points to free inode
54526141
would junk entry "LC_MESSAGES"
entry "copyright" in shortform directory inode 33554667 points to free inode
33554708
would junk entry "copyright"
fatal error -- malloc failed in longform_dir2_entry_check (2382892308 bytes)
I think I have no memory problem:
# cat /proc/meminfo
MemTotal: 644752 kB
MemFree: 63796 kB
Buffers: 21992 kB
Cached: 278172 kB
SwapCached: 0 kB
Active: 524244 kB
Inactive: 3180 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 644752 kB
LowFree: 63796 kB
SwapTotal: 1394604 kB
SwapFree: 1394604 kB
Dirty: 436 kB
Writeback: 0 kB
Mapped: 279680 kB
Slab: 44488 kB
Committed_AS: 474984 kB
PageTables: 2016 kB
VmallocTotal: 384988 kB
VmallocUsed: 19448 kB
VmallocChunk: 365456 kB
memtest86 run a whole night as well with no reported error. So, this is
supposed to be a bug within the userland tools, namely xfs_repair. Allocating
2 GB of memory is not very, uhm, modest... ;)
--
Ciao... // "Such giants are these! Great shoulders bear
Ingo \X/ so many. I stand among them." (D. Haynie)
|