Microsoft Talks About Fixing Disk Problems in Windows 8

In the latest Building Windows 8 blog, Kiran Bangalore, Senior Program Manager of Microsoft's Windows Core Storage and File Systems, said that one of the key design goals for Windows 8 was to increase availability and reduce the overall down-time of systems. This design feature, along with other storage features such as Storage Spaces and the new ReFS file system, will help reduce the complexity of fixing corruptions and increase the overall availability of the entire system.

In other words, less downtime due to file system corruptions thanks to a redesigned chkdsk utility and a revamped NTFS health model.

In previous versions of Windows, the NTFS used a simpler health model: the file system was either healthy or in bad shape. This model meant users typically had to stop what they were doing and wait for chkdsk to take the disk offline, fix the file system corruptions and bring the volume back to a healthy state. The bigger the problem, the longer the system was offline. The process could take seconds, or last for hours.

"In Windows Vista and Windows 7, we made significant optimizations to the speed of chkdsk, but as hard disk capacities have continued to double every 18 months and the number of files per volume is increasing at an equal rate, chkdsk has taken longer and longer to complete (even with speed improvements)," Bangalore writes.

To speed up the process, Microsoft has revamped the health model used by NTFS and introduced the ReFS file system in Windows 8 which does not require an offline ChkDsk to repair annoying corruptions.

"We developed a new method of communication that describes types of corruptions as 'verbs' that act upon the key components and points of the design – the file system driver (NTFS), the self-healing module, the spot-verification service, and the chkdsk utility," Bangalore continues. "All file system corruptions are classified as needing one of 18 different 'verbs' that we’ve defined in Windows 8. We have also left room for possible new verb definitions that can help us diagnose issues even better in the future."

Bangalore said that Windows 8 can scan for problems in the background while the system remains online, and will make an initial attempt to fix problems on-the-fly. If the initial fix doesn't resolve the issue, then NTFS logs the details, how the repair must be done, and stores the info away until the system is restarted. This way, the process won't take quite so long after boot.

"The downtime from this operation, called 'Spotfix,' takes only seconds, and on Windows Server 8 systems with cluster shared volumes, we've eliminated this downtime completely. With this new model, chkdsk offline run time is now directly proportional to the number of corruptions, rather than being proportional to the number of files as in the old model," Bangalore says.

Also in the blog is a Q&A explaining that the new health model will be enabled by default and work with removable drives that report fixed media. Consumers can also move between Windows 8 and Windows 7 and not affect the file system health model -- the file system health model will adapt to whichever operating system version it is mounted on. The Q&A also states that ReFS follows a different model for resiliency and does not need to run the traditional chkdsk utility.

For more information about the new NTFS health model and the redesigned Chkdsk utility, head here.

  • killerclick
    Call me when Microsoft fixes Metro... by allowing PC users to disable it completely.
    Reply
  • kawininjazx
    How to fix a computer: chkdsk /r
    Reply
  • halcyon
    I kind of wish the title said, "Microsoft Talks About Removing Metro UI in Windows 8" ...that's where my mind went as soon as I saw the words "Microsoft" and "Windows 8".

    Funny how the mind works.
    Reply
  • JackNaylorPE
    Improved NTFS ..... hmmmm ....... was supposed to be part of Windows 5.0

    How about recognizing the existence of SSD's and when both a HD and SSD are detected, after Windows is done installing, launch a wizard for partitioning the HD and putting Program Files and User Files on HD partitions ?
    Reply
  • halcyon
    JackNaylorPEImproved NTFS ..... hmmmm ....... was supposed to be part of Windows 5.0How about recognizing the existence of SSD's and when both a HD and SSD are detected, after Windows is done installing, launch a wizard for partitioning the HD and putting Program Files and User Files on HD partitions ?Somehow I don't think the majority of people that will be using Windows 8 with both an SSD and an HDD would appreciate such a wizard. ...that sounds like something geared more towards the enthusiast...and we're just not that big of an audience.
    Reply
  • gogogadgetliver
    JackNaylorPEImproved NTFS ..... hmmmm ....... was supposed to be part of Windows 5.0How about recognizing the existence of SSD's and when both a HD and SSD are detected, after Windows is done installing, launch a wizard for partitioning the HD and putting Program Files and User Files on HD partitions ?
    MKLink with the /J switch is your friend.
    Reply
  • gmarsack
    Does anyone remember WinFS? This was suppose to be the end-all-be-all file system... right up until it got cancelled by Microsoft. Glad to see MS is still working to improve the filesystem, which needs some much needed love.
    Reply
  • jhansonxi
    Just splitting the drive into multiple partitions can greatly limit damage since corruption rarely crosses partition boundaries. When does affect multiple partitions, it's probably something severe enough that chkdsk isn't going to fix (like a head crash).
    Reply
  • upgrade_1977
    Doesn't matter, nobody is buying it without the start button. LOL
    Reply
  • halcyon
    jhansonxiJust splitting the drive into multiple partitions can greatly limit damage since corruption rarely crosses partition boundaries. When does affect multiple partitions, it's probably something severe enough that chkdsk isn't going to fix (like a head crash).I think having the ability to do this would be good. ...but I think it'd be better received as a command-line utility, like...oh...I don't know...something along the lines of:

    "OSpart /v /t /-5"
    Reply