- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Purge system files in [SYSEXE]
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2011 02:36 AM
02-25-2011 02:36 AM
PAGEFILE.SYS;2 139300 3-APR-2000 10:31:44.12
PAGEFILE.SYS;1 532500 4-AUG-1999 13:54:57.46
SWAPFILE.SYS;2 9700 3-APR-2000 10:31:56.82
SWAPFILE.SYS;1 26600 4-AUG-1999 13:54:58.55
SYSDUMP.DMP;2 83649 3-APR-2000 10:31:57.89
SYSDUMP.DMP;1 121294 4-AUG-1999 14:25:12.78
Can I safely purge them?
Can I delete SYSDUMP.DMP;* completely?
Why would these files have multiple versions?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2011 02:38 AM
02-25-2011 02:38 AM
Re: Purge system files in [SYSEXE]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2011 02:57 AM
02-25-2011 02:57 AM
Re: Purge system files in [SYSEXE]
If you look at
$ Sho sys/files
and you see the lower versions there, you CAN NOT.
By default they are not, but there are several ways to get them active.
Else, you can purge.
You can PURGE DUMPFILE.SYS, but deleting is a little more complicated.
If you want that, you must first enable dumping to the pagefile (see system management manual for exact instructions).
Next, you must REMAME the dumpfile, so that it still keeps its blocks allocated, but under another name.
Then --REBOOT-- that node, and ONLY THEN delete the (renamed) file.
-- and you better have a DUMPFILE.SYS of some blocks (last I remember was 60 blocks, IIRC) for saving errorlogbuffers in case of system failure.
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2011 03:06 AM
02-25-2011 03:06 AM
Re: Purge system files in [SYSEXE]
%DCL-W-IVQUAL, unrecognized qualifier - check validity, spelling, and placement
\FILES\
$ sho sys
OpenVMS V8.3 on node ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2011 03:13 AM
02-25-2011 03:13 AM
Re: Purge system files in [SYSEXE]
If you run AUTOGEN to tune the system it tends to tinker with the file sizes. If the current pagefile & swapfile sizes are adequate, you can lose the earlier ones.
SYSDUMP.DMP is mapped at boot time; this is to simplify the dump process. The system doesn't hunt around looking for space and creating a file during a crash, just blasts the dump to the blocks it already has mapped. Unless you're really tight on space, best left.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2011 03:35 AM
02-25-2011 03:35 AM
Re: Purge system files in [SYSEXE]
System Memory Resources on 25-FEB-2011 12:22:25.48
Paging File Usage (blocks): Free Reservable Total
DISK$ALPHA:[SYS0.SYSEXE]SWAPFILE.SYS
9600 9600 9600
DISK$ALPHA:[SYS0.SYSEXE]PAGEFILE.SYS
106448 -28288 139264
Does not show versions but I could tentatively match the Total size with the blocksizes of the version 2 files...
But, this is where the magic happens!
Repeating the directory listing:
$ dir/siz/dat *.sys;*,*.dmp;*
Directory SYS$SYSROOT:[SYSEXE]
PAGEFILE.SYS;2 139300 3-APR-2000 10:31:44.12
SWAPFILE.SYS;2 9700 3-APR-2000 10:31:56.82
SYS$ERRLOG.DMP;1 34 4-AUG-1999 14:10:06.02
SYSDUMP.DMP;2 83649 3-APR-2000 10:31:57.89
Total of 4 files, 232683 blocks.
...my version 1 files have gone!!!
I swear I did not purge them!
Has the SHOW MEMORY/FILES command done some tidying up???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2011 05:38 AM
02-25-2011 05:38 AM
Re: Purge system files in [SYSEXE]
If the files are gone, someone (or some command procedure or program) must have either purged or deleted those files.
If you rebooted your system, there could be something in your startup procedures that does this (However, you probably have rebooted sometime in the last 10 years and nothing in the startup procedures has changed?)
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2011 06:23 AM
02-25-2011 06:23 AM
Re: Purge system files in [SYSEXE]
On investigation, someone else had issued a:
$ PURGE [000000...]*.*
in order to gain some disk space on this machine which had filled the system disk (which was why I was searching and discovered these files in the first place).
Well, the Alpha is still running so I guess the answer *in this case* was that it was safe to purge these files.
10 points to anyone who can explain why the version 2 files would have been created (back in the year 2000 when I did not work here!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2011 06:35 AM
02-25-2011 06:35 AM
Solution>>>
explain why the version 2 files would have been created
<<<
Well, certainly one way to achieve that is running AUTOGEN (without explicitly blocking it in MODPARAMS!)
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2011 06:38 AM
02-25-2011 06:38 AM
Re: Purge system files in [SYSEXE]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2011 06:42 AM
02-25-2011 06:42 AM
Re: Purge system files in [SYSEXE]
as Richard pointed out, AUTOGEN is the likely source of these extra files.
If you run
@sys$update:autogen getdata testfiles
and then look at the end of sys$system:agen$params.report you will find that AUTOGEN suggests sizes for these 3 files.
Unless your MODAPRAMS.DAT contains explicit PAGEFILE=, SWAPFILE=, or DUMPFILE= commands, then a full autogen to setparams stage might make changes to the file sizes.
If AUTOGEN wants to increase the file sizes, then it simply extends the file. However, if the result of AUTOGEN's calculations (or the inclusion of specific file sizes in modparams) is to reduce the size of the file, then it will create a new version of smaller size. This is why your version 1 files were all larger than the current versions.
Duncan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2011 06:45 AM
02-25-2011 06:45 AM
Re: Purge system files in [SYSEXE]
>>> On investigation, someone else had issued a:
>>> $ PURGE [000000...]*.*
Wild West! Shoot first, ask later :-)
>>> in order to gain some disk space on this machine which had filled the system disk
>>> (which was why I was searching and discovered these files in the first place).
Just curious. What tools did you use?
I like DFU for this a lot.
To look for a few big file for quick pressure relieve:
$ DFU SEARC/SIZE=MINI=500000 sys$sysdevice:
To look for a place with potentially many files that can be purged
$ DFU SEARC/VERS=MINI=5000 sys$sysdevice:
Now a high version number does not guarantee many live versions, but at least the inverse is true.
To catch lots of file being created with unique names (perhaps a PID or TIME in there), is trickier. For those yo many want to scan for somewhat large directory files.
Typically system disk do not have large directories, from a VMS perspective. (Add Oracle and the picture changes :-).
$ DFU SEA/SIZE=MIN=50/FILE="*.DIR" sys$sysdevice:
Good luck!
Hein
>> Well, the Alpha is still running so I guess the answer *in this case* was that it was safe to purge these files.
VMS wouldn't delete files which are open (in use).
>> 10 points to anyone who can explain why the version 2 files would have been created (back in the year 2000 when I did not work here!)
I suspect a simple AUTOGEN ... FEEDBACK ... REBOOT.
The versions were created close enough in time for it to have been an automated process, the time difference just being the time to create the files.
free advice...
Those page and swap files seem tiny, but we haven't seen how much memory there is, and apparently it worked for you so far!
Maybe add a large pagefile on a disk with a good amount of free space?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2011 06:46 AM
02-25-2011 06:46 AM
Re: Purge system files in [SYSEXE]
This Alpha is an old (obviously) development warhorse that nobody looks after until things go wrong (e.g. disk full!).
We certainly don't do AUTOGENS anymore...
=============================================
Hein - I use DIR/SELECT=SIZE=MIN=
There is also a /SELECT=VERSION= too
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2011 08:35 AM
02-25-2011 08:35 AM
Re: Purge system files in [SYSEXE]
When the disk is absolutely full it seems that the Audit service will not allow anything to happen (e.g. login) which it cannot audit, so the only way in is through the console.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2011 09:21 AM
02-25-2011 09:21 AM