Solved

Scheduled defrag of Ntfs Mapped Drives

Posted on 2002-03-16
3
175 Views
Last Modified: 2010-05-18
I'd like to schedule routine defragging of my mapped NTFS drives.  Now I do it manually in Computer Management while reading the paper :-(

By mapped drives, I mean separate partitions that I've mapped into C:, such as
C:\MyData
C:\Reference
C:\DevTools
which facilitates backup and DrvImage snapshots.  I like to separate MyData to back it up separately, and not backup or snapshot the tools that don't change.

Anyway, I end up with a fair number of partitions.  I've seen the article

http://www.winntmag.com/Articles/Index.cfm?ArticleID=8276 

which Housenet answered an earlier question on:
Scheduling Defrag/Scandisk in Win 2000

but I'm not clear if the same technique will apply to my mapped partition drives.  Some of them have embedded spaces in them (wonder why MS did that for "Program Files")

TIA
0
Comment
Question by:ee-user
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 12

Expert Comment

by:Housenet
ID: 6874593
-Hi,
-You have when you created a partition you assigned it a folder location instead of a drive ltter, like C:\DevTools, right ?
-If this is the case then it seems to me that a defrag of C:\ would defragment c:\DevTools as well, even though it actially exists on a seperate partition.
0
 
LVL 14

Accepted Solution

by:
AvonWyss earned 100 total points
ID: 6875319
Housenet, I think you're wrong. The defragmenting process works on devices, not on logical drives and files. Therefore, it will not defrag anything but the actual root device assigned to the drive letter if you do a defrag. Confirmation of this can be seen on the defrag screen itself, where you don't see any change in drive size/free space values if you add or remove drives via mount point.

You have to defrag all of them. By sending some cursor down commands in the script, you can have the script choose the right partition. Note that you cannot have two defrags running in parallel, you have to serialize them. Note that maybe a commercial defragger, which not only natively supports sheduling but also more efficient defrag methods (like, sorting files by access time so that frequently used files have faster access etc.) may be a good idea.
0
 
LVL 14

Expert Comment

by:AvonWyss
ID: 6916212
Thanks for grading my answer!
0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question