bug-coreutils
[Top][All Lists]
Advanced

[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: Chris Weston
Subject: RE: ls reports incorrect file size compared to what debugfs reports for ext3 filesystem
Date: Wed, 20 May 2009 09:35:49 -0700

On Wed, May 20, 2009 at 1:37 AM James Youngman <address@hidden> wrote:
> On Wed, May 20, 2009 at 1:33 AM, Matthew Woehlke
> <address@hidden> wrote:
> > 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.
> >
> > Maybe the file is sparse? What does 'stat log_1848_1239927341.core' have
> to
> > say?
> 
> Chris already posted that in this thread.     The file does appear to
> be sparse.
> 
> However, the strace output also looks very unusual ...
> 
> address@hidden:/mnt/sys/external> strace -v ls -l log_1848_1239927341.core
> svr4_syscall()                          = 0
> syscall_6061(0x7fb817ec, 0x39950000, 0x3995bf08, 0x3995c58c, 0, 0, 0,
> 0, 0, 0, 0, 0, 0, 0
> , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) = 0
> syscall_6009(0, 0x1000, 0x3, 0x802, 0, 0x20, 0, 0x39960000, 0,
> 0x39960000, 0, 0x39964010,
>  0, 0x39936db0, 0, 0, 0x39948628, 0, 0, 0, 0, 0, 0, 0x20000000, 0,
> 0x3995c288, 0, 0, 0, 0
> , 0, 0x3995ca68) = 0x2aaa8000
> svr4_fork()                             = -1 ERRNO_6002 (Unknown error
> 6002)
> svr4_fork()                             = -1 ERRNO_6002 (Unknown error
> 6002)
> 
> [...]
> 
> svr4_syscall()                          = -1 ERRNO_6001 (Unknown error
> 6001)
> -rwxrwxrwx 1 root root 109775240942714880 Apr 30 08:12 _1848_123
> 9927341.core
> svr4_evtrapret()                        = -1 ERRNO_6003 (Unknown error
> 6003)
> svr4_syscall()                          = 6011
> svr4_syscall()                          = -1 ERRNO_6003 (Unknown error
> 6003)
> svr4_syscall()                          = -1 ERRNO_6205 (Unknown error
> 6205)
> Process 2697 detached
> 
> 
> ... which leads me to on the one hand wonder if the platform is MIPS,
> but on the other hand wonder if something else is going on, since the
> strace output seems to contain so many unknown errno values and the
> strace output doesn't seem to end with an exit syscall.
> 
Yes, the platform is MIPS with a 64-bit Kernel and 32-bit userland.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]