[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ls reports incorrect file size compared to what debugfs reports for
From: |
Mike Frysinger |
Subject: |
Re: ls reports incorrect file size compared to what debugfs reports for ext3 filesystem |
Date: |
Mon, 18 May 2009 22:38:34 -0400 |
User-agent: |
KMail/1.11.3 (Linux/2.6.29.2; KDE/4.2.3; x86_64; ; ) |
On Monday 18 May 2009 20:56:05 Chris Weston wrote:
> I'm trying debug an issue with my one of my disks in my system. I have an
> ext3 file system mounted and ls -l is reporting an impossible size for two
> of the files: log_1848_1239927341.core and log_1848_1239927341.core~. The
> size is 98P. This partition (/dev/sdb2) is only a few GB in size. I thought
> there could be a possible corruption of the filesystem, but when I mount
> the partition with debugfs, it reports the correct size for the files. In
> addition, fsck finds no errors.
use `stat` on the file and run your ls through `strace -v` to see what
structure you're getting back from the kernel
also, you should report what version of coreutils you're actually using. that
can be found by doing `ls --version`.
-mike