- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Contiguous space in a disk on VMS
Operating System - OpenVMS
1783193
Members
1679
Online
109144
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
Discussions
Discussions
Discussions
Forums
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
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
тАО01-12-2006 02:30 AM
тАО01-12-2006 02:30 AM
Solution
This mayu help find the problem file.
$! Find fragmented files
$! P1 : file set such as sys$sysdevice:[000000...]*.*.*
$! P2 : miinimum number of fragments to be on the report
$b:
$ f=f$sea("''p1'")
$ if f .eqs. "" then exit
$ dump/head/block=(start=0,end=0)/out=wim1.lis 'f'
$ def/us sys$error nl:
$ def/us sys$output wim2.lis
$ sea wim1.lis "Count:"/exact
$ open/read x wim2.lis
$ cnt=0
$r2:
$ read/end=e2 x x_rcd
$ cnt=cnt+f$el(2," ",f$ed(x_rcd,"compress"))
$ goto r2
$e2:
$ close x
$ if cnt .gt. p2 then write sys$output "''f' : ''cnt'"
$ del wim*.lis.*/nolog/noconf
$ goto b
$! Find fragmented files
$! P1 : file set such as sys$sysdevice:[000000...]*.*.*
$! P2 : miinimum number of fragments to be on the report
$b:
$ f=f$sea("''p1'")
$ if f .eqs. "" then exit
$ dump/head/block=(start=0,end=0)/out=wim1.lis 'f'
$ def/us sys$error nl:
$ def/us sys$output wim2.lis
$ sea wim1.lis "Count:"/exact
$ open/read x wim2.lis
$ cnt=0
$r2:
$ read/end=e2 x x_rcd
$ cnt=cnt+f$el(2," ",f$ed(x_rcd,"compress"))
$ goto r2
$e2:
$ close x
$ if cnt .gt. p2 then write sys$output "''f' : ''cnt'"
$ del wim*.lis.*/nolog/noconf
$ goto b
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2006 02:46 AM
тАО01-12-2006 02:46 AM
Re: Contiguous space in a disk on VMS
Hmm, not sure if it is correct.
Got 8M pointers for a file of 8M blocks.
???
Wim
Got 8M pointers for a file of 8M blocks.
???
Wim
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2006 02:58 AM
тАО01-12-2006 02:58 AM
Re: Contiguous space in a disk on VMS
Found it. Replace
$ cnt=cnt+f$el(2," ",f$ed(x_rcd,"compress"))
by
$ cnt = cnt+1
Wim
$ cnt=cnt+f$el(2," ",f$ed(x_rcd,"compress"))
by
$ cnt = cnt+1
Wim
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2006 03:02 AM
тАО01-12-2006 03:02 AM
Re: Contiguous space in a disk on VMS
Sk,
"Device full" on a disk that has free space available is the sure symptom of "No more space for fileHEADERS"
You very probably have a lot of (very) fragmented files.
Solutions:
a) delete some fragmented file(s)
b) run a defragger. Probably not possible before you have also done a)
c) backup/image & restore
d) long time solution:
after image backup do
INIT of the disk, explicitly specify the current values, EXCEPT: specify double or 4 times the value for /HEADERS
Restore with BACKUP/IMAGE /NOINIT
HTH,
Proost.
Have one on me.
jpe
"Device full" on a disk that has free space available is the sure symptom of "No more space for fileHEADERS"
You very probably have a lot of (very) fragmented files.
Solutions:
a) delete some fragmented file(s)
b) run a defragger. Probably not possible before you have also done a)
c) backup/image & restore
d) long time solution:
after image backup do
INIT of the disk, explicitly specify the current values, EXCEPT: specify double or 4 times the value for /HEADERS
Restore with BACKUP/IMAGE /NOINIT
HTH,
Proost.
Have one on me.
jpe
Don't rust yours pelled jacker to fine doll missed aches.
- « 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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP