- further information: Media Center Troubleshooting Guide
There are a few different types of disk-access problems that can cause trouble in Media Center. I'll address Filesystem Corruption, Disk Permissions Issues, and OS Corruption here. If you are having lots of otherwise-unexplained trouble, this is absolutely worth checking.
There are additional important details covered in the First Steps of the general Troubleshooting Guide under Disks and Locations.
If the hard drive you are running MC from (typically the system drive), the drive that contains the Library, or the drive(s) that contain the media files contain filesystem errors, then you could be subject to a whole host of hard-to-explain trouble. This is particularly common with "older" filesystem such as FAT32 and HFS+, but can apply to any volume, particularly if you've had sudden power outages or anything like that where the computer was unable to shut down cleanly.
- Windows: Here's a decent guide on the How-To Geek website.
- OSX: Here's Apple's guide for their version of the same.
- Linux: Here's a decent general-purpose guide to fsck for unix-based OSes (including OSX).
Disk Errors or Failure
If your disk is actually physically failing, it can (obviously) cause trouble in a variety of ways. The first thing to do is to check the disk using the built-in tools referenced above. If you see repeated trouble, or increasing "reallocated sectors" counts in the log reports the tools generate, this can be a sign of a more serious problem with your disk hardware.
If you suspect this, before you do anything else, backup the data on the drive. Even trying to repair a troubled disk can cause it to fail completely. Step one is always back it up!
Testing for disk failure can often be done with a special tool provided by the manufacturer of your particular disk. Here are a few of the common manufacturers:
- Western Digital's Data Lifeguard Diagnostics: http://support.wd.com/product/download.asp?groupid=810&sid=3&lang=en
- Seagate's SeaTools: http://www.seagate.com/support/downloads/seatools/
- Samsung's SSD Magician: http://www.samsung.com/us/support/downloads
- Intel's SSD Toolbox: https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=18455
- HGST Drive Fitness Test: http://www.hgst.com/support/downloads
Some, but not all, manufacturers have utilities for Mac OSX as well. There are also some general-purpose tools that you can use to test your disks. These often can't diagnose with as much specificity as the official tester from the vendor, but they can often do more detailed performance testing, and can be very useful.
For Mac OSX, there is also a non-free, but fantastic disk utility that can often repair disk errors that the built-in utility cannot, called DiskWarrior. It is expensive, but if you have data that needs to be saved on a broken disk, it can be a lifesaver.
SSDs are fantastic new types of storage for computers, and they can provide immense performance benefits. Unfortunately, because they are new, and their controllers are new, they often require firmware updates for stability. Check with the vendor of your SSD and ensure you have the latest firmware for your particular drive. Many manufacturers provide an "all in one" tool that does diagnosis and can update firmware (such as Intel's SSD Toolbox or Samsung's Magician, referenced above).
Sometimes, a disk issue that seems to be hardware actually turns out to be just the cable used to attach the disk. This is a simple fix, but aggravating problem to diagnose. If you are having disk trouble, just for good measure, replace the cable you're using to connect the disk. Rule that out. If it works, it is almost always the cheapest and easiest solution, and if it fails, then you lost nothing save the cost of the new cable (assuming you don't have an extra already).
- Parallel and Serial ATA cables (SATA, IDE, or PATA) for internal drives
- USB/Firewire/eSATA/Thunderbolt cables for external drives
- Network cables for network-attached devices (be sure to replace both the one from your computer to the switch, and the one from the switch to the network storage machine).
If you need new cables, a great place to buy them in the US is from Monoprice: http://www.monoprice.com/
Hardware failures, even transient ones, and malware infections (even cleaned ones) can sometimes leave disk corruption in their wake. This is particularly bad when the corruption "infects" the core OS files on the system disk. Windows provides a handy utility for checking and verifying the essential system files on disk, called the System File Checker.
Here's a handy guide for how to use this tool from the good folks over at sevenforums.com: http://www.sevenforums.com/tutorials/1538-sfc-scannow-command-system-file-checker.html
There's no similar, simple analog to the Windows System File Checker utility for Mac OSX (which is too bad, as HFS+ is a bag of hurt), but one thing that can sometimes help is reinstalling the most recent "combo update" for your Operating System. Here are links to a few of the recent ones:
- OSX 10.6.8 (Snow Leopard): http://support.apple.com/kb/dl1399
- OSX 10.7.5 (Lion): http://support.apple.com/kb/dl1582
- OSX 10.8.5 (Mountain Lion): http://support.apple.com/kb/dl1676
- OSX 10.9.1 (Mavericks): http://support.apple.com/kb/dl1715
Filesystem Permissions Errors
MC runs "as" the currently logged in user, which means if the media files, or especially the Library files, are "owned" by another user, you may experience problems with playback and performance. This section could get quite long if I provided a step-by-step guide for all operating systems, but I'll try to provide some relevant links.
- Windows: http://blogs.msdn.com/b/astebner/archive/2005/08/20/453428.aspx
- OSX: and http://support.apple.com/kb/ph5821 http://support.apple.com/kb/ht1452 and http://support.apple.com/kb/ph5821
- Linux: http://www.penguintutor.com/linux/file-permissions-reference
Malware infection can, of course, cause a wide variety of performance issues and crashes. Scan your entire computer with a good Anti-Virus application manually. If you don't have a good one, Microsoft now supplies Windows Defender (previously called Microsoft Security Essentials) for free.
Unfortunately, Anti-Virus applications do not find all problems. There is another "class" of malware infection that they won't fight or remove at all, known as Spyware or Adware. These kinds of useless applications are often included with "free" applications, and they provide advertising revenue for the developers. You must be very careful when installing software from vendors that use this business model to avoid installing extra junk that you don't need. Also be sure to keep your computer and browser updated with the latest OS updates, Adobe Flash Player, Adobe Acrobat Reader, and Oracle's Java. Malware also is commonly installed by viruses, once you become infected.
Once you've already become infected with any kind of active virus, spyware, or other kinds of malware, it can be very difficult to get it cleaned up properly. Here are some tools and resources that might help:
- MalwareBytes: http://www.malwarebytes.org/
- BleepingComputer: http://www.bleepingcomputer.com/
- Safer-Networking: http://www.safer-networking.org/
In some cases, however, the safest and most effective course of action is to wipe your computer's disk (after backing your data files and installation archives up) and start over.
Check for Driver Updates
Disk problems can also be caused by driver issues. If the media itself seems to check out okay, the issue could be with the driver for the way in which your computer is connected to the storage volume. Please refer to the Troubleshooting Drivers guide for further information.
Pay particular attention to drivers such as:
- Network Interface drivers (especially for network disk related issues)
- SATA or RAID Drivers (for trouble with internally connected SATA disks, or disks connected to a RAID card).
- USB and FireWire drivers for older operating systems
- Drivers for Thunderbolt connected devices and other external multi-volume drives.