Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 22, 2013, 05:33:24 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: skip NTFS-Folder mounts  (Read 935 times)
petrober
JkDefrag Supporter
***
Posts: 10


View Profile
« on: October 07, 2010, 04:13:25 pm »

Hi together,

when I run mydefrag from GUI scripts run int NTFS-Folder mounted partitions.

I.E.

The folder C:\Test\D  is mounted to Partition D:  (standart functionality from NTFS)

If a defragmentation job is started on C: it will defragment C: and D: as well.
I want Mydefrag to skip C:\Test\D and not to run into.

What can I do ?


Regards,

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



View Profile WWW
« Reply #1 on: October 08, 2010, 05:51:41 am »

Are you sure MyDefrag is processing your D: mountpoint? That should not be possible, because your d: mountpoint is not a volume. Anyway, you can make sure the mountpoint will be skipped by changing the ExcludeVolumes command in your Settings.MyD file into this:
Code:
ExcludeVolumes(CDRom(yes) or not(CommandlineVolumes()) or Name("D:"))
Logged
petrober
JkDefrag Supporter
***
Posts: 10


View Profile
« Reply #2 on: October 08, 2010, 10:23:38 pm »

Yes really MyDefrag does.
I.e. DataDiskDaily starts on E: and continues on a Folder mounted Volume.
This Volume (Path) is also listed in the GUI, but it is unchecked.

The AnalyseOnly script does only process the partition itself. Does not analyze the folder mounted partition.

Indeed this helps:   ExcludeVolumes(Name("C:\Test\D"))

Better will be a generally difference between real Volumes (partitions) and NTFS mounts behind a folder. With the Name("C:\Test\D") the user has to know about before.

Maybe there is a more flexible way ?
In this case MyDefrag 4.3.1 is running under Win7 Ultimate.

Regards,

   Petrober

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



View Profile WWW
« Reply #3 on: October 09, 2010, 07:48:11 am »

Ah, I think I understand now. Selecting a volume via the scriptchooser or the commandline will cause the CommandlineVolumes volumeboolean to also select all volumes that are mounted on a directory on that volume. This is a known bug and will be fixed in the next release.
Logged
petrober
JkDefrag Supporter
***
Posts: 10


View Profile
« Reply #4 on: October 11, 2010, 06:23:23 am »

Ah, I think I understand now. ...... This is a known bug and will be fixed in the next release.

Good to hear. I'm looking forward to one of the next releases.

Thanks
Logged
scooter79
Newbie
*
Posts: 1


View Profile
« Reply #5 on: September 28, 2011, 10:38:08 pm »

I experienced this same behavior on my backup server (Microsoft DPM 2007) which uses mount points to all the protected volumes. 
When I first ran the 'Analyze' on the C:\ drive, I only saw the contents of C:\.  However, I later discovered if I "hit spacebar to continue" it showed me the other mounted volumues. When I ran 'System Disk Monthly' script and it hit the folder containing the mounted junction points, it followed those junction points and apparently defragged the mounted volumes of the remote servers.  This was a bit scary and disconcerting to watch but so far don't know of any ill effects (it's still running as I write this).

As these are numerous and very long and complex file paths, it would be preferable if these could be globally excluded instead of having to be a named exclusion.  Or alternatively, is there a way to exclude a folder (the folder containing the mount points) from the job?

running v. 4.3.1
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!