Glossary of Hard Disk Drive Terminology (Letter C)

Cable Select (CSEL)
An alternative option which can be used in place of setting Master/Slave jumpers in the designation of drives in a dual drive configuration. Master/Slave designation is based on the position of the drives relative to the cable. Special cabling is required by the system manufacturer to selectively ground the CSEL signal on one of the IDE cable connectors. For example, when one of the drives is connected to the grounded CSEL conductor, it configures itself as the Master. When the second drive is connected to the other connector, on which CSEL is not grounded, it becomes the slave. This eliminates the need for unique jumpering configurations between the Master and Slave drives.

Cache
High-speed RAM used as a buffer between the CPU and a hard drive. The cache retains recently accessed information to speed up subsequent accesses to the same data. When data is read from or written to disk, a copy is saved in the cache, along with the associated disk address. The cache monitors the addresses of subsequent read operations to see if the required data is already in the cache. If it is, the drive returns the data immediately. If it is not in the cache, then it is fetched from the disk and saved in the cache.

Capacity
The amount of information, measured in bytes, that can be stored on a hard drive. Also known as storage capacity.

Channel
A connection or socket on the motherboard or controller card. A motherboard may have one or two channels (primary and secondary). If your motherboard has only one channel, you may need to add a controller card to create a secondary channel.

Channel Assembly
In the computer industry, the final assembly of a system by a distributor or reseller from kits provided by the manufacturer and from components shipped directly to the assembler by subsystem makers.

Clean Room
An environmentally controlled, dust-free, assembly or repair facility in which hard drives are assembled or opened for internal servicing.

Cluster
A cluster is defined as an allocation unit. At least one cluster is allocated to each file, regardless of the file’s size, that is stored in the DOS environment. The cluster size increases with the partition size determined during formatting. With a 1024 MB partition, the cluster size is 32 KB. Each file stored consumes 32 KB of storage space, no matter how small the file. Create multiple, smaller partitions to avoid wasting space on small files. (This definition applies to FAT16).

CMOS Setup
A program supplied in most systems that allows you to configure internal and external devices.

Command Aging
A SCSI feature that prevents the command reordering algorithm from keeping I/O processes waiting in the command queue for extended periods of time.

Command Queuing
A feature that enables the drive to receive I/O processes from one or more initiators and execute them in an optimum sequence.

Command Reordering
A feature that allows the drive to reorder I/O processes in the command queue, which results in minimizing the seek time and rotational latency and thus increases throughput.

Controller
See disk controller, interface controller, and disk drive controller.

Controller Card
An adapter with the control electronics for one or more hard drives. Usually installed in a bus slot in the computer.

Correctable Error
An error that the drive can correct by using Error Detection and Correction schemes.

Customer Configuration Code (CCC)
A firmware revision tracking code that defines a major product change. This number increments as form, fit or function changes are implemented. The CCC code guarantees that the correct revision of drive product is provided to the customer.

Cyclic Redundancy Check (CRC)
Data stored or transmitted with data to detect corruption. By calculating the CRC data and comparing it to the original data sent, the receiver can detect some types of transmission errors.

Cylinder
The cylindrical surface formed by identical track numbers on vertically stacked disks.

Cylinder, Head, Sector (CHS) Addressing
A method of referencing the sectors on a drive as a collection of unique cylinder, head and sector addresses. Each block on the drive will have a unique cylinder, head and sector address.

Read More

Students how to protect against laptop data disasters?

Many students will be packing laptop computers in addition to the usual school supplies. It’s clear that laptop computers are quickly becoming a vital part of the scholastic experience, however with more laptops in use comes more danger for data loss.

Laptop computers are an excellent way for today’s students to manage their workload, but protecting the data on those computers isn’t as simple as securing a notebook in a locker. Students need to be careful with their laptops to avoid both physical damage and other problems that could affect the integrity of their data. If problems do occur, it’s also important they know that data recovery is always an option.

To help students protect against laptop data disasters, there are some tips:

Laptops are not as rugged as many like to think. When laptops are being docked, moved or transported, the greatest of care should be taken to prevent unnecessary shock or impact. Set up your computer in a dry, cool, controlled environment that is clean and dust-free. Placing your computer in a low-traffic area will protect your system and storage media from harmful jarring or bumping.

Use a sturdy, well padded laptop bag – Using just a back-pack or brief-case may not provide the protection a laptop needs during transportation. Make sure your laptop has plenty of built-in padding for protection.

Backup your data regularly – Creating regular backups is one of the most effective ways to protect you from losing data. Back up data at least once a week on a reliable medium (CD, DVD, USB flash drives or Internet backup), always verifying that the correct data is backed up.

Run a virus scan and update it regularly – Computer viruses are one of the worst enemies to your computer. Good anti-virus software tests your system for sequences of code unique to each known computer virus and eliminates the infecting invader. Also beware of spyware, a common problem brought about by Web surfing and downloads that can cause complications with your computer’s efficiency. There are several programs available on the internet that can assist with the removal of most spyware programs.

Be aware of strange noises – If you hear a strange noise or grinding sound, turn off your computer immediately and call an expert. Further operation may damage your hard drive beyond repair.

Do not use file recovery software if you suspect an electrical or mechanical failure – Using file recovery software on a faulty hard drive may destroy what was otherwise recoverable data or worsen the physical failure.

Use Auto-Save features – Most software applications have Auto-Save features that will save the project or document you have open at a preset intervals. For laptop users, a good time interval to use is every 5 minutes.

Be battery-level aware – If you are going to be using the laptop for long hours, be sure to try and find an electrical outlet to plug into. Some laptops will shut down quickly when a specific low battery level is reached and important documents may be lost.

Read More

Flash Data Recovery

Flash disks have become ubiquitous media for everything from computer data, mp3 players and digital cameras. It has replaced the floppy disk as means to carry data around. Flash disks are solid-state devices and, therefore, have no moving parts. Plugging it into the USB drive, the flash drive is automatically recognized by the computer without any need of installing additional software. With expected lifetime measured in hundreds of thousands of write-erase cycles, flash drives are expected to last up to 10 years. That’s more than twice that of a hard disk.

Flash disk portability however leads to a higher probability of damage due to environmental factors. Aside from the regular causes of drive failure, flash drives could get wet in the rain, the casing could shatter when it is accidentally dropped, or it could be damaged while inside the camera.

The difference in data storage between a flash drive and a regular hard drive or a floppy is due to the data residing on a chip. This allows for a truly random access across the whole media. In fact, the disk access algorithm makes sure that the data is spread evenly among data sectors with the use of “wear leveling algorithm.” The flash disk has a finite number of write/erase cycles. If it were to keep on writing to a particular sector, that sector would literally wear out from use much earlier than the other sectors. The wear leveling algorithm ensures that the sectors wear out evenly. And also because of the wear leveling algorithm, when a data sector wears out, the rest of the disk is sure to quickly follow.

In some instances, the camera cannot distinguish between the file system on the flash disk and force a format. Early flash disks used FAT12 or FAT16. FAT32 is used by current generation large capacity flash disks. If the digital camera fails to detect the flash drive’s capacity it might wrap around data while writing the photo and over-write system areas.

There are times the flash disk could not be read by the computer. Though attributed to the computer, this is an error caused by the camera or MP3 player OS. Unplugging the drive while it’s writing data may also cause a corrupted flash drive.

Flash data recovery in most ways is like recovery from any other media using FAT. The only difference is the location of the media files. The data can be recovered by using data recovery tools capable of reading FAT. Typically for cameras, the file structure is fixed. The camera’s limited operating system will write to a specific folder on the directory. The same goes with MP3 players. The mp3 files have to be located in a specific directory for the mp3 player to locate and play them. Some specialized tools look for the specific folder where the media files should be.

Treating all the data on the disks as data files, disk recovery programs or other utilities are capable of correcting any errors. The Windows CHKDSK utility treats the disk like any other drive.

In case of lost data, flash data recovery is just like recovering data from any other medium but, again, with slight differences. Because the data is stored differently, there are more tools available for flash data recovery. Available tools and utilities include flash data recovery specializing in picture files or mp3 music files. Other specialized utilities which can be used for flash data recovery are those which specifically recover data from FAT drives. In case the pictures were accidentally erased from the camera, these utilities are also able to recover them and recover the picture.

In some cases, data recovery can be even simpler. A flash disk recovered from a lake or which got wet from the rain may still be usable after making sure that the circuitry is completely dry. And a flash disk with a broken case might even be usable. In both instances, it would be good to test first by plugging it in. If the drive is still readable, just copy the files before deciding what to do with the flash drive.

Flash drives’ typical failures:

When we are coming to the topic of flash data recovery, it’s very necessary for us to have a general view of the typical failures of flash drives such as the SD, CF, SM ,MMC, XD, USB Pendrive, MemoryStick, etc.

It’s believed 90% of flash drives’ failures are due to corruption in the lookup tables which convert logical addresses (what your computer sees) to physical addresses (what the controller sees). Other failures are usually caused by controller failures, power surges, and worn or broken solder joints.

NAND memory has many quarks.
* Each block is only good for a finite number of writes after which bit errors occur, for example the word “flash” may become “slash”.
* Data can be read in pages (2K bytes) but must be written in blocks (128K bytes).
* Before a write can occur the block must be erased, if power is lost before a write completes the sector remains erased.

Lookup tables

Lookup table is an array or matrix of data that contains items that are searched. Lookup tables may be arranged as key-value pairs, where the keys are the data items being searched (looked up) and the values are either the actual data or pointers to where the data are located. Sometimes, lookup tables contain only data items (just values, not key-value pairs).

Each word (two bytes) contains the block number which holds that sectors data. For example 0×001A is the block number for sector 0, 0×0419 is the block number for sector 1, etc. If the block numbers are incorrect the controller won’t know where the actual data is stored. In this example some of the block numbers are incorrect because of bit errors caused by an aging NAND chip. Some controllers may automatically detect the error and prevent further writes. In this case the user may get an error message asking them to format the drive.
damaged-translation-table
In this example the flash drive was unplugged before a write operation on the lookup table completed leaving the table filled with 0xFFFF from the erase cycle. The user may be prompted to insert removable media, the drive may be displayed as 0MB in size, if the drive is listed it may be shown as an unknown device.

As NAND memory ages bits inside a block can become stuck, newer high density MLC chips are plagued by this problem. To combat this controller manufactures use ECC (Error Correcting Code) to fix a limited number of bit errors. Once the number of correctable bits per sector is exceeded flash drives may act strangely for example frequent file system corruption may occur or the drive will stop working. In these cases I’ll often see color shift in pictures, half the image will be normal and the other half will be a different tint. This is because part of the image was stored in a good block while the other part was in a bad block with sticky bits.

Weak Solder Joints

Wear and tear on the drive can cause solder joints on the NAND memory chip or controller to weaken. If the drive is recognized the total capacity will only be a few megabytes. If you connect the drive while applying LIGHT PRESSURE to the controller and NAND memory you may be able to retrieve the data. Remember, weak solder joints account for LESS THAN 10% of failures. DON’T APPLY MORE PRESSURE if this doesn’t work, you may damage the NAND memory chip if you press too hard.

Hacked USB Flash Drives

Some unbranded or counterfeit flash drives are hacked to display the wrong drive size using the manufactures mass production tool and then sold as larger capacity drives. For example a flash drive with a 4GB NAND chip will report itself as 8GB drive. These drives often work until the user starts to fill the drive with data after which it becomes unreadable. These fake flash drives are usually sourced from china and sold on eBay. If your data is NOT important you can download the mass production tool for the drives controller and reformat the drive using the correct capacity.
Broken USB Connector

If the USB connector was broken off the USB Flash drive you can recover the data by repairing the trace using a conductive pen.

1. Use a set of tweezers to place whats left of the trace on its original path
2. Expose the copper at the end of the broken trace by scraping off the sealant with an XACTO knife
3. Use a conductive solder pen (available online or at radio shack) and carefully recreate the broken trace.
4. Let the paste dry, then use a needle or XACTO knife to scrape off any excess.
5. Make sure the trace is repaired by doing a continuity test with a multi-meter from the pad to the end of the trace.
6. Quickly solder the old USB connector back on the board. The paste left by the pen won’t hold up to heat for very long, don’t spend too much time trying to make the joint perfect.
7. CAREFULLY connect the flash drive to your computer, the connection is VERY weak and easily broken. I recommend connecting the drive to a USB extension cable for easier insertion.

Bad Surface Mounts

Leaving a flash drive plugged constantly in may cause premature failure of the surface mounts which regulate voltage to the flash drive’s components. Often the resistance or capacitance values of a surface mount will fall out of spec and not produce the correct voltage. This often represents itself as a dead flash drive (no led, not acknowledge by the computer) or overheating.

As for flash data Recovery,  the NAND memory chip must be removed and read with an external reader, then the lookup table is reconstructed to retrieve your data.

As for flash data recovery tools, there are not many good ones to recommend, so far ACE flash data recovery tool and the coming flash doctor can be worth a try. There are many data recovery providers who have their own tools for this kind of recovery, but according to customers, the result is not ideal!

Read More

2060-701640-002 WD PCB Circuit Board

HDD Printed circuit board (PCB) with board number 2060-701640-002 is usually used on these Western Digital hard disk drives: WD3200AAKS-00V1A0, DCM HBRCHTJMAN, Western Digital 320GB SATA 3.5 Hard Drive; WD3200AAJS-00YZCA0, DCM NGRNNTJAHB, Western Digital 320GB SATA 3.5 Hard Drive; WD10EALS-00Z8A0, DCM HANNHTJABB, Western Digital 1TB SATA 3.5 Hard Drive; WD5000AADS-11M2B1, DCM HGRNNT2MGB, Western Digital 500GB…

Read More