Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 23, 2013, 06:36:14 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: "Access denied" when using DismountVolume()  (Read 1388 times)
jonib
JkDefrag Hero
*****
Posts: 810


View Profile
« on: June 04, 2009, 07:57:38 pm »

I tried the new DismountVolume() and saw that the script finished too quick, so I did some testing.

Some examples from the logfiles:
Without using Dismountvolume()
Code:
20:37:21     Analyzing the boot optimization file
20:37:21       Loading file into memory: C:\WINXP\Prefetch\Layout.ini
20:37:22         Cannot find item at LCN=786432
20:37:22         The file has zero size: E:\
20:37:22         Cannot open 'E:\DATA\': [2] Det går inte att hitta filen.
20:37:22         Cannot open 'E:\DATA\BORLAND STUDIO PROJECTS\': [3] Det går inte att hitta sökvägen.
"Det går inte att hitta filen." = Can't find file.
"Det går inte att hitta sökvägen." = Can't find path
Code:
20:37:26     Starting to sort by Name.
20:37:26       Creating sorted list.
20:37:26       Finished creating sorted list.
20:37:26       Placing items in sorted order.
20:37:26         I want to place 'E:\$MFT' at Lcn=2295, 32476 clusters.
20:37:26           Testing if 'E:\$MFT' is already at LCN=2295
20:37:26             Skipping item's data at LCN=2295, LCN is now 34771
20:37:26             Yes, it is exactly there.
20:37:26       Finished sorting by Name.

When using Dismountvolume()
Code:
20:36:47     Analyzing the boot optimization file
20:36:47       Loading file into memory: C:\WINXP\Prefetch\Layout.ini
20:36:47         Cannot open 'E:\$MFT': [5] Åtkomst nekad.
20:36:47         Cannot open 'E:\': [5] Åtkomst nekad.
20:36:47         Cannot open 'E:\DATA\': [5] Åtkomst nekad.
20:36:47         Cannot open 'E:\DATA\BORLAND STUDIO PROJECTS\': [5] Åtkomst nekad.
"Åtkomst nekad." = Access denied
Code:
20:36:50     Starting to sort by Name.
20:36:50       Creating sorted list.
20:36:50       Finished creating sorted list.
20:36:50       Placing items in sorted order.
20:36:50         I want to place 'E:\$MFT' at Lcn=0, 32476 clusters.
20:36:50           Testing if 'E:\$MFT' is already at LCN=0
20:36:50             Skipping unmovable data at LCN=0, LCN is now 2
20:36:50             Item at LCN=2 is movable.
20:36:50             No, it is at LCN=2295.
20:36:50               ERROR: could not get volume bitmap: [21] Enheten är inte klar.
20:36:50               ERROR: could not get volume bitmap: [21] Enheten är inte klar.
20:36:50             ERROR: could not get volume bitmap: [21] Enheten är inte klar.
20:36:50           No gaps available, cannot continue with sorted placement.
20:36:50       Finished sorting by Name.
"Enheten är inte klar." = Device not ready.

I don't want to attach the full logs in the forum, but if they are needed they are available.

jonib
Logged

jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #1 on: June 05, 2009, 10:13:19 pm »

Can you please post your script?
Logged
jonib
JkDefrag Hero
*****
Posts: 810


View Profile
« Reply #2 on: June 06, 2009, 12:19:05 am »

Sure attached, this is the same script I used with this other problem

jonib

* DataDefrag.MyD (7.49 KB - downloaded 82 times.)
Logged

jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #3 on: June 06, 2009, 09:24:51 am »

Try moving the DismountVolume() command to the very end of the script, just before "VolumeEnd". The command is not very useful before MyDefrag optimizes the zones, only after.
Logged
jonib
JkDefrag Hero
*****
Posts: 810


View Profile
« Reply #4 on: June 06, 2009, 03:27:10 pm »

OK, moving the DismountVolume() to the end seems to work, I'll see if it makes any difference to my dying programs problem, when I'm ready for another massacre Grin

jonib
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!