Duplicate filenames on RHEL
Issue
Duplicate filenames on RHEL5.4
# ls -il | head
total 15287884
4578596 -rw-r--r-- 2 rstraa users 75422883 Apr 2 2009 ex090401.log
4578596 -rw-r--r-- 2 rstraa users 75422883 Apr 2 2009 ex090401.log
4578587 -rw-r--r-- 2 root root 70582251 Apr 3 2009 ex090402.log
4578587 -rw-r--r-- 2 root root 70582251 Apr 3 2009 ex090402.log
4578602 -rw-r--r-- 2 root root 62538572 Apr 4 2009 ex090403.log
4578602 -rw-r--r-- 2 root root 62538572 Apr 4 2009 ex090403.log
4578632 -rw-r--r-- 2 root root 59327424 Apr 7 2009 ex090406.log
4578632 -rw-r--r-- 2 root root 59327424 Apr 7 2009 ex090406.log
4578634 -rw-r--r-- 1 root root 260381945 Apr 8 2009 ex090407.log# stat ex090401.log
File:ex090401.log'ex090402.log'
Size: 75422883 Blocks: 147472 IO Block: 4096 regular file
Device: fd04h/64772d Inode: 4578596 Links: 2
Access: (0644/-rw-r--r--) Uid: ( 503/ rstraa) Gid: ( 100/ users)
Access: 2010-03-27 16:57:14.000000000 +1100
Modify: 2009-04-02 00:00:00.000000000 +1100
Change: 2010-05-22 11:50:38.000000000 +1000
[root@HOLST-LOGPV01 rbaweb1]\# stat ex090402.log
File:
Size: 70582251 Blocks: 138008 IO Block: 4096 regular file
Device: fd04h/64772d Inode: 4578587 Links: 2
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2010-03-27 16:57:15.000000000 +1100
Modify: 2009-04-03 17:51:07.000000000 +1100
Change: 2010-05-22 11:50:24.000000000 +1000# find /opt/logs/rbawebsite/rbaweb1 -name "ex090401.log"
/opt/logs/rbawebsite/rbaweb1/ex090401.log
/opt/logs/rbawebsite/rbaweb1/ex090401.log# find /opt/logs/rbawebsite/rbaweb1 -name "ex090401.log" | while read filename ; do stat "$filename" ; done
File:/opt/logs/rbawebsite/rbaweb1/ex090401.log'/opt/logs/rbawebsite/rbaweb1/ex090401.log'
Size: 75422883 Blocks: 147472 IO Block: 4096 regular file
Device: fd04h/64772d Inode: 4578596 Links: 2
Access: (0644/-rw-r--r--) Uid: ( 503/ rstraa) Gid: ( 100/ users)
Access: 2010-05-29 08:45:06.000000000 +1000
Modify: 2009-04-02 00:00:00.000000000 +1100
Change: 2010-05-22 11:50:38.000000000 +1000
File:
Size: 75422883 Blocks: 147472 IO Block: 4096 regular file
Device: fd04h/64772d Inode: 4578596 Links: 2
Access: (0644/-rw-r--r--) Uid: ( 503/ rstraa) Gid: ( 100/ users)
Access: 2010-05-29 08:45:06.000000000 +1000
Modify: 2009-04-02 00:00:00.000000000 +1100
Change: 2010-05-22 11:50:38.000000000 +1000
The following problems refer to our production virtual machine server HOLST-LOGPV01.
Unmounted /opt and Run "e2fsck -f /dev/os/opt" did not fix the issue.
Reboot did not fix the issue.
Environment
- Red Hat Enterprise Linux 5.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
