- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Changing disk Cluster_sizer
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
тАО05-18-2009 01:58 PM
тАО05-18-2009 01:58 PM
I currently have some large disks that are ODS-2 format and they have large cluster size. Someday I would like to get them converted to ODS-5 and decrease the disks cluster size. If I can do it online or without having to allocate additional disks to move the data around that would be the best.
(hoping that someone knows an undocumented feature)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2009 02:41 PM
тАО05-18-2009 02:41 PM
SolutionVMS is not just about what might be possible but about providing reliable means of doing things. Changing cluster size on the fly is not something that seems likely to be done with a guarantee of being bullet-proof.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2009 02:44 PM
тАО05-18-2009 02:44 PM
Re: Changing disk Cluster_sizer
Conceivable you could construct a tool which would create a fresh BITMAP.SYS (mapping) where each BIT was an exact whole fraction of the current cluster size. Then for every original bit create set/clear the corresponding number of new bits, and flip the file. I don't think such tool exists.
also, Typically large, uncontrolled, cluster sizes have odd, often even prime values, so good luck with that!
A better plan will be the check otu the LD driver and create a virtual disk with small cluster size on top of the big disk!?
hth,
Hein
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2009 05:15 PM
тАО05-18-2009 05:15 PM
Re: Changing disk Cluster_sizer
With all due respect, I must disagree with Hein. While I do recommend extreme caution, this can be done, and I have done it in the past.
It is a somewhat laborious process, and must be done with extreme care, but the cluster size can be reduced. The restriction is that the new clusters must be a evenly divide the current cluster size (e.g., if the current cluster size is 45, the new cluster size can be 1, 3, 5, or any other factorization of 45; if your cluster factor is presently a prime number, then the only easy reduction is to 1).
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2009 06:18 PM
тАО05-18-2009 06:18 PM
Re: Changing disk Cluster_sizer
Unless your cluster sizes are really VERY large, and you're storing large numbers of very small files, is there any real benefit in your proposed decrease?
Consider the distribution of file sizes stored on the volume. There are many tradeoffs here, but don't dwell too much on "wasted space". These days I think it makes more sense to use a larger cluster size and enjoy the performance benefits.
What size are you now, and what size were you thinking of changing to?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 07:22 AM
тАО05-19-2009 07:22 AM
Re: Changing disk Cluster_sizer
They have mixed file sizes. Some directories are lots of small files. Others are large database files - which don't seem to affect the allocated space as much.
Thanks for the input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 08:41 AM
тАО05-19-2009 08:41 AM
Re: Changing disk Cluster_sizer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 09:04 AM
тАО05-19-2009 09:04 AM
Re: Changing disk Cluster_sizer
Backup/Image olddisk tempdisk
Then, reinitialize your old disk and restore
to it. Don't forget /noinitialze
Init the new disk with a smaller cluster size
and ods5 if desired.
Then
Backup/image/NOINITIALIZE no drive.
Note that if you can simply replace the disk,
you can shadow to it and be done with it.
Primitive but works.
Have fund
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 09:09 AM
тАО05-19-2009 09:09 AM
Re: Changing disk Cluster_sizer
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 10:06 AM
тАО05-19-2009 10:06 AM
Re: Changing disk Cluster_sizer
Normally I don't init disks - rarely get any new ones. Didn't think of cluster size being a problem since the last 2 disks I did get were ods-5 and they defaulted to 16. I do notice header size is currently extended to 400000 blocks so am going to dictate that size already.
When I did the init and then mounted I did the message:
%BACKUP-I-ODS2COMPAT, output volume $1$DGA8005: structure [ODS-2] is not compatible with OpenVMS versions prior to 7.2
Good thing I don't mount the disk on any older OS.
Thanks guys. Will let you know how this turns out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 02:48 PM
тАО05-19-2009 02:48 PM
Re: Changing disk Cluster_sizer
Before doing this, please get a DIRECTORY/SIZE=ALL of the existing disk. Drop the results into Excel and calculate the disk space saving you'll get by changing to different cluster sizes.
Make sure it's really worth your time and the risk of reducing your shadow sets to a single volume - I suspect it won't be.
Also consider the additional time and resources you'll consume running a defragger to make files contiguous, which, with a larger cluster size, could never be fragmented.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 02:54 PM
тАО05-19-2009 02:54 PM
Re: Changing disk Cluster_sizer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 03:33 PM
тАО05-19-2009 03:33 PM
Re: Changing disk Cluster_sizer
You may need to pay careful attention to INIT qualifiers such as /HEADERS, /MAXIMUM_FILES, /CUSTER_SIZE, and any other related ones I may be missing. If MAXIMUM_FILES is too high, the next expansion of INDEXF.SYS will be unexpectedly huge!
See
http://groups.google.com/group/comp.os.vms/msg/62dbb9ac233ea900
for details. Granted, since you saved 77 million blocks, this may not matter for you, depending on your disk size and such.
AEF