Operating System - OpenVMS
1753878 Members
7245 Online
108809 Solutions
New Discussion юеВ

Re: Disk File Optimizer Error

 
SOLVED
Go to solution
Lisa Collins
Advisor

Disk File Optimizer Error

Yesterday, I used the DFO software to attempt to defrag a disk that showed 84% fragmented. When the software finished processing, the disk was then 98% fragmented, more fragmented than before using the software. I was going to attempt to run the procedure again today but I am having problems. I enter this command.

defrag file NEOMN2$DRA1:[000000...]*.*;*

I get a response

Disk File Optimizer for OpenVMS DFG V2.9
┬й Copyright 2005 Hewlett-Packard Development Company,L.P.
%DFG-S-CREATED, DFG$SCRIPT1A created

But then the defragging never really starts. When I look at the log file, I see this error

Defragmentation process for script DFG$SCRIPT21 has completed
Completion time was 2-MAR-2006 15:03:38.39
%DFG-W-UNRECOVERR, unrecoverable error
Target volume was NEOMN2$DRA1 (_NEOMN2$DRA1:)

Can someone help me understand what might be causing the error?

Thank You,
Lisa
52 REPLIES 52
Duncan Morris
Honored Contributor
Solution

Re: Disk File Optimizer Error

Sounds like some condition caused DFO to exit before it finished processing.

If you have DFU available then use

DFU> VERIFY NEOMN2$DRA1 /DIR

otherwise

$ ANAL/DISK NEOMN2$DRA1

There may well be problems on the drive which need to be attended to before proceeding (perhaps a temporary file left over from DFO??)
Lisa Collins
Advisor

Re: Disk File Optimizer Error

I used the anaylze disk and I see this

%ANALDISK-I-OPENQUOTA, error opening QUOTA.SYS
-SYSTEM-W-NOSUCHFILE, no such file
%ANALDISK-W-DELHEADER, file (145,4,0) INETDRIVER.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (161,4,0) MULTINET_SOCKET_LIBRARY.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (162,4,0) MULTINET_TOPS_LIBRARY.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (167,3,0) NTYDRIVER.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (170,2,0) INETDRIVER.EXE;2
marked for delete
%ANALDISK-W-DELHEADER, file (171,1,0) INETDRIVER.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (181,4,0) MULTINET_VMS_SHAREABLE.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (186,2,0) MULTINET_SOCKET_LIBRARY.EXE;2
marked for delete
%ANALDISK-W-DELHEADER, file (187,1,0) MULTINET_SOCKET_LIBRARY.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (188,1,0) MULTINET_TOPS_LIBRARY.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (192,2,0) NTYDRIVER.EXE;2
marked for delete
%ANALDISK-W-DELHEADER, file (193,1,0) NTYDRIVER.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (198,4,0) UCXDRIVER.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (199,4,0) LAVDRIVER.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (200,4,0) RMTDRIVER.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (201,4,0) RCDDRIVER.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (202,4,0) PWIPDRIVER.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (203,4,0) LOADABLE_NOT_ASSIST.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (205,1,0) MULTINET_VMS_SHAREABLE.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (215,2,0) UCXDRIVER.EXE;2
marked for delete
%ANALDISK-W-DELHEADER, file (217,1,0) UCXDRIVER.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (218,1,0) LAVDRIVER.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (219,1,0) RMTDRIVER.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (220,1,0) RCDDRIVER.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (221,1,0) PWIPDRIVER.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (222,1,0) LOADABLE_NOT_ASSIST.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (234,4,0) SERVER.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (235,4,0) MULTINET_DPC_SHR.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (243,2,0) SERVER.EXE;2
marked for delete
%ANALDISK-W-DELHEADER, file (244,1,0) SERVER.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (245,1,0) MULTINET_DPC_SHR.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (254,2,0) MULTINET_TOPS_LIBRARY.EXE;2
marked for delete
%ANALDISK-W-DELHEADER, file (271,4,0) LOADABLE_R_SERVICES.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (275,2,0) LOADABLE_R_SERVICES.EXE;2
marked for delete
%ANALDISK-W-DELHEADER, file (276,1,0) LOADABLE_R_SERVICES.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (308,2,0) UCX$IPC_SHR.EXE;2
marked for delete
%ANALDISK-W-DELHEADER, file (309,1,0) UCX$IPC_SHR.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (325,1,0) LOADABLE_BIND.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (326,2,0) LOADABLE_NAMED_CONTROL.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (328,4,0) LOADABLE_NAMED_CONTROL.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (329,4,0) NAMED.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (339,2,0) LOADABLE_KERBEROS_TELNET.EXE;2
marked for delete
%ANALDISK-W-DELHEADER, file (340,1,0) LOADABLE_KERBEROS_TELNET.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (341,1,0) LOADABLE_SNMP_AGENT.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (347,4,0) LOADABLE_KERBEROS_TELNET.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (356,2,0) NAMED_CONTROL.COM;1
marked for delete
%ANALDISK-W-DELHEADER, file (378,3,0) NAMED_CONTROL.COM;1
marked for delete
%ANALDISK-W-DELHEADER, file (426,1,0) NETWORK_DATABASE.;2
marked for delete
%ANALDISK-W-DELHEADER, file (454,1,0) MULTINET_VMS_SHAREABLE.EXE;2
marked for delete
%ANALDISK-W-DELHEADER, file (456,1,0) LAVDRIVER.EXE;2
marked for delete
%ANALDISK-W-DELHEADER, file (457,1,0) RMTDRIVER.EXE;2
marked for delete
%ANALDISK-W-DELHEADER, file (458,1,0) RCDDRIVER.EXE;2
marked for delete
%ANALDISK-W-DELHEADER, file (459,1,0) PWIPDRIVER.EXE;2
marked for delete
%ANALDISK-W-DELHEADER, file (460,1,0) LOADABLE_NOT_ASSIST.EXE;2
marked for delete
%ANALDISK-W-DELHEADER, file (464,1,0) MULTINET_DPC_SHR.EXE;2
marked for delete
%ANALDISK-W-DELHEADER, file (473,1,0) NAMED.EXE;1
marked for delete
%ANALDISK-W-DELHEADER, file (476,1,0) LOADABLE_SNMP_AGENT.EXE;2
marked for delete
%ANALDISK-W-FUTCREDAT, file (2040,660,0) [SOPHOS]SYSBDR-G.IDE;1
creation date is in the future
%ANALDISK-W-DELHEADER, file (3153,9072,0) .;
marked for delete
%ANALDISK-W-DELHEADER, file (3963,1,0) NETWORK_DATABASE.;1
marked for delete
%ANALDISK-W-DELHEADER, file (3964,1,0) HOSTTBLUK.DAT;3
marked for delete
%ANALDISK-W-DELHEADER, file (5070,2386,0) ZZ01L0ZWK714Y600I6TE.00;1
marked for delete
%ANALDISK-W-DELHEADER, file (5111,4260,0) QUEUE_CACHE.OLD;416
marked for delete
%ANALDISK-W-DELHEADER, file (15831,373,0) VS-01KD2AVZTJTC0080SI.LIS;1
marked for delete
%ANALDISK-W-DELHEADER, file (32306,8591,0) ZZ01KVC9C2JPW40168CC.00;1
marked for delete
%ANALDISK-W-DELHEADER, file (33745,1108,0) .;
marked for delete
%ANALDISK-W-DELHEADER, file (33750,2249,0) .;
marked for delete
%ANALDISK-W-DELHEADER, file (33752,2000,0) .;
marked for delete
%ANALDISK-W-DELHEADER, file (33757,2596,0) .;
marked for delete
%ANALDISK-W-DELHEADER, file (33860,3600,0) VS-01KTFXUZIHDC003Q1I.LIS;1
marked for delete
%ANALDISK-W-LOSTHEADER, file (1613,493,0) SCAN_OUTBOUND.LOG;28993
not found in a directory
%ANALDISK-W-LOSTHEADER, file (5492,155,0) MAIL.LIS;
not found in a directory

This looks problematic...what do I need to do?

Thanks,
Lisa
Phillip Thayer
Esteemed Contributor

Re: Disk File Optimizer Error

Lisa,

I would do an ANALYZE/DISK NEOMN2$DRA1: and see if there are any errors reported. If so then do an ANALYZE/DISK/REPAIR NEOMN2$DRA1:. When doing the /REPAIR option the disk drive will be locked.

After doing the /REPAIR option then do the DFU command and see if you get the same thing.

Phil
Once it's in production it's all bugs after that.
Duncan Morris
Honored Contributor

Re: Disk File Optimizer Error

Hi Lisa, first of all make sure that you have a backup of this drive!

Most of the DELHEADER items look as though they came from software upgrades/patches.

Run ANAL/DISK/REPAIR to "fix" the errors, and then ANAL/DISK again to see if there are still any furhter problems.

Check your free disk space before and after the repair. You will probably find that you get back a number of blocks.

Ian Miller.
Honored Contributor

Re: Disk File Optimizer Error

your disk errors do not look too bad but worth fixing. Can you post the result of

DEFRAG SHOW */FULL

Also check help or manual for DFO to see if you should be doing
DEFRAG VOLUME NEOMN2$DRA1:
____________________
Purely Personal Opinion
Phillip Thayer
Esteemed Contributor

Re: Disk File Optimizer Error

Lisa,

Sorry, I didn't see the output of the ANALYZE.DISK before my last post. It might not be a bad idea to do a reboot of this system also. there seem to be a lot of files that have been deleted while they were installed as known images on the system. This is where you get the "marked for delete" error most of the times. The best way to clear this is to reboot.

Phil
Once it's in production it's all bugs after that.
Lisa Collins
Advisor

Re: Disk File Optimizer Error

I did the repair command. It seems to cleared up most everything. Now I only see this

Analyze/Disk_Structure for _NEOMN2$DRA1: started on 2-MAR-2006 16:36:59.03

%ANALDISK-I-OPENQUOTA, error opening QUOTA.SYS
-SYSTEM-W-NOSUCHFILE, no such file

But I'm still seeing this error when trying to run the Optimizer:

Defragmentation process for script DFG$SCRIPT24 has completed
Completion time was 2-MAR-2006 16:50:55.50
%DFG-W-UNRECOVERR, unrecoverable error
Target volume was NEOMN2$DRA1 (_NEOMN2$DRA1:)

My Defrag Report looks like this


D1 2-MAR-2006 16:47:54.23

The fragmentation index is 96.2
1 - 20.9 is excellent
21 - 40.9 is good
41 - 60.9 is fair
61 - 80.9 is poor
81 - 100 indicates a badly fragmented disk
Approximately 76.2 (out of 80.0 possible) is due to file fragmentation
Approximately 20.0 (out of 20.0 possible) is due to freespace fragmentation


Freespace Summary:
Total free space: 9598320 blocks
Percentage free: 54 (rounded)
Total free extents: 23640
Maximum free extent: 15354 blocks, LBN: 9782244
Minimum free extent: 18 blocks, LBN: 6567120
Average free extent: 406 blocks
Median free extent: 126 blocks


File Fragmentation Summary:
Number of files (with some allocation): 12028
Total file extents on the disk: 43204
Average number of file extents per file: 3.591952
Median number of file extents per file: 1

Most Fragmented File:
[CSWS.APACHE.SPECIFIC.NEOMN2.NEOMIN.ORG.LOGS]SSL_ENGINE_LOG.;1 (22233 ex
tents)


F i l e F r a g m e n t a t i o n H i s t o g r a m

Extent
Count
------
|
8 To 22233 | (32)
7 | (1)
6 | (10)
5 | (5)
4 | (18)
3 | (22)
2 | (26)
1 | ************************ (11914)
+---------------------------------
Number of files with a given number of extents
Each * corresponds to 500 files



V o l u m e F r e e s p a c e H i s t o g r a m

Freespace
Size
(LBNs)
---------
|
14310 To 15354 | (3)
5166 To 14202 | * (50)
4590 To 5148 | * (50)
4248 To 4572 | * (56)
3906 To 4230 | * (52)
3636 To 3888 | * (50)
3402 To 3618 | * (54)
3240 To 3384 | * (50)
3096 To 3222 | * (52)
2970 To 3078 | * (50)
2826 To 2952 | * (53)
2718 To 2808 | * (50)
2592 To 2700 | * (57)
2484 To 2574 | * (58)
2394 To 2466 | * (55)
2304 To 2376 | * (59)
2232 To 2286 | * (53)
2142 To 2214 | * (60)
2070 To 2124 | * (56)
1998 To 2052 | * (56)
1944 To 1980 | * (58)
1890 To 1926 | * (58)
1836 To 1872 | * (57)
1782 To 1818 | * (59)
1728 To 1764 | * (58)
1674 To 1710 | * (69)
1620 To 1656 | * (72)
1584 To 1602 | * (51)
1548 To 1566 | * (56)
1494 To 1530 | * (83)
1458 To 1476 | * (56)
1422 To 1440 | * (59)
1386 To 1404 | * (52)
1350 To 1368 | * (64)
1314 To 1332 | * (77)
1278 To 1296 | * (53)
1242 To 1260 | * (73)
1206 To 1224 | * (83)
1170 To 1188 | * (72)
1134 To 1152 | * (89)
1098 To 1116 | * (82)
1062 To 1080 | * (98)
1026 To 1044 | * (91)
990 To 1008 | * (110)
972 | * (61)
954 | * (58)
936 | * (61)
918 | * (65)
900 | * (59)
882 | * (63)
864 | * (64)
846 | * (71)
828 | * (78)
810 | * (76)
792 | * (74)
774 | * (75)
756 | * (80)
738 | * (67)
720 | * (83)
702 | * (90)
684 | * (89)
666 | * (119)
648 | * (89)
630 | * (103)
612 | * (113)
594 | * (109)
576 | * (125)
558 | * (128)
540 | * (134)
522 | ** (169)
504 | * (147)
486 | ** (150)
468 | ** (172)
450 | ** (163)
432 | ** (170)
414 | ** (179)
396 | ** (208)
378 | ** (238)
360 | ** (237)
342 | ** (248)
324 | *** (254)
306 | *** (255)
288 | *** (312)
270 | *** (326)
252 | *** (327)
234 | **** (387)
216 | **** (436)
198 | ***** (487)
180 | ***** (530)
162 | ****** (602)
144 | ****** (637)
126 | ******** (751)
108 | ******** (797)
90 | ********* (872)
72 | *********** (1093)
54 | *************** (1478)
36 | ************************ (2354)
18 | ************************************************ (4823)
+--------------------------------------------------------
Number of freespace extents of a given size
Each * corresponds to 100 freespace extents
Phillip Thayer
Esteemed Contributor

Re: Disk File Optimizer Error

Lisa,

Ian is right, I was wondering why you were doing a DEFRAG FILE instead of DEFRAG VOLUME.

Ian, If she does a DEFRAG FILE would it try to read the directories on the disk and possubly have the problem she is experiencing where if she did a DEFRAG VOLUME would it use the INDEXF.SYS file to get the file names and not have the problem?

Phil
Once it's in production it's all bugs after that.
Lisa Collins
Advisor

Re: Disk File Optimizer Error

I've also tried DEFRAG VOLUME NEOMN2$DRA1: and I get the same error.