1753798 Members
7248 Online
108805 Solutions
New Discussion юеВ

Re: Multiple files???

 
SOLVED
Go to solution
Jan van den Ende
Honored Contributor

Re: Multiple files???

To quickly generate a "no such file":

$ CREATE X.X
^Z
$ SET FILE /ENTER=Y.Y X.X
$ DELETE X.X.*
$ DIR Y.Y


Proost.

Have one on me.

Jan
Don't rust yours pelled jacker to fine doll missed aches.
Uwe Zessin
Honored Contributor

Re: Multiple files???

You would have to ammend your directory command with a qualifier that forces a request of some data from the file header, e.g.
$ directory /size Y.Y

else, directory will just display the file name.

I've just tried this under OpenVMS Alpha V7.3-2, but this games does not work any longer on a disk that has hard links enabled ;-)
.
Hein van den Heuvel
Honored Contributor
Solution

Re: Multiple files???

Hi there mister Q. Long time no see.
(Per still lives on Queens way)

Considering that the sizes are different, we must be speaking about different file. But why speculate if you can be sure... for your next DIR command add in /FILE this will report the FILE ID (which points to the file header). This is the only information in the directory itself. Any other detail (size, date) will come form the header and may cause 'no such file' even if the directory entry is there.

Now in your example you use: "NETSERVER.LOG;1", and you give no 'proof' that this file might simple not exist. That would be a very good reason for "no files found", but not for "no such file", the latter message comes from the broken link, as mentioned earlier. I suspect that for a file it an extension header, a missing extention could cause this also.

DUMP is your friend to analyze further. DUMP/DIR as mentioned, but also DUMP/IDEN to go after the reported file ID and see what it there now.

You may want to blow away the directory (in a soft, recoverable way: set file /nodir, rename) and have DFU or ANA/DISK find back the files.

>>> ALso getting a lot of warnings (badhiblk, freespadrift, bad_nameorder and related

That would worry me all right!

Start doublechecking the backup procedures, logs. Start reviewing the recovery procedure.

Good luck

Hein.
Lawrence Czlapinski
Trusted Contributor

Re: Multiple files???

Peter,
1. www_prd_root probably has multiple translations. The multiple versions are probably from 2 different directories especially since they are in 2 groups of desending sequence with different sizes. So that part is probably ok. As previously suggested do show log/sys of www_prd_root and do individual dir n*.log.
SYS$SYSROOT is an example of a multiple translation logical.
2. The no such file may be a real problem.
Perhaps a delete of the files was interrupted. Do another dir n*.log;1 just to be sure that you didn't catch it while it was being deleted. It's not like, but just to cover that possibility. If you get the same results, than do as others have suggested to correct it.
John Gillings
Honored Contributor

Re: Multiple files???

Hey Q!

I'd look at DIR/FILE then examine the files by FID. This might be an artifact of a search list, or it could be directory corruption (bad_nameorder doesn't look good).

If it is directory corruption, I'd recommend repairing the directories with ANALYZE/DISK/REPAIR *AND* DFU. Make sure your disk is clean, then watch the directory carefully for a few weeks to see if the problem returns.

As you know, there are many possible causes of this type of problem, and it's all but impossible to diagnose retrospectively. We need to at least narrow down a time window to have a good crack at figuring out the cause.

A crucible of informative mistakes
Ian Miller.
Honored Contributor

Re: Multiple files???

It looks like a bad directory file.

The repair for bad_nameorder errors is to get rid of the directory, use ANAL/DISK/REP, or DFU to recover the files now not in a directory and then recreate the directory.
____________________
Purely Personal Opinion
Peter Quodling
Trusted Contributor

Re: Multiple files???

re all...

www_prd_root is not a search list.

show log www_prd_root
"WWW_PRD_ROOT" = "DATA1:[PROD04.WWW_PROD.]" (LNM$SYSTEM_TABLE)
Prd> show log www_prd_root/full
"WWW_PRD_ROOT" [exec] = "DATA1:[PROD04.WWW_PROD.]" [concealed] (LNM$SYSTEM_TABLE)

By File ID I see...
NETSERVER.LOG;13 (402,44510,0) 15/15
NETSERVER.LOG;12 (3109,25741,0) 15/15
NETSERVER.LOG;11 (2686,1568,0) 15/15
NETSERVER.LOG;10 (1444,16908,0) 15/15
NETSERVER.LOG;9 (1030,57182,0) 15/15
NETSERVER.LOG;8 (929,16481,0) 15/15
NETSERVER.LOG;7 (3715,57855,0) 15/15
NETSERVER.LOG;6 (932,29654,0) 15/15
NETSERVER.LOG;5 (3544,5997,0) 15/15
NETSERVER.LOG;4 (1758,20663,0) 15/15
NETSERVER.LOG;3 (479,6900,0) 15/15
NETSERVER.LOG;2 (3511,13613,0) 15/15
NETSERVER.LOG;1 (3466,1304,0) 15/15
NETSERVER.LOG;12 (5752,21700,0) 15/15
NETSERVER.LOG;11 (3534,8418,0) 6/10
NETSERVER.LOG;10 (5112,2341,0) 6/10
NETSERVER.LOG;9 (3425,11024,0) 6/10
NETSERVER.LOG;8 (5127,49434,0) 6/10
NETSERVER.LOG;7 (3825,23594,0) 6/10
NETSERVER.LOG;6 (3379,1160,0) 6/10
NETSERVER.LOG;5 (3378,24912,0) 6/10
NETSERVER.LOG;4 (3375,6237,0) 6/10
NETSERVER.LOG;3 (2858,19727,0) 6/10
NETSERVER.LOG;2 (4097,7333,0) 6/10
NETSERVER.LOG;1 (4118,7704,0) 6/10

Total of 82 files, 451980/452230 blocks.
P

Looks like there goes the upcoming long weekend.

Peter
Leave the Money on the Fridge.
Paul Jerrom
Valued Contributor

Re: Multiple files???

So is DATA1: a logical name search list?

I've seen the "no such file" problems when restoring incremental backups. Until all the incrementals are restored, missing files are flagged as existing in the directory, but give a "no such file" error when you try to look at the file itself (because there is no such file!!).
Have fun,

Peejay
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If it can't be done with a VT220, who needs it?
Peter Quodling
Trusted Contributor

Re: Multiple files???

No such luck.

Prd> show log/full data1
"DATA1" [exec] = "$2$DRA1:" [concealed,terminal] (LNM$SYSTEM_TABLE)

And there haven't been any restores to this disk in recent times.

q
Leave the Money on the Fridge.
Antoniov.
Honored Contributor

Re: Multiple files???

Hi Q,
attached file is an example how you can see "No such file" message.
The command file creates a lot of TEMP*.TMP files, then spawn a subprocess to delete them while executes dir command.
While subprocess is deleting files, the dir catches some entry of deleted file.
Obviously, this is a merely temporary situation but for some weird reason in your case is not temporary.

Antonio Vigliotti
P.S. If you run attached example, please, execute it in a temporary directory.
Antonio Maria Vigliotti