:: Re: [DNG] Finding inode anomaly
Top Page
Delete this message
Reply to this message
Author: Ralph Ronnquist
Date:  
To: dng
Subject: Re: [DNG] Finding inode anomaly
On Tue, Aug 04, 2026 at 11:48:59PM -0500, Leroy Tennison via Dng wrote:
> In my home directory doing
>
> ls -ald Work produces:        drwxrwxr-x 6 leroy leroy 4096 Mar 19 19:21
> Work
>
> stat Work produces:
>
>   File: Work
>   Size: 4096            Blocks: 8          IO Block: 4096  directory
> Device: 8,21    Inode: 671811      Links: 6
> Access: (0775/drwxrwxr-x)  Uid: ( 1000/   leroy)   Gid: ( 1000/  leroy)
> Access: 2026-08-04 22:39:33.069406762 -0500
> Modify: 2026-03-19 19:21:27.320382553 -0500
> Change: 2026-03-19 19:21:27.320382553 -0500
>  Birth: 2025-02-15 23:39:59.447582519 -0600
>
> ls -id produces:        671811 Work
>
> As root find / -inum 671811 produces:
>
> /proc/16908/task/16953/fd/21


The above match indicates that a program has that inode for one of its
fd links (filedescriptor links); i.e. incidentally the same inode
number that you where looking for.

Note that inodes are private to the filesystems. Thus the inode number
may appear multiple times for different "objects" on different
filesystems. The above is an inode in the /proc filesystem.

> find: ‘/run/user/1000/doc’: Permission denied


Apparently the find process did not have access into that "doc"
directory; this is an error and not a reference to that inode.

> /home/leroy/Work


That's the Work directory

>
> findmnt produces (among other things):        /home         /dev/sdb5 
>  ext4        rw,relatime
>
> I logged in as a sudo membership user whose home directory wasn't on
> /dev/sdb5, sudoed, made sure /dev/sdb5 wasn't mounted and ran e2fsck -f
> /dev/sdb5
>
> No errors were detected, it did optimize three issues.  After remounting
> /dev/sdb5 on /home, logging out and back in with user leroy running the
> above commands produced the same result.
>
> How do I find the other inode references?


I'd say the only actual match for that inode is that Work directory.

Ralph.

>
> (BTW, using tune2fs -l /dev/sdb5 shows the partition was created roughly 13
> years ago - who knows what distro created it).
>
> _______________________________________________
> Dng mailing list
> Dng@???
> Manage your subscription: https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> Archive: https://lists.dyne.org/lurker/list/dng.en.html