TweetFollow Us on Twitter

Jun 00 NetManage

Volume Number: 16 (2000)
Issue Number: 6
Column Tag: Network Management

DiskWarrior 2.0

by John C. Welch, Edited by Ilene Hoffman

Reviewing the leader in Macintosh disk maintenance utilities

Background

DiskWarrior, from Alsoft Inc. <http://www.alsoft.com> is a disk repair utility for the Mac OS. It fixes directory damage and works on HFS and HFS+ drives. Released at the Macworld Expo 2000 in January, version 2 adds the ability to prevent disk damage by preventing applications and utilities from writing to the disk in a way that would corrupt or damage the directory.

Installation

DiskWarrior has only two components, the application and the DiskWarrior extension. Although Alsoft includes an installer, you can just drag the application to the desired location on a local hard drive, and drop the extension on the active System Folder. Once installed, reboot and you're done. If you don't install the extension, the reboot is not needed.

Using DiskWarrior

DiskWarrior's interface is a model of simplicity and efficiency. As shown in Figure 1, the main window has only two tabs, and a minimal number of controls. When compared to other utilities, such as Norton Utilities and TechTool Pro, DiskWarrior has a simplistic interface. There is no power user mode or hidden advanced controls. This is exactly what DiskWarrior is all about — it has one function in life, and that is to rebuild the directory structure on your hard drive. The interface is also one of the most intuitive for a repair utility. DiskWarrior 1.x even won a design award at the 1999 Apple WorldWide Developer Conference.


Figure 1. Main DiskWarrior Window.

To use DiskWarrior, you select the drive you want to rebuild, and click on either the Graph or Rebuild buttons. When you select Graph, DiskWarrior analyzes your directory structure, and presents you with an easy to read picture of your directory. (See Figure 2.)


Figure 2. Disk Warrior Drive Graph.

The graph is a clear way of seeing what your directory looks like, and it gives you a general idea of the state of your directory structure. Those who really understand how file systems and directory structures work may derive more meaning out of this than the less technically inclined. I just like the fact that a clean directory is indicated by a clean gradient, and the less clean the directory is, the dirtier the gradient becomes.

Another good feature is the restriction on which drives you can rebuild. You cannot rebuild the drive you are booted from, or the drive from which DiskWarrior is running. This may seem to be a liability, but from a safety viewpoint, this makes perfect sense. Alsoft has chosen to allow you to repair only drives that can be dismounted when necessary, without potentially disrupting the rebuild process. This allows DiskWarrior to avoid making any permanent changes until the absolute last step, and also reduces the chances of crashing the repaired while the directory is rebuilt.

If the drive you have selected is eligible for rebuilding, then click rebuild to start the process. If an error occurs at any point before the actual replacement, rebuilding is halted. If DiskWarrior finds an error that must be fixed before it can accomplish the rebuild, you are asked to approve the repair or cancel the rebuild. If you cancel at any point, the disk is left untouched. After the last step before replacement is completed, you are presented with a screen listing any damage found, as well as a general summary of your drive. There are two views, normal and detailed. The normal view has a generic description of the errors found, and is fairly useful for most users, while the Detail view covers specific problems found. (Figure 3.)


Figure 3. General View of DiskWarrior Report.

If you need to know exactly which files/structures have a problem, click on the Details button to see a list of every problem, and exactly what was found. This is an invaluable tool for troubleshooting repeated drive problems. (Figure 4.) A complete list of potential problems and explanations are included on the DiskWarrior PDF manual on the CD.


Figure 4. Detailed View of DiskWarrior Report.

Another interesting option for DiskWarrior is the preview ability. This button has DiskWarrior create a duplicate disk directory for the selected drive, and shows the drive as it will appear when the directory is rebuilt. DiskWarrior warns you that the both the current and preview directories will be locked, and not to unmount either disk. (Figure. 5.)


Figure 5. Preview Disk Dialog.

When you click on Continue, two drive icons appear. The normal icon is your drive as it currently exists, and the preview icon, which is your drive as it will be after rebuilding. (Figure 6.)


Figure 6. Preview and original disk on desktop.

This is an invaluable function if you are trying to rescue a lost file, as you can compare both versions, and see if the rebuild will actually rescue the file. I have found that if the file is gone due to directory errors, DiskWarrior will rescue it almost consistently. If the file is gone because it was deleted, then DiskWarrior won't rescue it. If you need to rescue a file, then I recommend using a utility specifically designed for that purpose.

Once you have seen details, and previewed the drive, you can either cancel or continue with the rebuild. If you click Cancel, nothing happens, and your disk is unmodified. If you click Replace, then the drive is unmounted, and the directory is replaced. This step gave me my only moment of worry with DiskWarrior, as when the progress bar is about one-half inch from the end, it may pauses for a while, depending on the machine. The first time this happened, I thought "Oh great, it crashed, I'm dead." I rebooted the Mac from the DiskWarrior CD, and sure enough, I got all kinds of funky messages, including the dreaded: "I can't deal with this drive, initialize it?" I decided to not initialize it, and give DiskWarrior another chance. In this case, once the <supposed> crash happened, I sighed, and went to get more coffee, figuring I had a long night ahead. When I returned, lo and behold, the progress bar was done, and everything looked fine. I ran DiskWarrior again, and waited. Sure enough, about two minutes after it paused, it finished, and my drive was fine. This is both good and bad. Good, because it was able to fix the damage caused by my premature reboot of the Mac. Bad, because I did not need that near coronary that the pause gave me, nor did I need to reboot the first time. In any case, when DiskWarrior pauses, don't reboot until you get a completion message, an error message, or wait about 20 minutes. (The larger the hard drive, the longer the pause.) After using DiskWarrior version from 1.0 to 2.0 on 30 Macs I have only found two cases where DiskWarrior threw up its hands and gave up. In the first case, the drive's head had crashed, and in the second case, DiskWarrior would lock up or give up. As it turned out I had a bad DIMM, which caused the problems. In either case, DiskWarrior caused no harm, and left me no worse than I was before, unlike some other utility packages which I've used.

DiskShield

The second tab is a new feature in version 2.0, DiskShield. DiskShield is designed to prevent you from incurring directory damage in the first place. This is what the DiskWarrior extension controls, and this tab, (in Figure 7) allows you to set DiskShield's options.


Figure 7. DiskShield Options.

The first control is the actual switch for DiskShield. By default, after the extension is loaded, DiskShield is turned off. I appreciate that Alsoft allows me to choose whether to turn the extension on, as opposed to most vendors, which automatically turn extensions on. Once you turn DiskShield on, the other options come to life. The notification is fairly self-explanatory. You can decide how you want to be notified at which level of severity, either by an alert dialog, or flashing the Apple Menu. (The alert is a nicer option for MacOS 9 with those nice, unobtrusive windoid dialog boxes. ) I was able to test this out, when installed the latest beta of AOL Instant Menu (AIM). As the install finished, DiskShield suddenly popped a warning about an attempt being made to write to the directory in an unsafe manner, and that I should immediately run DiskWarrior on my drive. What was nice was that the damage never occurred, and my directory remained clean. DiskShield had prevented a bad write to disk, but let the write happen, only in a safer manner.

The next set of controls concerns speed issues. Since DiskShield checks every single write to your disk, if you are about to download a lot of files, (say a couple of hundred or more), you might see a speed penalty. So by selecting Bulk file operations are faster, you tell DiskShield to not monitor these types of writes, and thereby avoid any speed penalty. You can also turn off DiskShield for individual applications. In Figure 5 I have turned off DiskShield to run an AppleScript that copies my web site to disk. This copy involves over 3,000 files, so I don't want every write monitored for that application.

DiskShield is an extension, so, the standard possibilities for conflicts exist. As of this writing, I am working with Alsoft Tech support to resolve a conflict that manifests itself as a Type 10 error. We have determined that the DiskWarrior extension by itself, or with the standard MacOS 9 extension set is not the culprit, so it is a third party extension conflict. This should not reflect poorly on DiskWarrior as much as act as a reminder that extensions should be used as sparingly as possible. The DiskWarrior PDF Manual also includes a section on troubleshooting extension conflicts.

DiskWarrior Functionality

As previously mentioned, DiskWarrior does not patch or repair your disk directory, but rebuilds it. This is an important distinction over Norton and TechTool Pro, which normally apply fixes and patches to the damage in a directory, (although TechTool Pro version 3.0 has an option for this type of directory repair). In contrast to repairing an existing structure, DiskWarrior analyzes your drive, and the files on it, and creates a completely new optimized directory. By replacing the old directory in its entirety, a lot of errors that can accumulate even with applied repairs, are completely fixed. (The analogy here is the difference between dropping a new engine into your car, and rebuilding the existing one. Both will work, but only the new engine is going to allow you to effectively start at zero with regard to mileage. ) This also means that every time you run DiskWarrior, you get a brand new directory, which is as close to a brand new drive format you can get without actually reformatting. The list of what DiskWarrior will fix is impressive. DiskWarrior run on a regular basis has been excellent for preventative maintenance. The directory rebuild also optimizes the directory structure, so that you should see some speed increase after the rebuild also. I did see some speed increase, but, I have about 45,000 files and folders on my main drive, so your mileage may vary. DiskWarrior is also scriptable, so you can use AppleScript to automate the rebuilding of drives. I haven't found a need for it, but the fact that it is available is an indication of the thought that went into the product.

DiskShield Functionality

According to Susan Starnes, Alsoft's marketing representative, DiskShield does two things to save you from damaging your drive. The first is DiskShield checks what is going to be written and how the write is supposed to occur, by checking the file system calls the application is making. If the write is safe, then it proceeds. If the write is not safe, then you are alerted as to its severity, and warned that you should run DiskWarrior as soon as possible to check for damage. In my one, (admittedly not a large sample size) experience with this, the write was allowed to occur, but no damage happened, so DiskShield was doing its job quite well. The second function of DiskShield involves the disk cache. The disk cache is a space in RAM that holds frequently accessed data. Normally, this is used primarily for data coming from the disk, or "reads." However, it can also be used for writes, and can speed those up as well. If there is a crash with data still waiting to be written in the cache, particularly directory data, (i.e. creating a new folder, renaming a folder, etc.), then disk damage can occur if the cache is not flushed cleanly. DiskShield, if it detects a cached directory write, forces the write to occur immediately, rather than at idle time as is normal. This ensures that directory structure changes are made as quickly as possible, thereby lessening the chance for directory damage in the case of a crash.

As I pointed out earlier, there is a potential for slowdowns here, especially in the case of large numbers of files being transferred. In reality, I haven't seen it yet, and that includes a 9000+ file transfer I did via FTP just to beat on DiskWarrior. If you think about it, unless you are transferring from a computer with a Gigabit network interface to your Mac, which also has a Gigabit interface, your file system is operating at much higher speeds than the network is capable of running. In that case, any slowdowns from DiskShield aren't even going to show up. If you are doing large transfers between drives on an Ultra-Wide SCSI card, then you may see a slowdown. In a test with a Beige G3/300 server, running Mac OS 9, AppleShareIP 6.3, and using an Adaptec 3940UW dual-channel card, transferring files between two mirrored drive sets was so close to the speed without DiskShield, that realistically, there was no difference. DiskShield requires an extension to operate, so conflicts can, and in my case, do happen, (In my case, the conflict was with the netOctopus 3.5.2 agent, and the Virex 6.X control panel.) I must also say that Alsoft's technical support staff has been absolutely outstanding in their efforts to help me resolve this problem. No finger pointing, just excellent help. The way I see it, by preventing a bad install from damaging my disk, DiskShield made its case better than any amount of press ever will.

Conclusion

With this latest release of DiskWarrior, Alsoft has improved on not only the track record of a truly outstanding product, but also the company's overall track record. Although I could do without the pause during the last part of the rebuild, it's a niggling complaint, and the only one I've had since version 1.0. DiskShield is a welcome addition to DiskWarrior, and has given me real-world proof of its value as well. A nice touch with version 2.0 is the inclusion, of PlusOptimizer for free, so that not only can you rebuild your drive's directory structure, but also you can optimize the files on that drive in the same session. Just one of those little polishes that place Alsoft at the top of any group of Mac software companies. I would also like to note that in addition to superb technical support, Alsoft's Marketing Director is one of the most technically savvy individuals I have ever met in that type of position. To sum it up: If you own a hard drive, you need DiskWarrior. If I had to pick one disk utility, forsaking all others, this would be the one. For more information, visit their web site at <http://www.Alsoft.com/>.


John Welch <jwelch@aer.com> is the Mac and PC Administrator for AER Inc., a weather and atmospheric science company in Cambridge, Mass. He has over fifteen years of experience at making computers work. His specialties are figuring out ways to make the Mac do what nobody thinks it can, and showing that the Mac is the superior administrative platform.

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All

Tokkun Studio unveils alpha trailer for...
We are back on the MMORPG news train, and this time it comes from the sort of international developers Tokkun Studio. They are based in France and Japan, so it counts. Anyway, semantics aside, they have released an alpha trailer for the upcoming... | Read more »
Win a host of exclusive in-game Honor of...
To celebrate its latest Jujutsu Kaisen crossover event, Honor of Kings is offering a bounty of login and achievement rewards kicking off the holiday season early. [Read more] | Read more »
Miraibo GO comes out swinging hard as it...
Having just launched what feels like yesterday, Dreamcube Studio is wasting no time adding events to their open-world survival Miraibo GO. Abyssal Souls arrives relatively in time for the spooky season and brings with it horrifying new partners to... | Read more »
Ditch the heavy binders and high price t...
As fun as the real-world equivalent and the very old Game Boy version are, the Pokemon Trading Card games have historically been received poorly on mobile. It is a very strange and confusing trend, but one that The Pokemon Company is determined to... | Read more »
Peace amongst mobile gamers is now shatt...
Some of the crazy folk tales from gaming have undoubtedly come from the EVE universe. Stories of spying, betrayal, and epic battles have entered history, and now the franchise expands as CCP Games launches EVE Galaxy Conquest, a free-to-play 4x... | Read more »
Lord of Nazarick, the turn-based RPG bas...
Crunchyroll and A PLUS JAPAN have just confirmed that Lord of Nazarick, their turn-based RPG based on the popular OVERLORD anime, is now available for iOS and Android. Starting today at 2PM CET, fans can download the game from Google Play and the... | Read more »
Digital Extremes' recent Devstream...
If you are anything like me you are impatiently waiting for Warframe: 1999 whilst simultaneously cursing the fact Excalibur Prime is permanently Vault locked. To keep us fed during our wait, Digital Extremes hosted a Double Devstream to dish out a... | Read more »
The Frozen Canvas adds a splash of colou...
It is time to grab your gloves and layer up, as Torchlight: Infinite is diving into the frozen tundra in its sixth season. The Frozen Canvas is a colourful new update that brings a stylish flair to the Netherrealm and puts creativity in the... | Read more »
Back When AOL WAS the Internet – The Tou...
In Episode 606 of The TouchArcade Show we kick things off talking about my plans for this weekend, which has resulted in this week’s show being a bit shorter than normal. We also go over some more updates on our Patreon situation, which has been... | Read more »
Creative Assembly's latest mobile p...
The Total War series has been slowly trickling onto mobile, which is a fantastic thing because most, if not all, of them are incredibly great fun. Creative Assembly's latest to get the Feral Interactive treatment into portable form is Total War:... | Read more »

Price Scanner via MacPrices.net

Early Black Friday Deal: Apple’s newly upgrad...
Amazon has Apple 13″ MacBook Airs with M2 CPUs and 16GB of RAM on early Black Friday sale for $200 off MSRP, only $799. Their prices are the lowest currently available for these newly upgraded 13″ M2... Read more
13-inch 8GB M2 MacBook Airs for $749, $250 of...
Best Buy has Apple 13″ MacBook Airs with M2 CPUs and 8GB of RAM in stock and on sale on their online store for $250 off MSRP. Prices start at $749. Their prices are the lowest currently available for... Read more
Amazon is offering an early Black Friday $100...
Amazon is offering early Black Friday discounts on Apple’s new 2024 WiFi iPad minis ranging up to $100 off MSRP, each with free shipping. These are the lowest prices available for new minis anywhere... Read more
Price Drop! Clearance 14-inch M3 MacBook Pros...
Best Buy is offering a $500 discount on clearance 14″ M3 MacBook Pros on their online store this week with prices available starting at only $1099. Prices valid for online orders only, in-store... Read more
Apple AirPods Pro with USB-C on early Black F...
A couple of Apple retailers are offering $70 (28%) discounts on Apple’s AirPods Pro with USB-C (and hearing aid capabilities) this weekend. These are early AirPods Black Friday discounts if you’re... Read more
Price drop! 13-inch M3 MacBook Airs now avail...
With yesterday’s across-the-board MacBook Air upgrade to 16GB of RAM standard, Apple has dropped prices on clearance 13″ 8GB M3 MacBook Airs, Certified Refurbished, to a new low starting at only $829... Read more
Price drop! Apple 15-inch M3 MacBook Airs now...
With yesterday’s release of 15-inch M3 MacBook Airs with 16GB of RAM standard, Apple has dropped prices on clearance Certified Refurbished 15″ 8GB M3 MacBook Airs to a new low starting at only $999.... Read more
Apple has clearance 15-inch M2 MacBook Airs a...
Apple has clearance, Certified Refurbished, 15″ M2 MacBook Airs now available starting at $929 and ranging up to $410 off original MSRP. These are the cheapest 15″ MacBook Airs for sale today at... Read more
Apple drops prices on 13-inch M2 MacBook Airs...
Apple has dropped prices on 13″ M2 MacBook Airs to a new low of only $749 in their Certified Refurbished store. These are the cheapest M2-powered MacBooks for sale at Apple. Apple’s one-year warranty... Read more
Clearance 13-inch M1 MacBook Airs available a...
Apple has clearance 13″ M1 MacBook Airs, Certified Refurbished, now available for $679 for 8-Core CPU/7-Core GPU/256GB models. Apple’s one-year warranty is included, shipping is free, and each... Read more

Jobs Board

Seasonal Cashier - *Apple* Blossom Mall - J...
Seasonal Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Read more
Seasonal Fine Jewelry Commission Associate -...
…Fine Jewelry Commission Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) Read more
Seasonal Operations Associate - *Apple* Blo...
Seasonal Operations Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Read more
Hair Stylist - *Apple* Blossom Mall - JCPen...
Hair Stylist - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Read more
Cashier - *Apple* Blossom Mall - JCPenney (...
Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Mall Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.