- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- OpenVMS system disk FULL
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
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
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
10-08-2018 10:12 AM
10-08-2018 10:12 AM
Hello community, I have a problem with OVMS system disk, I tried to search files greater then 50000 blocks, and delete them, but I'm still at 2% free.
DIRECTORY /SELECT=SIZE=MIN=50000 SYS$SYSDEVICE:[*...]
Device Volume Label Used Blocks Free Blocks Tot/Blks
------------ ------------ ------------- ------------- --------
DSA0: IA64VMSSYS 282434976 (98%) 4314512 ( 2%) 286749488
I really don't understand which is the directory or files who occupied such spaces.
Could you please help to free up space??
Thank you
Lucas
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2018 11:28 AM
10-08-2018 11:28 AM
Solution> DIRECTORY /SELECT=SIZE=MIN=50000 SYS$SYSDEVICE:[*...]
You don't need large files to fill a disk; many small files will do
the job just as well (if not better).
I don't know if some existing tool would help with this, but a small
DCL script might be useful:
ITS $ type dirsiz.com
$! 2018-10-08 SMS.
$! DIRE /GRAND for all directories in P1
$! Default: sys$sysdevice:[000000]
$!
$ dir0 = p1 ! Top dir.
$ if (dir0 .eqs. "")
$ then
$ dir0 = "sys$sysdevice:[000000]" ! Default P1.
$ endif
$!
$ top:
$ dir = f$search( dir0+ "*.dir") ! Next directory.
$ if (dir .eqs. "") then goto bot ! Done.
$ dir1 = f$parse( dir, , , "name") ! Ignore "[000000]"
$ if (dir1 .nes. "000000")
$ then
$ dirs = dir0- "]"+ "."+ dir1+ "...]" ! Form subdir spec.
$ write sys$output "--------" ! Spacer.
$ write sys$output dirs ! Show subdir spec.
$ dire /size = allo /grand 'dirs' ! DIRE command.
$ endif
$ goto top ! Loop.
$ bot:
$!
If that script finds a big directory, then you could re-run it,
specifying the big directory:
@ dirsiz.com sys$sysdevice:[ANONYMOUS]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2018 12:43 PM
10-08-2018 12:43 PM
Re: OpenVMS system disk FULL
Thank you Steven, your script is great!!!
After long analysis I discovered the directory/file who filled the disk:
Directory SYS$SYSDEVICE:[000000.SYS0.SYSCOMMON.HP.NODES.SMWIZ2.SVCTOOLS.SPECIFIC.WEBES.LOGS]
DESTA_DIR.LOG;2 File ID: (25842,1746,0)
Size: 227971719/227982384 Owner: [SYSTEM]
Created: 5-SEP-2018 13:07:31.46
Revised: 5-SEP-2018 13:07:31.46 (0)
Accessed: 5-SEP-2018 13:07:31.46
Attributes: 5-SEP-2018 13:07:31.46
Modified: 5-SEP-2018 13:07:31.46
Linkcount: 1
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 227982384, Extend: 0, Global buffer count: 0, Version limit: 2
File protection: System:RWED, Owner:RWED, Group:RWED, World:
Total of 1 file, 227971719/227982384 blocks.
I deleted this file (it was old log file) and now I got all the space:
Device Volume Label Used Blocks Free Blocks Tot/Blks
------------ ------------ ------------- ------------- --------
DSA0: IA64VMSSYS 45387232 (15%) 241362256 ( 85%) 286749488
I don't know why this old file take so much space, it was impossible to analyze it, anyway the newer version seems ok.
Thank you very much!
Lucas