- 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
Forums
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2006 01:06 AM
тАО01-11-2006 01:06 AM
Re: Contiguous space in a disk on VMS
As to the original question - what are you trying to do? I wonder if you need to know this.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2006 02:03 AM
тАО01-11-2006 02:03 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 02:21 AM
тАО01-11-2006 02:21 AM
Re: Contiguous space in a disk on VMS
FUL, device full (insufficient space for allocation)
VOLUME_FULL, volume is full (insufficient space for the request)
DEVICEFULL, device full; allocation failure
:
And how big are those section files going expected to be?
2GB drives (RZ26?) are not too big compared to physical memory and virtual memory these data.
You know that when you initialize a disk, the defautl place for INDEXF.SYS is in the middle right? So max contig would be 1GB, unless one uses INIT/INDEX=...
Are you sure it is a problem with the data disk? Could it be the audit system running out of system disk of something like that?
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2006 02:22 AM
тАО01-11-2006 02:22 AM
Re: Contiguous space in a disk on VMS
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2006 02:23 AM
тАО01-11-2006 02:23 AM
Re: Contiguous space in a disk on VMS
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2006 02:23 AM
тАО01-11-2006 02:23 AM
Re: Contiguous space in a disk on VMS
Also, as per Marc's suggestion with DFO, I thought this HP product was free to use in report mode ?
Failing that, try the freebie report image tool from HP...
http://h71000.www7.hp.com/openvms/storage/dfopage.html
Regards
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2006 08:03 PM
тАО01-11-2006 08:03 PM
Re: Contiguous space in a disk on VMS
Can it be solved by taking Image backup to a different disk and restore it back ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2006 08:25 PM
тАО01-11-2006 08:25 PM
Re: Contiguous space in a disk on VMS
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2006 09:42 PM
тАО01-11-2006 09:42 PM
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 10:01 PM
тАО01-11-2006 10:01 PM
Re: Contiguous space in a disk on VMS
Or buy defrag.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2006 12:15 AM
тАО01-12-2006 12:15 AM
Re: Contiguous space in a disk on VMS
So that we are all clear here now... this is no longer a contiguous space problem, but just a free space problem right?
Help/mess devicefull warns that lack of contig space my be the cause, but simply being out of space is a more likely cause!
DFU is still your best friend, as it is the fastest tool to report all large files which you can then evaluate whether they can be moved or deleted.
Without that, use DIR/SIZE/DATE/SELE=FILE=SIZE=MIN=10000 [*...]
Good luck,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2006 12:25 AM
тАО01-12-2006 12:25 AM
Re: Contiguous space in a disk on VMS
I don't think so. He has 1.8 GB free on a 2 GB disk. So, it should be largest contig block.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2006 12:33 AM
тАО01-12-2006 12:33 AM
Re: Contiguous space in a disk on VMS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2006 01:08 AM
тАО01-12-2006 01:08 AM
Re: Contiguous space in a disk on VMS
But I don't see any simple ways to find it without extra tools.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2006 01:28 AM
тАО01-12-2006 01:28 AM
Re: Contiguous space in a disk on VMS
If you pick some large(ish) files that you know have been modified a lot and do a $ DUMP/HEAD/BLOCK=(START:0,END:0) filename. Then you can see how fragmented the file are by looking to see how many "File Headers" it has and how many "Retrieval pointers" are displayed from the dump command.
You could copy these files and delete the originals (i.e. Basically do what DFU does well) provided there not in use.
It would be much easier to simply defrag the whole disk using backup/image.
Don't be shy now... you can post points at anytime :-)
Kind Regards
John.