Re: ln -l says symlink has size 281474976710666

From: John R Lenton (john@grulic.org.ar)
Date: Wed Mar 14 2001 - 00:22:36 EST


On Tue, Mar 13, 2001 at 02:47:16PM -0700, Andreas Dilger wrote:
> ls -i (path)/imlib1; ls -i (path)/fd # record inode numbers
> debugfs /dev/hdX
> stat <inode_number> # '<' and '>' are required

burocracia:~# ls -i /usr/share/doc/|grep \ imlib1$
 404176 imlib1
burocracia:~# ls -i /dev/|grep fd$
 404192 fd
burocracia:~# debugfs /dev/hda2
debugfs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
debugfs: stat <404176>
Inode: 404176 Type: symlink Mode: 0777 Flags: 0x0 Generation: 2457884131
User: 0 Group: 0 Size: 281474976710666
File ACL: 0 Directory ACL: 0
Links: 1 Blockcount: 0
Fragment: Address: 0 Number: 0 Size: 0
ctime: 0x3a735ed8 -- Sat Jan 27 20:50:48 2001
atime: 0x3aaef4cd -- Wed Mar 14 01:34:21 2001
mtime: 0x3a735ed8 -- Sat Jan 27 20:50:48 2001
Fast_link_dest: imlib-base
debugfs: stat <404192>
Inode: 404192 Type: symlink Mode: 0777 Flags: 0x0 Generation: 1796859698
User: 0 Group: 0 Size: 281474976710669
File ACL: 0 Directory ACL: 0
Links: 1 Blockcount: 0
Fragment: Address: 0 Number: 0 Size: 0
ctime: 0x3a7308d5 -- Sat Jan 27 14:43:49 2001
atime: 0x3aaef4cd -- Wed Mar 14 01:34:21 2001
mtime: 0x3a7308d5 -- Sat Jan 27 14:43:49 2001
Fast_link_dest: /proc/self/fd

> send output. This should tell us if the badness is stored on disk or in
> memory. Of course e2fsck would help as well. Were these newly created
> inodes, or existing ones? If you shutdown and restart, does it go away?
> Anything in syslog about ext2 warnings or errors?

this is after an e2fsck, after a reboot, after restart. Nothing
in the logs. The inodes are as old as the system, which isn't all
that old (circa the first release with reiserfs).

I did a find on the whole filesystem and I seem to have stumbled
on the only two files with this problem by accident.

-- 
John Lenton (john@grulic.org.ar) -- Random fortune:
Acepto que sientas odio, pero no que actúes con él...
acepto que ames, aplaudo que actúes siempre con él.
   -- Montesino.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 15 2001 - 21:00:16 EST