- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: How to find all files that consumes the disk q...
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-27-2019 11:07 PM
10-27-2019 11:07 PM
Hi all,
I am kinda new with the Open VMS system and I would like to seek your help with the challenge I am facing right now.
We have some users who reached the maximum quota and I am currently on task to purge or bring down the number of files consuming the disk space.
For example, VAX user [111,123] has reached 1064317 Blocks (519.69MB) over his permanent quota which is 250000 Blocks (122.07MB). That's around 426%.
Whenever I try to find all the files that the user [111,123] owns, using DIR command from the disk's root directory, it does not show all the files.
Here's what I got :
DIR […]*.* /by_owner=USERNAME /size /owner
Grand total of 10 directories, 1373 files, 144.55MB
Looks like I am still missing around 375.14 MB of data. Is there a way on how I'll able to find the remaining files? Are there like hidden folders or files on the directory?
Will appreciate all your response. Thanks a lot!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2019 05:24 AM - edited 10-28-2019 05:26 AM
10-28-2019 05:24 AM - edited 10-28-2019 05:26 AM
Re: How to find all files that consumes the disk quota ?
There are a few things to check:
1) Verify that there are no files located in any different directory outside of the "main" directory.
2) IRRC, quota includes any ALLOCATED space, not just the used space. With a large cluster size, there can be quite a bit of wasted space.
Change your command to : DIR/SIZ=ALL
Also: You are using the wildcard *.* in your command. for complete coverage, change that to *.*;* to insure that ALL versions are included. Report back if there is still a large descrepancy.
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2019 12:34 PM - edited 10-28-2019 12:43 PM
10-28-2019 12:34 PM - edited 10-28-2019 12:43 PM
Solution> DIR [...]*.* /by_owner=USERNAME /size /owner
Useless without "show default" (and not great with it). Better:
DIRE <device>:[000000...] /by_owner=USERNAME /size = all /owner
(Although with "/by_owner", I'm not sure what "/owner" buys you.)
Potentially interesting:
analyze /disk [/repair] <device>:
The quota data can get corrupted, and "analyze /disk" that can
find/repair such problems.
> Also: You are using the wildcard *.* [...]
DIRECTORY
Parameter
filespec[,...]
[...]
o If a file specification contains a file name or a file type,
or both, and no version number, the DIRECTORY command lists
all versions.
[...]
Try it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2019 06:06 PM
10-28-2019 06:06 PM
Re: How to find all files that consumes the disk quota ?
Hi abrsvc and Steven Schweda,
Thank you for your responses, I really found it very helpful.
Here's what I got after using the command below,
dir [...]*.*;* /by_owner=USERNAME/size=all /owner
Grand total of 10 directories, 1373 files, 144.55MB/519.01MB
Again, thanks a lot!