Raid Data Recovery Tips

Raid Data Recovery A large number of users had been made into believing that RAID should not fail, as a result of over emphasis of RAID’s fault tolerance functions or auto rebuilt functions. As a result, up to date backups are seldom performed when the data disaster nightmare unfolds.

RAID may be implemented by hardware or software -based method, differentiated by the presence or absence of a RAID controller, Basically, a number of independent hard disks are connected to form a single and often larger virtual volume. Depending on the RAID configuration, there may be an increase in simultaneous reading and writing of drives along with the fault tolerance feature.

Popular RAID manufacturers such as Mylex, Adaptec, Compaq, HP, IBM etc. promotes the idea of extended data availability and protection when a failed hard disk was detected. In a typical RAID 5 configuration, without even power off, the RAID controller could rebuild the data volume from a hot standby drive or a replacement drive through hot swap. The only time it will fail is when two disks failed simultaneously but such probability is one in a million! As a result, one may tend to believe that RAID can not fail.

The reality: RAID fails

In reality and to the surprise of most, RAID could fail and often fail. See some typical scenario below :

When one hard disk fails, very often, there is no hot standby. As a result, the raid array is running on degraded mode. While waiting for the replacement drive which may take a day or two, the likelihood of next drive failure disabling the raid volume is very high. It is reasonable to assume that all the drives in the array are from the same batch and subject to equal amount of working stress. So if one disk fails, the other is also near imminent failure and it often does.

Most raid server has a single controller. Its failure will result in catastrophic single point of failure.

Frequently, due to power surge, the controller or a number of disk elements could fail resulting in total loss of data. It is also found that a power surge may corrupt the RAID configuration setting of NVRAM in the controller card.

It is also commonly found that while replacing a faulty drive in an attempt to rebuild the raid volume to healthy state, wrong procedures are performed resulting in wrong or partial rebuild, or complete system breakdown upon completion of rebuild.

Not to forget that a RAID configuration with fault tolerance at best only intends to protect the physical failure, but not logical corruption such as system corruption, virus infection, or inadvertent deletion.

Types Of RAID failures

To summarize, RAID server often fails as a result of the following situations and frequently, a combination of them :

  • Malfunctioned Controller
  • Raid rebuild error or volume reconstruction problem
  • Missing RAID partition
  • Multiple disk failure in off-line state resulting in loss of RAID volume
  • Wrong replacement of good disk element belonging to a working raid volume
  • Power Surge
  • Data Deletion or reformat
  • Virus Attack
  • Loss of RAID configuration settings or system registry
  • Inadvertent reconfiguration of RAID volume
  • Loss of RAID disk access after system or application upgrade

RAID Pricing

In general, pricing of raid recovery starts from $1500 onwards and will be more as the situations get more complex.

RAID Recovery Process

Though raid disk arrays offer more redundancy, capacity and performance over standard disk systems, once failed, they are often complex and more difficult to recover.

Normally, we only require the hard disks making up the raid volume in order to recover the lost data.

The process begins by looking at the kinds of failure occurred in a RAID volume. If the RAID server failure is due to multiple failed disks, effort will be spent in getting the failed disks backed to ready state.

The disk image or the low level binary contents of each disk are then copied out. Next, analysis is performed on the disk images. A process of de-stripping will be carried out on each of the extracted disk image upon confirming the RAID types, correct orientation of disk elements forming the RAID volume, the raid strip block size, the associated parity location etc. Different manufacturers may have slightly different RAID settings so additional fine tunings may be needed. Very often, file system repair must also be performed before the data location could be mapped out correctly.

Once the data layout pattern making the RAID logical volume has been identified and confirmed, the critical data will then be uplifted into other disk media. The data integrity is then evaluated to ensure that the data is of acceptable quality before a file list is finally produced for customer review.

Raid Data Recovery Software: Getway Raid Recovery V2.1

Getway Raid Recovery is the professional Raid Data Recovery Software which can extract data from multiple Hard disks in a RAID system, and rebuild the correct data. It can get data back from various types of arrays, including RAID 0, RAID 5, RAID 5E, RAID 5EE and RAID 6.

Read More

Fundamentals of searching for malfunctions

The description above should demonstrate that a HDD is a sophisticated software and hardware device combining electronic and mechanical parts and utilizing the most recent achievements of microelectronics, micromechanics, automatic control theory, magnetic recording theory, and coding theory. HDD repair is impossible without specialized knowledge, special equipment, instruments and tools, and without a specifically equipped location (clean room). However, an expert in computer hardware can perform primary diagnostics of HDD and repair simple failures, perform operations over BAD sectors using software offered by HDD manufacturers.

In the absence of special diagnostic equipment and software HDD diagnostics should begin with connection to an individual PC power supply unit. Operator’s hearing is the diagnostic tool in that case. At power-up a HDD spins up the spindle motor, sound level increases for 4 – 7 sec., then a click follows (heads are moved from the parking zone) and very specific recalibration crackling noise that lasts 1-2 sec. It is easy to get used to such drive behaviour by connecting a known good HDD to a power supply unit.

Recalibration procedure performed by a drive demonstrates at least operability of the reset circuit, its clock, microcontroller, spindle motor control circuit and positioning system, data conversion channel, normal status of magnetic heads (at least one of them, the one used for the initialization process) and drive firmware data.

For further diagnostics a HDD has to be connected to the Secondary IDE port and automatically detected in BIOS through the SetUp procedure. If the model of the HDD being checked is recognized, the operating system loads and computer starts diagnostic software. OS can be started from a working HDD connected to Primary IDE port or from a floppy disk. The easiest diagnostics would be an attempt to create a partition on the drive being checked using FDISK procedure and subsequent formatting procedure with Format d:/u command. Formatting in DOS or Windows OS does not accomplish the actual “formatting”, instead the OS performs surface verification, creating in the end a file system structure selected for the partition. If formatting (verification) reveals any defects, they will be displayed on-screen as BAD sectors. Of course, such diagnostics is primitive and aimed rather towards checking HDD operability than discovery of malfunction causes or, moreover, their elimination. More detailed diagnostics can be performed using utilities recommended by manufacturers and available from their web pages.

Thus, for Fujitsu drives we can recommend a whole section devoted to diagnostic software:

http://www.fel.fujitsu.com/home/drivers.asp?L=en&CID=1

For Western Digital drives:

http://support.wdc.com/ru/download/

For Samsung drives:

http://www.samsung.com/Products/HardDiskDrive/utilities/index.htm

For Seagate drives:

http://www.seagate.com/support/software/

For Maxtor drives:

http://www.maxtor.com/en/support/downloads/powermax.htm

For IBM drives offered under a new HGST brand:

http://www.hgst.com/hdd/support/download.htm

All the above utilities perform testing in regular user mode and do not switch drives to factory mode; therefore their features are rather limited. Specialized diagnostic utilities are not offered for free; instead they are distributed to special service centers and dealers of drive manufacturers.

Let us show an example of searching for malfunction in the spindle motor control circuit of a Caviar HDD manufactured by Western Digital.

The layout scheme below is used in WDAC32500 and WDAC33100 drive families and takes into account all ratings and serial numbers of components, but it is also applicable for repair of WDAC2340, WDAC2420, WDAC2540, WDAC2700, WDAC2850, WDAC33100, WDAC31200, WDAC21200, and WDAC31600 drive families if you ignore serial numbers of components and assume that some ratings differ from the values shown in the layout scheme (Figure 5).

If at HDD power-up its spindle motor does not start you should first make sure that the HDA is operational by connecting it to a known good PCB. If there is no such opportunity you should check the resistance of coils (phases) of the spindle motor, it should correspond to ~ 2 Ohm relatively to middle output; then continue to look for the malfunction on the PCB. (Inability to start a spindle motor frequently results from sticking of magnetic heads to disks).

In order to check a PCB for failed components, you should remove it from the HDA, connect to an external power supply and position it on the worktable with electronic components facing up. Further operations will require an oscilloscope with sweep frequency up to 50 MHz.

First of all, you should switch on power and check the feed +5 V and +12V voltages at outputs from the U3 and U6 chips (see layout scheme), check excitation of quartz resonator at outputs 24 and 33 from U6 chip. Then check for presence of clock pulses supplied to the U9 control microprocessor and U11 reading channel to 57 and 13 outputs respectively. After that make sure that there is no RESET signal (active level О). If all the requirements are met then the control microprocessor will start and perform the initialization procedure programming all chips connected to the internal data bus. You can check microprocessor operability indirectly judging by the presence of control pulses: ALE, RD#, WR#, data bus pulses, etc.

To check the spindle motor control circuit you should trigger 10 ms/div oscilloscope sweep with 2V/div amplification (it is advisable to use 1:10 multiplier). After power-up check for presence of motor start pulses with 11 – 12 V amplitude for three phases (connections J14, J13, J12). The control circuit will try to start the motor for 1 – 2 min., then it will discontinue the attempts. After that you should switch power off/on or send a RESET command by short-circuit of lines 1 and 2 in IDE interface connector using tweezers. If voltage is lower than 10 V for any phase, then U3 chip is malfunctioning. As a result of such failure the spindle motor most likely spins up but remains unable to gain rated rotational speed and, consequently, magnetic heads cannot be shifted from the parking zone. Rotational speed of spindle motor can be controlled using the INDEX pulses at the Е35 control point (if a PCB is connected to the HDA). The frequency of INDEX pulses is ~12 ms, width of INDEX pulses is – 140 nanoseconds. U3 chip is controlled by the U6 synchronization controller chip and the SPINDLE START signal of the spindle motor. For motor start SPINDLE START = 1, for motor stop it is = 0.

Phase distribution is controlled by the U6 chip through its Fc1 – Fc6 outputs; it uses TTL range of control signals. Feedback of rotational speed is accomplished through the 32Р4910А U11 reading channel chip using the SERVO READ DATA line. In its turn, the U6 synchronization controller chip generates the signal for servo field search (SERVO GATE) for U11 chip.

Servo signals and numbers of control points are indicated in the figure 6 and 7. The signals can be viewed more conveniently using oscilloscope with 100 MHz or greater sweep range since INDEX pulses and servo marker last for about ~140 nanoseconds (it is also advisable to use 1:10 multiplier). Monitoring should be performed using two sources, synchronizing the oscilloscope by INDEX or by servo marker. It may be interesting to watch not only servo signals at the Е37 control point but also data reading signals in general at the Е13 and Е7 control points, where one can see all synchronization fields, sectors, etc. (See figure 8).

 

Details on functioning of control microprocessor, data reading channel and spindle motor control chip are available at web sites of Intel, Silicon Systems Incorporation and SGS-Thomson respectively: www.intel.com and www.st.com.

Read More

Freeware Partition Manager

The partition table tools listed below allow you to create, resize, move, concatenate, copy, undelete (unerase) the partitions on your hard disk.

1. Gnome Partition Editor
GParted is a well-known Linux application that allows you to create, delete, resize (some partition types), move (some partition types), copy and check partitions on your hard disk. This version of GParted comes in the form of an ISO for a CD, which you can burn to your CD to create a bootable CD from which you can modify your hard disk partitions. GParted supports the following partition types to varying degrees: ext2, ext3, FAT16, FAT32, NTFS, HFS, HFS+, JFS, linux swap, ReiserFS, Reiser4, and XFS.

2. Partition Logic
Current version: 0.7
Partition Logic is a free hard disk partitioning and data management tool.  It can create, delete, format, defragment, resize, and move partitions and modify their attributes.  It can copy entire hard disks from one to another.

3. SwissKnife
Current version: 3.22
You can create, delete and format partitions on your hard disk drives in one smooth, simple process. While the product has been tested up to 400GB, it should support hard disks of up to 2048GB. SwissKnife allows creation of FAT32 & NTFS partitions. FAT16 option is provided for compatibility. Supports Internal interfaces such as IDE and SCSI and External interfaces such as Hi-Speed USB, Parallel port, PCMCIA, USB On-The-Go, Firewire®, SATA interfaces etc. Creates Fixed and Removable Disk Format types.

4. Ultimate Boot CD
Current version: 4.1.1
Ultimate Boot CD is a bootable CDROM for PCs that contain a variety of software for diagnosing and fixing problems on your computer, managing your hard disk partitions (including creating, resizing, copying, moving, etc), imaging or cloning your hard disk partitions.

5. Ranish Partition Manager
Current version: 2.44
Ranish Partition Manager is a powerful hard disk partitioning tool.It gives users high level of control for running multiple operating systems,such as Linux, Windows 98/XP, FreeDOS, and FreeBSD on a single disk.

Partition Manager can create, copy, and resize primary and extended partitions.It includes command line interface and simulation mode that works with large filesso you can safely experiment before working on the real hard drive partition tables.

6. The Partition Resizer
Current version: 1.3.4
The Partition Resizer resizes and moves your existing partitions for hard disks up to 2 TB (that is, 2 terabytes). It can handle both primary and extended partitions. It is able to move your data (where necessary) so as to make space for (say) an expanded FAT which may be needed if you are increasing the partition table. You can resize (expand or shrink) or move FAT partitions (including FAT32 partitions) and move NTFS partitions (though not resize). The program is a DOS program, and you can put it on a startup disk, reboot to it, and work on your system from there.

7. NTFS Resize
NTFS Resize is a Linux program that non-destructively resizes NTFS partitions (enlarges and shrinks). It supports all NTFS versions, including those created and used by Windows NT, 2000, XP (both 32-bit and 64-bit versions), 2003 and Longhorn.

8. TestDisk
TestDisk is a tool to check and undelete partitions. It essentially searches for lost partitions, and allows you to repair errors in the partition table, create a partition table, create a new MBR, etc. It works with FAT32, FAT16, FAT12, NTFS (Windows NT, If you have accidentally lost (or deleted) a partition, you might want to try TestDisk to see if it can find the partition and recover it. 2000, XP), ext2, ext3, BeFS (used by BeOS), BSD disklabel, CramFS, IBM Multiboot, JFS, Linux swap (versions 1 and 2), NSS (Netware), ReiserFS 3.5 and 3.6, and XFS. The program runs under DOS, Windows 9x/NT/2000/XP/2003, Linux, FreeBSD, and Sun Solaris. It is licensed under the GNU GPL.

9. Extended FDISK
Extended FDISK allows you to create and delete partitions and logical disks on your hard disk. It appears to come with a boot manager (that allows you to choose between multiple operating systems when you boot).

10. EASEUS Partition Master
Current version: 3.0
EASEUS Partition Master Home Edition is a FREE disk partitioning utility that offers a powerful range of functions such as resizing partitions, copying partitions, creating new partitions, deleting partitions, formatting partitions, hiding partitions, changing drive letters, setting active partitions, and a handful of other functions.

it works perfectly with hardware RAID and Windows 2000/XP/Vista (32 bit) Operating Systems. ONLY supports 32 bit Windows systems。

If you wish to create more partitions from the existing one that you already have on your hard disk, these tools will allow you to resize the existing partition to make space for more partitions without losing your data that is currently on your existing partition. They can also assist you in creating, and sometimes also formatting, new partitions. Some of the tools may have the ability to slide your partition, that is move your existing partition from one location on the disk to another location, without losing data, as well as convert a partition from one type to another (for example, converting from NTFS to FAT32 or vice versa). Still others may be able to help you recover partitions that you have already deleted, that is unerase or undelete partitions.

11. Partition Wizard Home Edition
Current version: 1.0
Partition Wizard Home Edition is a free partition manager designed by MT Solution Ltd. It supports 32/64 bit Windows Operating System including Windows XP, Vista and Windows 7. Home users can perform complicated partition operations by using this powerful but free partition manager to manage their hard disk partition such as Resizing partitions, Copying partitions, Create partition, Delete partition, Format partition, Convert partition, Explore partition, Hide partition, Change drive letter, Set active partition and Partition Recovery.Partition Wizard Home Edition is designated for home user only, to use Partition Wizard in a business envirnoment, Partition Wizard Business Edition is required.

Read More