Operating System - OpenVMS
1834928 Members
2585 Online
110071 Solutions
New Discussion

Advanced server 7.3 file marked for delete...

 
SOLVED
Go to solution
Martin West_1
Occasional Contributor

Advanced server 7.3 file marked for delete...

When I run analyze/disk/repair on my sysdisk I get a lot of: "%ANALDISK-W-DELHEADER, file (7114,60,1) PWRK$SECTION_1091_0000012E.SECTION;
marked for delete"
I successfylly get rid of them if I run analyze/disk/repair when Advanced server is shut down. But they keep coming back, why?

Martin
9 REPLIES 9
Uwe Zessin
Honored Contributor

Re: Advanced server 7.3 file marked for delete...

Martin,
if you shut down ADV and then run ANALYZE - do you see any lost files?

In FORTRAN, for example, there is an option for the OPEN command (DISPOSE=DELETE, if I recall correctly). It means that the file gets automatically deleted when it is closed. It looks to me like ADV opens the file in a similar way. I don't think you have to worry.
.
Antoniov.
Honored Contributor

Re: Advanced server 7.3 file marked for delete...

I guess when somebody try to delete a opened file; file is marked for delete but not yet removed from system.
I can't give you more details; I've searched on my system and found theese files are use by pw processes (all processes).

@Antoniov
Antonio Maria Vigliotti
Kris Clippeleyr
Honored Contributor
Solution

Re: Advanced server 7.3 file marked for delete...


Martin,

As Uwe & Antoniov pointed out, these files are deleted (marked for delete) but still held open by a process. It's one of those "features" of ADV. Another notorious product that does the same thing is SQL/Services.

Nothing to worry about, we do an ANALYZE/DISK/REPAIR on a regular basis. This keeps our disks somewhat healthy.

Greetz,

Kris Clippeleyr
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
Uwe Zessin
Honored Contributor

Re: Advanced server 7.3 file marked for delete...

I didn't mean you have to ANALYZE /REPAIR your disks on a regular basis to recover any space. The XQP should release it properly when the file is closed.
.
Kris Clippeleyr
Honored Contributor

Re: Advanced server 7.3 file marked for delete...


Uwe,

With an ANALYZE/DISK/REPAIR you can recover "lost" space on a disk.
However, the main reason we do an ANALYZE/DISK/REPAIR is to get rid of these dangling file headers of files deleted at the time they were still open. Once such a file is closed, the XQP does not properly mark the file header as being free in the INDEXF.SYS. "Repairing" the disk takes care of this.

Greetz,

Kris Clippeleyr
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
Ian Miller.
Honored Contributor

Re: Advanced server 7.3 file marked for delete...

You may find DFU VERIFY/FIX quicker than ANAL/DISK/REP for regular runs however it does not fix everything but may be useful if it picks up yr files marked for delete.
____________________
Purely Personal Opinion
Jan van den Ende
Honored Contributor

Re: Advanced server 7.3 file marked for delete...

Hi,

what I think I read between the lines from Uwe, and if so, I fully agree with it:
XQP should recognise already-deleted-still-open files being closed, and as such the closing should neatly finish the deletion.

Then, marked-for-delete would really be ONLY those files not-yet-closed, and that's alright.
It just should NOT be necessary for SystemManagement to have it be an extra special action.

Jan
Don't rust yours pelled jacker to fine doll missed aches.
Brad McCusker
Respected Contributor

Re: Advanced server 7.3 file marked for delete...

Hi Martin,

The PWRK$SECTION* files are just temporary backing store files used by the Advanced Server. They can be ignored.

As you already noticed, they are marked for delete and will go away when the Advanced Server is shut down.

Regards,

Brad McCusker
(former Advanced Server engineer)
Brad McCusker
Software Concepts International
Martin West_1
Occasional Contributor

Re: Advanced server 7.3 file marked for delete...

Hi!

Thank's for all help!
I'm satisfied.

Martin