HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Output of "show dev d" seems not correct
Operating System - OpenVMS
1826402
Members
4128
Online
109692
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
07-07-2010 02:20 AM
07-07-2010 02:20 AM
Re: Output of "show dev d" seems not correct
@Jon :
Thanks for the tips to check open files.
Yes, this system is SMSC.
The disk is normal now.
I stop all processes that still lock files, then delete those files.
The disk occupancy back to normal.
I want to ask regarding the locked files :
dir /size=all
XXX00.DUMP;1 0/*******
XXX01.DUMP;1 0/*******
XXX02.DUMP;1 0/*******
It shows 0 of used, but so big in allocated.
Can help to explain how OpenVMS decides block size for used and allocated for 1 process?
Thanks for the tips to check open files.
Yes, this system is SMSC.
The disk is normal now.
I stop all processes that still lock files, then delete those files.
The disk occupancy back to normal.
I want to ask regarding the locked files :
dir /size=all
XXX00.DUMP;1 0/*******
XXX01.DUMP;1 0/*******
XXX02.DUMP;1 0/*******
It shows 0 of used, but so big in allocated.
Can help to explain how OpenVMS decides block size for used and allocated for 1 process?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 02:58 AM
07-07-2010 02:58 AM
Re: Output of "show dev d" seems not correct
An open file gets no update on size,date,etc. until it is closed.
So if an application just opens a file once, and only closes when the program terminates, then it shows 0 blocks used, and a growing number of blocks allocated.
Some utilities do close/reopen log files on a regular interval, so one can see the used block s in a directory listing.
So if an application just opens a file once, and only closes when the program terminates, then it shows 0 blocks used, and a growing number of blocks allocated.
Some utilities do close/reopen log files on a regular interval, so one can see the used block s in a directory listing.
http://www.mpp.mpg.de/~huber
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2010 11:10 AM
07-07-2010 11:10 AM
Re: Output of "show dev d" seems not correct
@Ricky
I want to ask regarding the locked files :
dir /size=all
XXX00.DUMP;1 0/*******
It shows 0 of used, but so big in allocated.
Can help to explain how OpenVMS decides block size for used and allocated for 1 process?
-----------------
Joseph Huber explained why the used size is displayed as zero. Unless a process explicitly request that the EOF (End Of File) pointer is updated, it will remain static. It gets updated when the file metadata gets resynched by the programs request; either an RMS $FLUSH or when the file is closed. If the file is created when it is opened, then written to for a long period of time, then the file will continue to be extend the file's allocated space to make room for the data. The end of data pointer is constantly updated in the memory of the process writing the data, but unless the metadata is resynched, the updated value will not be visible to other processes, and what is displayed by directory/size=used will remain 0.
In the directory output above, the files were larger than 5 GB (9,999,999). The default width for the size field is 7, so the allocated blocks were displayed as ********. To see the actual value, you can user directory/full file or directory/width=(size=12)/size=all (see help dir/width)
The used/allocated concept isn't unique to VMS, windows does the same thing, although is a bit harder to see the "allocated" space in windows. The allocated space in windows shows up in file properties as "Size on Disk".
Size: 706 bytes (706 bytes)
Size on Disk: 4.00 KB (4,096 bytes)
------------------
There is probably a cleaner way to get the processes to close and open a new .dump file than to stop the process, but I know nothing about the SMSC software. You will need to consult the documentation for that.
Jon
I want to ask regarding the locked files :
dir /size=all
XXX00.DUMP;1 0/*******
It shows 0 of used, but so big in allocated.
Can help to explain how OpenVMS decides block size for used and allocated for 1 process?
-----------------
Joseph Huber explained why the used size is displayed as zero. Unless a process explicitly request that the EOF (End Of File) pointer is updated, it will remain static. It gets updated when the file metadata gets resynched by the programs request; either an RMS $FLUSH or when the file is closed. If the file is created when it is opened, then written to for a long period of time, then the file will continue to be extend the file's allocated space to make room for the data. The end of data pointer is constantly updated in the memory of the process writing the data, but unless the metadata is resynched, the updated value will not be visible to other processes, and what is displayed by directory/size=used will remain 0.
In the directory output above, the files were larger than 5 GB (9,999,999). The default width for the size field is 7, so the allocated blocks were displayed as ********. To see the actual value, you can user directory/full file or directory/width=(size=12)/size=all (see help dir/width)
The used/allocated concept isn't unique to VMS, windows does the same thing, although is a bit harder to see the "allocated" space in windows. The allocated space in windows shows up in file properties as "Size on Disk".
Size: 706 bytes (706 bytes)
Size on Disk: 4.00 KB (4,096 bytes)
------------------
There is probably a cleaner way to get the processes to close and open a new .dump file than to stop the process, but I know nothing about the SMSC software. You will need to consult the documentation for that.
Jon
it depends
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP