Date: Tue, 21 Dec 1999 18:02:12 +0800 (CST) From: Michael Robinson <robinson@netrinsics.com> To: freebsd-stable@freebsd.org Subject: Extremely bizarre filename behavior (3.3-RELEASE) Message-ID: <199912211002.SAA50337@netrinsics.com>
next in thread | raw e-mail | index | archive | help
I have an image repository indexed by md5 checksum. The repository has about eleven thousand images, and about two dozen directory entries like this: ---------------- # ls -li cb/d3 total 60 468593 -rwxr-xr-x 1 nobody staff 30063 Dec 17 18:54 cbd3b669fd20b2164b4391b053ed02e8.JPG # ls cb/d3/cbd3b669fd20b2164b4391b053ed02e8.JPG ls: cb/d3/cbd3b669fd20b2164b4391b053ed02e8.JPG: No such file or directory ---------------- In other words, there is a directory entry, but the file can't be accessed directly. Then things get wierd: ---------------- # cd cb/d3 # touch * # ls -l total 60 -rwxr-xr-x 1 nobody staff 30063 Dec 21 17:49 cbd3b669fd20b2164b4391b053ed02e8.JPG ---------------- So, the directory entry is attached to a real live inode, whose modification time can be updated with "touch *". But then it gets really, really wierd: ---------------- # touch cbd3b669fd20b2164b4391b053ed02e8.JPG # ls cbd3b669fd20b2164b4391b053ed02e8.JPG cbd3b669fd20b2164b4391b053ed02e8.JPG # ls cbd3b669fd20b2164b4391b053ed02e8.JPG cbd3b669fd20b2164b4391b053ed02e8.JPG # ls -li total 60 468650 -rw-r--r-- 1 root staff 0 Dec 21 17:50 cbd3b669fd20b2164b4391b053ed02e8.JPG 468593 -rwxr-xr-x 1 nobody staff 30063 Dec 21 17:49 cbd3b669fd20b2164b4391b053ed02e8.JPG ---------------- This filesystem passes fsck without a peep. Is it possible that the vast number of long, random filenames is causing lossage in the filename hashing? The system is 3.3-RELEASE. I'm going to upgrade to 3.4-RELEASE tonight to see if the problems persist. -Michael Robinson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912211002.SAA50337>