On 2004-08-03 11:40, Uwe Debacher wrote:
I have a strange problem with reiserfs and SuSE 9.1. There seem to be pairs of filenames which are not different in the same directory.
An example is nb3001/mm3001: /tmp> mkdir nb3001 /tmp> mkdir mm3001 mkdir: kann Verzeichnis „mm3001“ nicht anlegen: Die Datei existiert bereits
Me too! nimrodel:~ # cd / nimrodel:/ # mkdir nb3001 nimrodel:/ # mkdir mm3001 mkdir: cannot create directory `mm3001': File exists nimrodel:/ # l *3001 total 1 drwxr-xr-x 2 root root 48 Aug 3 14:08 ./ drwxr-xr-x 31 root root 1024 Aug 3 14:08 ../ nimrodel:/ # rd mm3001 nimrodel:/ # rd nb3001 rmdir: `nb3001': No such file or directory nimrodel:/ # l nb3001 /bin/ls: nb3001: No such file or directory Surprising :-/ However, on my home partition, which is also a reiserfs partition, behaviour is different: cer@nimrodel:~> mkdir nb3001 cer@nimrodel:~> mkdir mm3001 cer@nimrodel:~> l /home/cer/??3001 /home/cer/mm3001: total 12 drwxr-xr-x 2 cer users 48 2004-08-03 14:11 ./ drwx------ 98 cer users 11832 2004-08-03 14:11 ../ /home/cer/nb3001: total 12 drwxr-xr-x 2 cer users 48 2004-08-03 14:11 ./ drwx------ 98 cer users 11832 2004-08-03 14:11 ../ cer@nimrodel:~> rd nb3001 cer@nimrodel:~> rd mm3001 cer@nimrodel:~> l /home/cer/??3001 /bin/ls: /home/cer/??3001: No such file or directory And, to answer Lars Ellenberg questions: nimrodel:~ # cat /proc/version Linux version 2.6.5-7.75-default (geeko@buildhost) (gcc version 3.3.3 (SuSE Linux)) #1 Mon Jun 14 10:44:37 UTC 2004 nimrodel:~ # mount /dev/hdb6 on / type reiserfs (rw,noatime) ... nimrodel:~ # debugreiserfs /dev/hdb6 debugreiserfs 3.6.13 (2003 www.namesys.com) Filesystem state: consistency is not checked after last mounting Reiserfs super block in block 16 on 0x346 of format 3.6 with standard journal Count of blocks on the device: 1588419 Number of bitmaps: 49 Blocksize: 4096 Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 364894 Root block: 33875 Filesystem is NOT clean Tree height: 5 Hash function used to sort names: "r5" Objectid map size 8, max 972 Journal parameters: Device [0x0] Magic [0x5f4db5c4] Size 8193 blocks (including 1 for journal header) (first block 18) Max transaction length 1024 blocks Max batch size 900 blocks Max commit age 30 Blocks reserved by journal: 0 Fs state field: 0x0: sb_version: 2 inode generation number: 3894219 UUID: a1b70046-6aef-4895-a490-b7ec5ce12917 LABEL: Set flags in SB: ATTRIBUTES CLEAN I will run a reiserfsck on next reboot, but I don't expect anything there. -- Saludos Carlos Robinson