NTFS: How to find the sector(s) a file is occupying

ntfs

On my hunt to find an answer, I came across an answer to the opposite question, how to find which file occupies a sector (on Windows, use nfi.exe from the Windows 2000 OEM toolkit).

From what I know, finding the sector(s) a file is occupying is quite possible as a program I had used called Ultimate Defrag does this (for fragmented files in it's list).

Does anyone know of a program that will report the sector(s) a file occupies on NTFS?

Best Answer

SysInternals' DiskView will show you which clusters a file occupies (GUi only and not files which are in use such as system files).

Run it, let it scan, then use the Hightlight row at the top to pick a file to locate. Double click somewhere on the disk-mapping to see the details.

Not sure that answers your question about sectors, but since NTFS can sit on top of hardware RAID, it can't really know which sectors it's on. Or whether it's on a disk device where sectors is a sensible thing to talk about at all (e.g. an SSD).