From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97674611219345.tru64-unix-managers.marc@archive.invalid> From: "Bury, John G." Date: Wed, 13 Dec 2000 22:21:04 +0000 To: tru64-unix-managers Subject: Strange results from a simple "rm" and 'cp" commands... X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97674611219345 Tru64-UNIX-Managers, Several of our users have reported this strange behavior exhibited from the "rm" and "cp" commands on several of our servers running Tru64 UNIX. The following occurred on an ES40 running Tru64 UNIX v4.0F with patch kit 4 installed. This problem has also surfaced on a GS140 running Tru64 UNIX v4.0f with patch kit 3 installed. Problem Description: A user changes to a directory, performs a listing and identifies a file that he/she wants to remove. The user then executes the rm command to remove the file and receives the error message "rm: : No such file or directory". Afterwards the user performs listing in the directory again and the file has been removed. In the following example a user was trying to remove a file called, chr2.tags.Z: pwli@chmap (15) !! ls -l total 4309488 -rw-r--r-- 1 pwli chrmap 538718 Dec 9 15:35 chr2.cnts.Z -rw-r--r-- 1 pwli chrmap 72605 Dec 10 10:55 chr2.lin -rw-r--r-- 1 pwli chrmap 72605 Dec 10 10:56 chr2.lin.sort -rw-rw-r-- 1 pwli chrmap 1201397760 Dec 11 23:45 chr2.tag7.Z -rw-r--r-- 1 pwli chrmap 1369241803 Dec 6 22:43 chr2.tags.Z -rw-r--r-- 1 pwli chrmap 1841428433 Dec 7 04:04 chr2.tags.sort.Z lrwxrwxrwx 1 pwli chrmap 42 Dec 4 22:36 chr_fasta@ -> /work/chrom5/projects/map/SCFmap/chr_fasta/ -rw-r--r-- 1 pwli chrmap 95 Dec 6 21:42 dotags -rwxr-xr-x 1 pwli chrmap 2455 Dec 9 14:49 getsegcnt* lrwxrwxrwx 1 pwli chrmap 46 Dec 8 10:52 good_9.2@ -> /work/jamboree/holy_grail/temp/gnth_3/good_9.2 -rwxr-xr-x 1 pwli chrmap 1055 Dec 10 10:55 linreg* -rwxrwxr-x 1 pwli chrmap 635 Dec 11 12:12 tagger* -rw-rw-r-- 1 pwli chrmap 14560 Dec 11 22:59 tags -rw-r--r-- 1 pwli chrmap 170 Dec 6 22:51 tagtail -rw-r--r-- 1 pwli chrmap 170 Dec 7 10:12 tailtags drwxr-xr-x 2 pwli chrmap 8192 Dec 7 04:04 tmp/ pwli@chmap (16) ps x PID TTY S TIME CMD 11327 ?? U 10:53.64 compress 11336 ?? R 46:05.20 perl tagger 7 12358 ttypa S 0:00.11 -csh (csh) pwli@chmap (17) rm chr2.tags.Z rm: remove chr2.tags.Z? y rm: chr2.tags.Z: No such file or directory pwli@chmap (18) ls chr2.cnts.Z chr2.tags.sort.Z good_9.2@ tagtail chr2.lin chr_fasta@ linreg* tailtags chr2.lin.sort dotags tagger* tmp/ chr2.tag7.Z getsegcnt* tags Additionally, other users have had similar problems with the "cp" command. A user runs a simple script that finds and creates files in the /tmp area and then copies them to a file system. In 6 of approx. 500000 operations the user received "file not found" errors from the "cp" command. However, the files were created and copied to the correct place. Does anyone have any idea what may be causing this? Has anyone else encountered this problem? Is there a fix for this problem? Any ideas would be greatly appreciated. Thanks for your time. Regards, John