PC Review


Reply
Thread Tools Rate Thread

Defragment drive containing Sparse files

 
 
Brad Peters
Guest
Posts: n/a
 
      27th Aug 2003
I have a sparce file on my machine that is about 3GB in size (not on
disk) when I defragment the drive (using the defrag with win2000) the
file becomes corrupted and all the data in the file is out of place or
missing.

Does anyone have any idea why or perhaps a solution?

Thanks

Brad Peters
 
Reply With Quote
 
 
 
 
Greg Hayes/Raxco Software
Guest
Posts: n/a
 
      29th Aug 2003
Brad,

This is very strange. No disk defragmenter (other than SpeedDisk under NT4
and Win2k) actually "moves" files. We all request - via Microsoft's defrag
APIs - to have a file moved from one set of logical clusters to another set
of logical clusters and it is the file system itself that actually performs
the file move - returning control back to the defragmenter when finished
with a success of failure status. In all my years of dealing with
defragmentation and the file system, there has only been 1 instance where
actual file system corruption has occured using Microsoft's defrag APIs.
That was a pre-release version of Windows 2000 (I believe RC2) and it dealt
specifically with FAT drives over 4GB in size. Other than that, the file
move code is very safe and I can't imagine that the defrag process is what
is actually corrupting that file. There are no problems with "moving"
compressed files, sparse files, file with multiple data streams, etc...

- Greg/Raxco Software
Microsoft MVP - Windows Storage Management/File System

Disclaimer: I work for Raxco Software, the maker of PerfectDisk - a
commercial defrag utility, as a systems engineer in the support department.



"Brad Peters" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have a sparce file on my machine that is about 3GB in size (not on
> disk) when I defragment the drive (using the defrag with win2000) the
> file becomes corrupted and all the data in the file is out of place or
> missing.
>
> Does anyone have any idea why or perhaps a solution?
>
> Thanks
>
> Brad Peters



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to un-sparse small *.jpg and *.pdf complete files? Sebastian Kaist Windows XP General 0 9th Mar 2009 09:28 AM
How to un-sparse small *.jpg and *.pdf complete files? Sebastian Kaist Windows XP Help 0 9th Mar 2009 09:28 AM
Why does copying files to a new hard drive not defragment it? Yousuf Khan Storage Devices 26 3rd Mar 2009 10:00 PM
can't Defragment C drive entizari Windows XP General 6 27th Feb 2009 01:46 AM
Working with sparse files in .NET nickdu Microsoft Dot NET Framework 2 5th Jan 2009 02:48 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:07 PM.