News and general opinion, often privacy, security or computer related, but could be about anything really, including religion, politics, the environment, business or audio books. "Never ascribe to malice, that which can be explained by incompetence/stupidity/neglect." -- Hanlon's Razor
Today I shared this advice with a programmer friend. I hope you find it useful. Firstly, you need to download and install HD Tune. Version 2.55 is still available for free (for personal use), but I use the pro version ($34.95) because it gives me extra features, and it saved my laptop hard drive on several occasions when it started overheating.
This is a typical hard drive benchmark, where the outside of the drive is faster than the inside.
This is my SSD drive. The blue line should be flat, since a solid-state drive has no moving parts. Notice the "dips" where the drive is having trouble reading the data. This is because the data signal has degraded through normal drive use.
This is where you need DiskFresh by Puran Software (free). It will read and write all the disk sectors for you, eliminating the "dips" shown above. You don't want to run this too often on an SSD because writing does shorten the lifespan of the drive by 1 out of 10,000 writes.
Try not to run anything else while DiskFresh is busy. You will notice it slows down from time to time, either because the SSD is having difficulty reading your data, or because Windows is busy writing data to the disk.
I ran DiskFresh on the first 40% of the drive, and this is the result: good performance over the whole drive once more.
If DiskFresh reports errors on the drive, then it’s time to bring out the heavy hitter: SpinRite 6.1, ($89) which requires support for a legacy (as opposed to "secure") boot. Not all modern PCs have legacy mode. This should be fixed in SpinRite 7 in a few years. SpinRite has various recovery modes. I suggest you run it on "Level 1" to get it to tell you what's wrong.
I have just posted this video on YouTube in order to share it here and on my Spinrite product page on the Fact-Reviews site. Steve Gibson explains what Spinrite does and how it operates, including how it "begs" for data from dodgy areas of the disk in order to recover it.
He also mentions the concept of "Bit Rot", where the defects on a hard drive can grow over time, gradually affecting more bits in a sector, until the sector becomes unreadable. Fortunately DiskFresh can also help detect these problems early without taking the entire PC offline for maintenance. With Spinrite the entire PC has to boot off a special boot CD or flash drive in order for Spinrite to do the recovery.
Of course if the PC isn't booting up anyway this is not really an issue, but with preventive maintenance it can be a big issue. That's why I was delighted when DiskFresh was developed, because now I can find out whether my hard drives (including removable USB drives) are developing problems before it is "too late".
Another issue I was not aware of is when and how often drives fail, including brand new "out of the box" drives. The authors of "Protecting Digital Assets for the Long Term" cite research from Google and others which suggests that new drives should be tested between 200 and 2000 hours before being put into active service, to prevent what they term "infant mortality" failures. The problem gets bigger as the size of the drive gets bigger, too.
In the case of Windows it usually takes around 200 hours to install and set up Windows and all the software updates and packages, but I have had a hard drive die on me after 7 days of use. It was not pleasant.
It is also not a good idea to leave a drive switched off for too long, because the mechanism can get stuck and the drive may never spin again. If you are using an external hard drive for backups, make sure you do a regular backup (monthly is more than adequate) to that drive, just to make sure that the drive is still working properly. And remember to do your quarterly disk refresh with DiskFresh (see article below).
My development server has two huge 2TB drives in it, which makes backups a nightmare. But what has worried me even more is that these drives are too big to do proper disk maintenance. No drive is "too big to fail", and the more data it contains, the bigger the disaster when it does fail. It's just a matter of time.
All magnetic disks suffer from the same problem: the analogue magnetic signal decays over time. If the file is being regularly updated, then this isn't a problem, because each update rewrites the analogue signal. But what about those old music files that you haven't listened to in 2 years? How do they get updated? When was the last time your hard drive even read those files to see if they are OK or not?
Until now I have used Spinrite to maintain my hard drives. On my laptop this isn't a hassle, because the drive is only 160GB big, and I can run Spinrite overnight in "refresh mode", where it reads and rewrites every sector on the disk, whether it has been used or not. If any sectors are damaged or faulty, Spinrite will attempt to recover the data. It usually succeeds.
In addition, I use Carbonite to make an automatic backup to "the cloud" of all the files I need on a regular basis. This includes all the programming projects I am working on. So if I file gets damaged or corrupted, or I just screw up and need an older copy, I can get it back in a few minutes. For bigger files like my two 4GB Truecrypt volumes, I use SyncToy to make copies to the server, and to an external USB hard drive.
But this is where things start getting difficult. The 500GB USB drives are slow, and it can take ages to run Spinrite on them. Each of the 2TB drives takes Spinritenearly two weeks to check thoroughly (level 4), but I simply cannot expect my server to be offline when this happens, and Spinrite only works in offline mode. Gotcha. So I have had several hard drives lying around the office with important data on them, and no way of ensuring that the integrity of the data is being maintained. I can't afford to wait for the drive to fail or the data to be lost. That's a luxury for big companies like Google.
Google have so many hard drives in their data centres that they are always removing and replacing faulty hard drives. They have special machines (shown above) to destroy drives once they fail. Watch from about 3 minutes into this YouTube video.
A few weeks ago, the author of Puran Defrag and the Puran Utilities, Vishal Gupta, wrote to me to say he had started working on a program to solve this problem. I gladly agreed to do some testing, and make suggestions. I made a complete image backup of my test machine, and set to work.
DiskFresh is the result of this collaboration. Vishal did all the engineering, wrote all the code, and put up with my nitpicking, wild ideas, and occasionally useful suggestions. The result is elegantly simple, but extremely useful. You select a drive (either the entire physical disk or a drive letter) and the program methodically reads each sector, and assuming it gets no error messages from the drive, rewrites the data back to the same sector. Bingo! A fresh analogue signal on the drive, and you can rest easy that (for the next few months at least) the magnetic signal is not going to fade away and lose your data with it. DiskFresh also has a "read-only" mode which is useful for SSD drives and USB Flash drives. Flash memory also has a "data fade" problem, but rewriting the data doesn't help, because you can only write data on a flash drive a limited number of times. Instead, you just read all the data fairly often (4 times a year) and the drive controller should pick up any problems before it is too late.
On my server's scheduler I have set DiskFresh to run every 13 weeks, on a Saturday. It will refresh all 3 physical drives, a total of 4.3TB of storage space. The server can still run while this is happening, and the DiskFresh software detects how much other hard drive activity is happening, and will scale back if the drive gets too busy. It is very well behaved, and doesn't consume lots of computer resources or disk space. On completion of the refresh, you get a text report listing useful information and any errors encountered. FWIW, each 2TB drive took about 22 hours to refresh during testing. There is a free version that you can use on your home PC or for testing in a business environment. There is even an option to schedule it to run quarterly. The commercial version has some extra features, and the installer allows you to also install Puran Defrag, Puran File Recovery and/or Puran Duplicate File Finder. All of these are essential tools for modern Windows PCs, and it is great to have them in a single setup program. It makes life easier for the IT technician. Choose from a 5PC license for small businesses, or a site license for 20 or more PCs.
Update: For a more detailed look at why DiskFresh is so useful, see my Fact-Reviews article on DiskFresh and why you need it. Update 4 July 2013: DiskFresh is now at version 1.1, which fixes a bug encountered when using encryption in some cases.
Full disclosure: I was not paid to do any testing, nor do I receive any money for any sales of this product. I am grateful that Vishal listened to my rantings about the hard drive signal fading away, and I am glad to be able to use this utility on my computers: Windows 2012 Server, Windows Vista (laptop) and Windows 7 Home Premium (Test PC).
I'm in the process of adding a 2TB hard drive to my home server, mainly for backups and archives. So before I format the drive I decided to run SpinRitein maintenance mode to check that the drive is OK. You know you've bought a huge hard drive when you realise that SpinRite is going to take nearly two weeks (13.75 days) to test it thoroughly. I think I'm going to have to do the testing in stages, because I don't want to have the server offline for two weeks during testing. That's a bit extreme ;-) Update: I ran SpinRite in "Emergency Recovery Mode" and it completed the job in around 5 hours. Now I'm formatting the drive, and I'm curious to see how long that takes. It also took around 5 hours to do a proper format of the drive. I have copied around 1TB of backup files onto the drive, and it took most of the weekend to do. 2TB is a lot of data!
Some time ago, shortly after the launch of Windows Vista, my wife Penny bought an HP Pavilion DV6204EU laptop, mainly because it looked nicer than the other laptops we saw. Pity it didn't work better. Now the thing has finally died: it won't connect to the network, or to the printer or scanner, and the CD/DVD drive hasn't worked for months. So she finally agreed to let me replace her laptop, and yesterday we took delivery of a spiffy new Acer eMachines E725 laptop, with Windows 7, 4GB RAM, and a 320GiB hard drive. Now the fun begins, transferring all her old files and reinstalling all her programs. I hope the 64-bit OS doesn't cause too many hassles. At least the new machine can run Spinrite and report the HDD temperature. I have bought 8 laptops in the last 5 years (4 were gifts, one was a replacement for a machine I spilled water on). Only the HP and an IBM ThinkPad have given us grief. Similarly, the HP printer still doesn't work properly on Windows Vista. As a result I will not willingly buy another HP product. Maybe they should revert back to their original name: Hewlett-Packup.
I have always recommended HD Tune for use in monitoring the temperature of a laptop hard drive, but never thought I'd use it as a maintenance tool. It was only recently, after Penny's HP Pavilion DV6204EU laptop started doing wierd things, that I decided to try out the new HD Tune Pro to see if it could tell me anything about her hard drive. I have always been frustrated with her laptop, since the laptop blocks or hides the SMART information on the drive, and SpinRite won't run. So the normal preventive maintenance gets really tricky, and I have never had the courage to remove the drive and plug it in to a different machine to run SpinRite. After installing the trial version of HD Tune Pro I ran the "Error Scan" and discovered to my horror that there were multiple bad sectors on the drive. This could easily explain why the laptop was freezing from time to time. Next, I ran "chkdsk /R" to get Windows to move any data from those regions, and mark them as bad. The screen shot above shows the result: the bad sectors are in red, and the rest of the drive seems to be OK. It also shows the "Speed Map" of the drive, with the faster regions near the outside. I'll be monitoring it for further bad sectors, and plan on replacing the whole thing as soon as funds permit. Had HP not blocked access to the SMART information, these problems could have been avoided a long time ago. I won't be replacing it with another HP laptop either; Acer never had this problem. I have published a more detailed review of HD Tune and SpinRite on my new reviews site. Benchmarks are still under way.
Here is my collection of utilities and "must have" programs in order to keep a newbie'sWindows Vista laptop in good shape. I am writing this from my experience with several laptops, including my own Vista machine. I have put my money where my mouth is, having purchased a Toshiba laptop from the Laptop Center in Israel, for a friend who is moving to Israel from South Africa. Since I can no longer provide her with computer support, this is what I have arranged for her machine.
The first item to install is the Norton User Account Control utility, in order to deal with those annoying UAC popups that plague Vista users. It doesn't make them go away, but it can remember what applications you agree to run, and so not bother you every time you use it. Say goodbye to the Microsoft User Annoyance Control ;-) 1,180,672 bytes. Reason*: when you are setting up the machine, you can disable the UAC messages that pop up regularly, so they don't bother the user any more. Next, install CCleaner. This utility can keep your system clean and tidy, find registry problems, and assist in disabling all those weird utilities that load when Windows starts. When installing, make sure you unselect the Yahoo toolbar, as shown above. 3,247,736 bytes. Reason*: you can set up the defaults once, and then show the user how to "Run CCleaner" from time to time, or just set it to run automatically. I have mentioned the Vista Battery Saver utility before, and it really seems to be making a difference to the lifespan of my laptop batteries, in addition to saving power. Battery life is extended by using less power, even when your laptop is running off mains. 965,120 bytes. Reason*: set it up to save power, and then tell the user not to play with the settings. Hard Drive temperature is also very important, and HDTune monitors the temperature of your hard drive, and warns you if the drive temperature is getting near danger levels. In order to use it, you need to set it to start up when you log on, which is explained here. Use the free version 2.55 (642,632 bytes). Reason*: once it's set to run, tell the user what to do if the hard drive gets too hot. SpinRiteis not a utility you install. You buy it, download it (196,608 bytes) and create a boot CD from the .iso image it creates. If you don't have software to do this, use the free CDBurnerXP utility (3,158,425 bytes). Once you have the bootable CD, boot up from it and run SpinRite in "Maintenance Mode" every 4 months or so. It's the best US$89 you'll ever spend. While refreshing the magnetic signal on the drive, it also recovers data from any unreadable sectors, and warns the drive of any impending data loss. Most people only use it when they have already lost data, but SpinRite is best at preventing data loss and warning you about a drive that is about to fail. There is no trial version, so they offer an unconditional money-back guarantee. When Penny's HP laptop blocked all low-level access to her drive, they offered to refund me. I refused, because I use the product on other drives. Download size is tiny. Reason*: Once the boot disk has been made, show the user what to do once every 4 months. If they forget (they probably will) then at least the disk is available for data recovery when required.
If your PC came with the Adobe Reader preinstalled, the best thing to do is uninstall it. After all, do you really want 145MB of insecure bloatware on your machine? Then, download the Foxit Reader instead. It's a 3,738,880 byte download (compared to 26,739,584 bytes for Adobe Reader 9.1) and it loads really fast when you want to open a PDF file. Remember to go to Edit->Preferences->JavaScript and DISABLE Javascript to protect your machine from viruses and other malware. Reason*: Once it's installed and Javascript is turned off, the user doesn't have to do anything special to view PDF files more securely than the Adobe Reader. The PlaySound utility isn't going to save the world, or your laptop. But it is a way of reminding you to slow down a bit, and give your PC a chance to get organised. Select the option of installing a startup shortcut, and you'll get the progress bar shown here whenever you log on. It encourages you to wait while your laptop software settles down. 1,736,704 bytes. Reason*: While the PC starts up it needs the user to leave it alone. You can get weird error conditions if you try to rush the machine. Rather wait for it to stabilize before trying to use it.
You also need a good antivirus program, and I can think of nothing better than the ESET NOD32 Antivirus package. It is fast, lightweight, has a good updating mechanism, and it works. I've had hassles with other antivirus programs, but not this one. If you want to get rid of spam, then you may consider upgrading to their ESET Smart Securityprogram instead, or just purchase a license for SpamFighter. I used SpamFighter for a year before the ESET Smart Security product came out, and it gave me a good feeling nuking spam from my inbox, knowing that it was learning about the spam and blocking it from other inboxes as well. Reason*: install the antivirus and it gets on with the job. No user intervention required, unless a message appears.
Finally, you need a defrag program to keep your laptop hard drive properly organised. If you need a freebie, then use a combination of UltraDefrag for a boot time defrag, and JkDefrag 3.36 for the screen saver defrag. But you'll need to configure it properly. Rather splash out US$19.95 and get Puran Defrag 6. It's effective, simple to use, and has all the options you need. 2,428,928 bytes. While PerfectDisk may have won all the awards, and I haven't tested all the defrag programs yet, PuranDefrag is installed on my laptop and Penny's, and it is doing a great job. It is set up to do a boot-time defrag every Sunday morning, and it does a simple file defrag every 6 hours when the machine is in use, should this be required. Reason*: Set up the automatic defrag and let the user get on with more important things.
*I have supplied reasons why these products are newbie-safe. There are plenty of power utilities for power users, but I wouldn't install these on machines where the user barely knows how to use Word or a browser. There is such a thing as feature-overload ;-) and "No User Intervention Required" is always helpful.
Do you need to defrag large hard drives? This was a question posed in "Security Now!" to Steve Gibson, the author of Spinrite and an expert on hard drives and data recovery. Here is the transcript: Leo: Last question, from Pierre in Canada. Pierre wonders about the wisdom of defragging today's huge hard drives: Hi, Steve. This week a colleague told me about an article I then read on the Internet and asked me what I thought about it. I wasn't sure what to answer him because the article seems to make so much sense. So I thought, hmm, who would know better than the maker of SpinRite? What we're wondering is, according to this article, with hard drives getting bigger and bigger, defragging could have more negative impact on the drive than positive impact. The two arguments are that, first of all, with a drive of, say, 500 gigs or a terabyte, the time it takes is getting so long, that's a lot of work on a drive for a very long period of time. The stress could reduce the lifetime of the drive. Secondly, hard drive transfer rates are getting so fast that the gain is not significant. Why bother to defrag a drive if you don't need to? So what do you think about this? Good job with SpinRite. I'm a programmer working in an IT department. We use SpinRite every day. Wow.
Steve: Well, that's an interesting question. One of the things that we learned with SpinRite 6, when I first incorporated real-time S.M.A.R.T. monitoring, where SpinRite is periodically polling the drive's S.M.A.R.T. data, one of the things SpinRite shows and watches is drive temperature. And we learned that a lot of drives, especially laptop drives, easily get overheated. Many people have had SpinRite stop, as it will, and warn them that their laptop drive is now at the manufacturer's upper limit of temperature. And sometimes this even happens with people who have desktop machines. Sometimes desktop machines that were designed for an earlier generation, smaller, and less power-hungry drive, people will add a drive to the existing enclosure or replace a smaller drive with a bigger one, which may draw more power and generate more heat. So the ventilation, which was adequate for the cooler drive, isn't for the hotter, more power-hungry drive. We've seen that a lot. So the only real downside I can see is you really want to make sure that your drive is not overheating. Unfortunately it's not easy to tell that. I mean, SpinRite has it built in, but defragging programs don't. The other thing is, I would, if the question is I'm worried that defragging the drive might cause it to fail, then my reaction is, whoa, you absolutely want to solve that problem first. That is, one way or another you want to be in a situation where a drive failing cannot really hurt you badly. Which means you either backup enough; or you've got a RAID configuration so you've got some redundancy, so if a drive dies you're able to survive that. Because, believe me, I mean, I'm in the business. Drives do die. SpinRite can fix a lot of them; but, you know, sometimes when the heads fall off or they seize up or they burn out or something happens mechanically, there's nothing any software could possibly do. So...
Leo: Do you think you need to defrag drives these days? Is the speed sufficient that it's not worth it?
Steve: Well, it's interesting, the...
Leo: [Indiscernible] time is always going to be an issue; isn't it?
Steve: The transfer rates have gone up, but the hunger for data, I think, has gone up just as fast, if not faster, than the transfer rates. I mean, our systems don't feel particularly faster than they used to. I mean, when Windows 7 boots up in less agonizingly long time than Vista, it's like, wow, that's faster. But we used to turn our machines on, and they were booted by the time the CRTs warmed up. Those days are long gone. So my sense is that drives are faster, but everything is bigger. And so the bigness is completely offsetting the increase in data transfer rate. I still defrag.
Leo: You do. How often?
Steve: I don't do it fanatically. I saw that my defragger was running, that is, the services, I've got two services that run with the third-party defragger that I'm using. And I thought, oh, that's dumb, and I went and manually turned them off. But it reminded me that I hadn't defragged in a long time. My routine is, when I'm - I'm running a RAID, so I've got redundancy all the time. But every so often I want to take a snapshot. So what I'll do is I'll just go through a housecleaning. I will empty caches. I'll look at the size of my - I'll sort by file sizes, get rid of a bunch of junk that I've just sort of accumulated through daily operation, so sort of trim the system down to a minimum working set size. Then I defrag it. Then I make an image of it. And so that's sort of just an afternoon, or maybe a couple hours of when the mood hits me I decide, okay, it's time to do a little maintenance. I get rid of everything I can first, then I defrag it, then I make an image, and then I feel good.
Leo: Good. I'm glad you feel good. I've been for a long time kind of one of those guys who says defragging is voodoo; or, not voodoo, but it's overrated. Do it every few months, that's all you need to do. And...
Steve: It also has the advantage that it's a little bit of a poor man's SpinRite because...
Leo: Right, it does check it, doesn't it, yeah.
Steve: It does make the drive go and move stuff around. And moving stuff around, it makes it read it. And if the drive discovers sectors that are beginning to be problematical, the drive can relocate those to better physical sectors. So it's not just logically moving it, it's actually physically retiring sectors that are bad. You don't get any guarantees that it hasn't missed spots, which is where SpinRite comes in because it does a whole drive read, essentially, and re-verification. But it has a beneficial effect, I think, that is probably greater than its deleterious effect, so long as you're not overheating.