- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Contiguous space in a disk on VMS
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
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
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
тАО01-10-2006 08:18 PM
тАО01-10-2006 08:18 PM
What are the ways to know the available contiguous space in a disk on VMS ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2006 08:29 PM
тАО01-10-2006 08:29 PM
Re: Contiguous space in a disk on VMS
http://h71000.www7.hp.com/freeware/freeware70/dfu/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2006 08:30 PM
тАО01-10-2006 08:30 PM
Re: Contiguous space in a disk on VMS
Use DEFRAG SHOW disc_name/VOL
Rgds
Marc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2006 08:33 PM
тАО01-10-2006 08:33 PM
Re: Contiguous space in a disk on VMS
$ MCR DFU
DFU> report device
.
.
output here that gives lots of juicy info, look under the Free space stats for what you're after.
.
DFU> ^Z
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2006 11:02 PM
тАО01-10-2006 11:02 PM
Re: Contiguous space in a disk on VMS
If create/fdl fails then the space isn't available. Don't forget to delete the file afterwards.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2006 11:46 PM
тАО01-10-2006 11:46 PM
Re: Contiguous space in a disk on VMS
DFU is the preferred tool. Eveery system manager should know to use it.
Anyway, even with the tools, when running in a cluster you may want to instruct the system to allocate a large contiguous chunk before reporting. Why? Well each cluster node can (will) have a freeblock cache on the volume which may fragment the freespace for 'others'.
My favourite command for this: $COP/CONT/ALL=999999999 NL: tmp.tmp
Please help us understand why you think you need to know the largests contiguous chunk. Very few software cares about this anymore. Directories need to be contiguous. And I believe there is one database out there, not oracle, that requires it.
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2006 12:08 AM
тАО01-11-2006 12:08 AM
Re: Contiguous space in a disk on VMS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2006 12:25 AM
тАО01-11-2006 12:25 AM
Re: Contiguous space in a disk on VMS
You could write a procedure :
$ set noon
$cnt=1000000 ! or whatever
$b:
$ def/us sys$output nl:
$ def/us sys$error nl:
$ copy/cont/alloc='cnt' nl: xxx.lis
$ if $status
$ then
$ write sys$output "''cnt'"
$ del xxx.lis.*
$ else
$ cnt=cnt - 10000 ! or whatever
$ goto b
$ endif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2006 12:29 AM
тАО01-11-2006 12:29 AM
Re: Contiguous space in a disk on VMS
I suppose you could 'binary search' for the moment where a large contiguous file create starts to work. Not too hard, notably not with my $COPY techinque as you do not need a temp FDL file for that. Start with 2,000,000 blocks (less than 1TB), divide your way down and back up again.
And you could read [000000]bitmap.sys and count bits.
But WHY do you need to know? If it is for a file create, then just try that size.
If it is for a report, then for starters it is a pretty lame/ useless number and it may be good enough to report "Largest contig free space over 500MB", or over 100MB or whatever.
If it is for a serious report, then just knowing the largest chunk is probably not good enough anyway.
You could see whether the more official tool DFO provided teh data needed. It's reporting functions are free.
But anyway, you HAVE to get DFU on the box.
No self respecting OpenVMS syystem manager can live without. It's free, it's good, it's been around, it's highly available, and it has been written/maintained by a Dutch guy... it doesn't get any better!
Cheers,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2006 12:53 AM
тАО01-11-2006 12:53 AM
Re: Contiguous space in a disk on VMS
IMHO : HP should have made the info available thru lexicals long time ago.
Wim