vote up 0 vote down star

Is there a built in way to defrag a folder? I am using VM Player so i would like my 3gb disk image to be defragged if possible. FYI my disk partition that the image lies in has 12gb left and has roughly 90% of the disk used. I probably would not need a defrag but i would like to do it if its possible.

flag

55% accept rate

2 Answers

vote up 2 vote down check

I haven't found a way to do this with native commands but there are additional programs out there that allow you to selectively defrag individual files.

I've used programs like defraggler from the guys who brought you CCleaner.

Or a contig - http://technet.microsoft.com/en-us/sysinternals/bb897428.aspx Part of the Sysinternals Suite by Mark Russinovich.

link|flag
+1 for Defraggler. Works a treat. – Al Everett Nov 23 at 22:04
vote up 0 vote down

It sounds like you have your OS and then your VM with it's OS image... instead of trying to defrag from your root/normal OS, why not try to do a defrag inside of your VM OS image - that is, run your VM and have it do a defrag.

Does that work for you?

link|flag
1  
@rlb.usa - A disk defragmentation from within the virtual machine will not do the same thing. The virtual image is a single file (or multiple) on the physical disk. Defragging from within the virtual machine will only rearrange the virtual files within the image. If that physical image file is scattered across the physical disk, defragging from the host OS will arrange the file's fragments so they are stored contiguously on the disk, increasing performance. – Robert C. Cartaino Nov 23 at 17:48

Your Answer

Get an OpenID
or
never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.