What I need is a way (a tool or programatically) to get a mapping of the
sectors / clusters to the files, or vice versa, under NTFS. I want to find
out which files were supposed to be stored at the locations where there are
bad sectors.
For example, given sector/cluster number 1000, I’d like to find out that it
was, say, ntoskrnl.exe that is stored there.
I’m trying to understand a failure of a system in the field which had NTFS
and mirroring running, but recently failed to boot. The problem is surely
due ot bad sectors, of which there are a bunch on the master drive, but
somehow the file system failed to correct for them, which it is supposed to
do just fine (when running NTFS and mirroring).
Any tips or pointers would be much appreciated. I’ve never done any file
system programming, so I wouldn’t even know where to start.
Thanks!
There was some disk defragmentation IOCTLs described
at http://www.sysinternals.com/defrag.htm. I suspect that
you can use these, along with getting partitioning info from somewhere,
to work this problem.
-DH
----- Original Message -----
From: “Taed Nelson”
To: “NT Developers Interest List”
Sent: Friday, September 08, 2000 7:15 PM
Subject: [ntdev] Cluster Allocation Table?
What I need is a way (a tool or programatically) to get a mapping of the
sectors / clusters to the files, or vice versa, under NTFS. I want to find
out which files were supposed to be stored at the locations where there are
bad sectors.
For example, given sector/cluster number 1000, I’d like to find out that it
was, say, ntoskrnl.exe that is stored there.
I’m trying to understand a failure of a system in the field which had NTFS
and mirroring running, but recently failed to boot. The problem is surely
due ot bad sectors, of which there are a bunch on the master drive, but
somehow the file system failed to correct for them, which it is supposed to
do just fine (when running NTFS and mirroring).
Any tips or pointers would be much appreciated. I’ve never done any file
system programming, so I wouldn’t even know where to start.
Thanks!
—
You are currently subscribed to ntdev as: xxxxx@syssoftsol.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)