Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Scheduled defrag of Ntfs Mapped Drives

Posted on 2002-03-16
3
Medium Priority
?
179 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 400 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Steps to fix error: “Couldn’t mount the database that you specified. Specified database: HU-DB; Error code: An Active Manager operation fail”
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

926 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