Solved

Scheduled defrag of Ntfs Mapped Drives

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Application Deployment - Simple 7 648
Domain Controller all of a sudden stop replicating 3 448
Install Window 2012 Domain on 9 129
Screen Mirroring 7 69
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…
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

803 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