Bug 7182 - duplicate filename entries in directories, unable to delete
duplicate filename entries in directories, unable to delete
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
6.1
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Michael K. Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-11-20 15:43 EST by John Bass
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-01-23 18:36:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Bass 1999-11-20 15:43:10 EST
[root@gate 6.1]# ls -l
total 28949
-rw-rw-r--   1 root     root          616 Nov 20 12:37 SPRMS
-rw-rw-r--   1 root     root          616 Nov 20 12:37 SRPMS
-rw-rw-r--   1 root     root     22036480 Nov 20 12:36 i386.tar
-rw-rw-r--   1 root     root      7393280 Nov 20 12:40 images.tar
-rw-rw-r--   1 root     root        92160 Nov 20 12:38 noarch.tar
[root@gate 6.1]# rm SPRMS
rm: remove `SPRMS'? y
[root@gate 6.1]# rm SPRMS
rm: cannot remove `SPRMS': No such file or directory
[root@gate 6.1]# ls -l
total 28948
-rw-rw-r--   1 root     root          616 Nov 20 12:37 SRPMS
-rw-rw-r--   1 root     root     22036480 Nov 20 12:36 i386.tar
-rw-rw-r--   1 root     root      7393280 Nov 20 12:40 images.tar
-rw-rw-r--   1 root     root        92160 Nov 20 12:38 noarch.tar
[root@gate 6.1]# ls | od -c
0000000   S   R   P   M   S  \n   i   3   8   6   .   t   a   r  \n   i
0000020   m   a   g   e   s   .   t   a   r  \n   n   o   a   r   c   h
0000040   .   t   a   r  \n
0000045
[root@gate 6.1]# >SPRMS
[root@gate 6.1]# ls -ltri
total 28948
1957943 -rw-rw-r--   1 root     root     22036480 Nov 20 12:36 i386.tar
1957945 -rw-rw-r--   1 root     root          616 Nov 20 12:37 SRPMS
1957946 -rw-rw-r--   1 root     root        92160 Nov 20 12:38 noarch.tar
1957947 -rw-rw-r--   1 root     root      7393280 Nov 20 12:40 images.tar
1957944 -rw-rw-r--   1 root     root            0 Nov 20 13:36 SPRMS
Upgraded from 5.2 to 6.1 and now the filesystem is unstable.
It frequently creates duplicate directory entries that are not
removable.

[root@gate 6.1]# rm SPRMS
rm: remove `SPRMS'? y
[root@gate 6.1]# rm SPRMS
rm: cannot remove `SPRMS': No such file or directory
[root@gate 6.1]# ls -ltri
total 28948
1957943 -rw-rw-r--   1 root     root     22036480 Nov 20 12:36 i386.tar
1957945 -rw-rw-r--   1 root     root          616 Nov 20 12:37 SRPMS
1957946 -rw-rw-r--   1 root     root        92160 Nov 20 12:38 noarch.tar
1957947 -rw-rw-r--   1 root     root      7393280 Nov 20 12:40 images.tar
[root@gate 6.1]# df -k .
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda3              7956306   7394036    149803  98% /
[root@gate 6.1]# cat /etc/fstab
/dev/sda3               /                       ext2    defaults        1 1
Comment 1 Cristian Gafton 2000-01-04 17:26:59 EST
Assigned to dledford
Comment 2 Stephen John Smoogen 2003-01-23 18:36:07 EST
Bug 7182 is being closed because it seems to have been fixed in the long
timeframe since 1999. I am unable to duplicate it on a 8.0 or 7.3 red hat linux.
If it is still occuring, please open a new bug.

Note You need to log in before you can comment on or make changes to this bug.