Solved

Scheduled defrag of Ntfs Mapped Drives

Posted on 2002-03-16
3
167 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
  • 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
This video discusses moving either the default database or any database to a new volume.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now