Solved

Scheduled defrag of Ntfs Mapped Drives

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

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
auto copy 8 614
Restore SQL database from 8.0 to 11.00 ? 3 1,166
Windows 2000, Ghost 2003, disk1 disk 2 mirroring 17 348
Referencing a mapped drive 6 135
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…
Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

895 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

16 Experts available now in Live!

Get 1:1 Help Now