After the oracle database is restored chkdsk, a large number of table files become 0 and the restoration is successful

Case:Customer Windows operating system, the database is Oracle 11G, which is HIS database, stored on a disk array. Due to frequent use of databases, there are many fragments, and the emergency file system is damaged. After CHKDSK, a large number of table files becomes 0. Solution:Engineers comprehensively retrieve the database pages in the file system…

Read More

The basic knowledge about Hard Disk Drive

Firmware files that you can find on a site like this, contain a lot of files. First, there is the ‘loader’ file (*.LDR). This file is the ‘temporary’ firmware code, that’s being uploaded to the RAM (so, it’s not being written to disk). Then, there are a lot of ‘*.RPM’ files. These files represent the different modules, which can be written to the SA. The filenames consist of 8 numbers. The first 4 numbers specify the (hex) UBA and the second 4 numbers represent the hexadecimal module size in sectors (each sector normally contains 512 bytes, so for example, if a filename ends in 0002, then that module is 1024 bytes long). So, in short, after uploading the loader to RAM, the user can start replacing damaged modules by overwriting them with correct ones.BTW, please note that the term ‘firmware’ for the packages on this site is symantically not very well chosen, since these packages contain all needed modules to repair a HDD and not just the firmware (=code) module.
Anyway, if you’re looking for a specific firmware module, you can do 3 things:
1) rip the firmware modules from the SA of an identical HDD
2) get these modules from a friend (or for example, from the files section on this site)
3) use a firmware updater program from the vendor.

About this last option: firmware updates from vendors are pretty rare, since firmware code almost never needs to be replaced. However, Maxtor for example, had some problems with the firmware code on some Diamondmax HDD models. So, they issued a firmware update. This update consists of 2 files:

1) the executable file that issues the ATA ‘download microcode’ command to upload the firmware files to the HDD
2) The firmware code, consisting of the ‘main’ firmware code and ‘overlay’ code modules.

Firmware ‘overlay’ code are specific code functions. Why not just put all firmware code into one section ? Well, since the RAM in the drive is a limited resource, they’ve put some code into ‘overlay files’, so that this specific code can be swapped into RAM when that specific function is needed. When the fuction is not needed, it can be swapped out of ram and some other function can be swapped into it again.

The firmware update files from maxtor (I think the same goes for the other vendors) are not scrambled/encrypted/packed in anyway. In fact, you can find the exact same code in these files also in the ‘*.RPM’ files that PC3K produces for example.

Maxtor distributes their firmware file in a so called “.DMC” file. This DMC file is a package of 4 files, a ‘.Bxx’ file, a ‘.cxx’ file, a ‘.bbr’ file and a ‘.cbr’ file. Like I mentioned, this DMC container is not packed or scrambled in anyway. You can just cut the files out of it. The first 0x150 bytes of this file is the header. This header contains the four filenames, the offsets at which bytes in the package these files can be found, the length of the files and a checksum (not 100% sure about the checksum though). The ‘.bxx’ file is the biggest file and contains the overlay modules. You can find all code overlay modules by looking for ‘MO’ in the file. Right after this 2 byte string, you’ll find the hexadecimal overlay module ID. The ‘.bbr’ file contains the main firmware code. The last 2 files are very small, not sure what they contain, probably some checksums for the firmware and overlay modules.

Like said, the firmware code and overlay modules can also be found in the ‘*.RPM’ files of course, since this represents the firmware code on disk. So, you can look through these RPM files and scan for the ‘MO’ string to find any specific overlay module.

So, in short, if a vendor has released a firmware uploader tool (most vendors have), BUT haven’t released a firmware file for your specific drive type, you could create your firmware, if you have the dumped modules (for example, obtained from this site). You could rip the main code and overlay modules and paste them into an existing DMC package. However, since I don’t know the checksum calculation and the meaning of these .cxx and .cbr files (probably checksums), you’d have to do more research, but in theory, it would be possible to create your own firmware files and flash them with such standard Vendor program to disk, so you wouldn’t need to buy an expensive tool like PC3000 (at least not if your sole goal was to upload a new firmware).

Modern hard disks feature an area that contains information that the CPU on the HDD logic board uses to operate the drive. That area is called the “system area” SA. This area contains for example the drive ‘microcode’ (a.k.a. firmware), HDD Configuration Tables, Defect sector tables, SMART information, Security info (drive passwords etc), Disk ID info (serial nr etc) and more. These categories of information are called ‘modules’. So the SA contains a module for the firmware code, a module for the SMART info etc.The SA is stored on ‘negative cylinders’ of the HDD and therefore is not accessible by normal read commands. However, the area can be accessed with other ATA commands. An example of a (more or less) ‘standard’ ATA command that can access info on the SA is the ‘download microcode’ ATA command, which can be used to update information in the firmware code module. However, most of the commands that can be used to access the SA are vendor specific. Since vendors (obviously) don’t want users to mess around with the SA, these commands are generally not made public. However, these commands can be deduced by, for example, reverse engineering the firmware code itself.
This reverse engineering has been done and led to development of tools that can issue these (vendor specific) ATA commands and can read/write almost all sectors in the SA. One example of such tool is PC3000. A tool like this contains tables per HDD model, containing these vendor specific ATA commands and also tables with sector numbers on which the different modules are stored, also per HDD model. SA Sector numbers are counted in “UBA’s”. For example, one specific HDD might use UBA 4 to store the ‘DISK ID’ module, where another HDD model might use another sector for this module.
So in short, to create a tool that can read/write data in the SA, you need to:

A) know (and understand) the (vendor-) specific ATA commands that can be used to access this area and
B) know on which UBA sector the specific modules are stored.

If a drive has damaged data in the SA, for example in the firmware code module, it might become unusable. To repair these disks, the HDD can be switched to a so called ‘safe mode’, by setting specific jumpers on the drive. If the drive is operating in safe mode, it bypasses its own firmware. Instead, it wants the user to upload firmware to its ram. If the user uploads a correct ‘temporary’ firmware to RAM, it starts executing that firmware. If this uploaded RAM code (the ‘loader’) starts operating, the user can then start to issue ATA commands to the drive to modify the damaged modules.

Of course, you could also create your own flasher program, instead of using the one supplied by the vendor. However, since vendors use specific versions of the ‘download microcode’ ATA command, you’d have to do research into this.

Furthermore, you could create a program that does EVERYTHING that a tool like PC3000 does. However, like pointed out, you’ll need very detailed information on the vendor specific ATA commands and the structure of the SA for that specific drive type and since this info is not made public by anyone, this means a LOT of work. “But hey, the PC3000 tool features a special hardware PCI card!” Yes, but as you’ll understand by now, you can think of that card as nothing more than a copy protection. They could have perfectly created the tool without it, but I guess they would have sold quite some copies less. So you really can’t blame them for it, in fact, I think it’s quite a smart move to stop piracy.

So, in short, if you want to mess around with the SA, you have 2 options: invest a lot of time and energy into learning or simply empty your pockets and buy a tool like PC3000.

Read More

WD Ships Industry’s First 1 TB Mobile Hard Drive

Mobile Hard Drive – New Drives Offer the Highest Capacities to Date For Mobile Storage Applications and Notebooks.

WD announced two new mobile hard drives that reach new capacity extremes. The highlight is a one terabyte model – the industry’s highest-capacity 2.5-inch drive available. Industry-leading 333 GB-per-platter technology enables the new WD Scorpio® Blue™ SATA 2.5-inch hard drives to offer mobile storage device and notebook users an enormous 1 TB capacity. A 750 GB WD Scorpio Blue model also will be available.

The WD Scorpio Blue 750 GB and 1 TB hard drives have a 12.5 mm form factor1 and are ideally suited for use in portable storage solutions, such as the newly released My Passport™ Essential™ SE Portable USB Drives. Other applications include select notebooks and small form factor desktop PCs, where quiet and cool operation are important. Both WD Scorpio Blue drives deliver high-performance with a 3 gigabits per second (Gb/s) transfer rate.

“The convergence of the growing mobile computing and digital media trends produces demand for desktop-like capacities in portable devices, Our new WD Scorpio Blue drives enable people to take even more of their digital collections with them wherever they go and, realizing the value of their data, back up their notebooks on their My Passport drives.” said Jim Morris, senior vice president and general manager of client systems at WD.

WD Scorpio Blue hard drives offer high-performance, low power consumption and cool operation in portable applications. They are designed with WD features to be reliable and shock resistant while also delivering industry-leading capacity and performance.

WD Scorpio Blue Features

WhisperDrive™ – WD’s exclusive WhisperDrive technology combines state-of-the-art seeking algorithms to produce one of the quietest 2.5-inch drives available.

ShockGuard™ – Leading-edge ShockGuard technology combines firmware and hardware advancements to meet the highest combined shock tolerance specifications required for mobile and notebook applications.

SecurePark™ – Parks the recording heads off the disk surface during spin up, spin down and when the drive is off. This ensures the recording head never touches the disk surface, resulting in improved long-term reliability due to less head wear and improved shock tolerance.

Price and Availability

WD Scorpio Blue 750 GB drives (model WD7500KEVT) are available now through select distributors and resellers; the 1 TB capacity (model WD10TEVT) is available now configured into My Passport Essential SE USB drives. The manufacturer’s suggested retail price (MSRP) for the WD Scorpio Blue 1 TB drive is $249.99 USD and for the 750 GB version it is $189.99 USD. WD Scorpio Blue hard drives are covered by a three-year limited warranty.

Read More

CD Optical Storage Glossary of Computer Terms (Letter C)

Cache
Pronounced “cash”. An external or internal reserved portion of a computer’s electronic memory Random-Access Memory (RAM). Frequently used information is stored in the cache so that your computer can get the information more quickly.

CD
The 12cm (4.75 in.) optical read only disc used for digital audio, data, and video storage and retrieval in various computer, audio, and video systems. CDs are produced using a number of processes to store information for optical retrieval. see: WORM, WREN, CD-ROM

CD- DA Track
a track on a compact disc containing audio information encoded according to the CD-Digital Audio specific

CD-I
Compact Disc Interactive. An interactive audio/video/computer system developed by Sony and Phillips for the consumer market.

CD-ROM
Compact Disc Read Only Memory. An adaptation of CD technology for use with general digital data. CD-ROM discs are “pressed” in an injection molding process from a master mould to create the data tract. Then they are coated with a reflective material and sealed.

CD-ROM XA
Compact Disc Read Only Memory Extended Architecture. A format for recording compressed digital audio at lower qualities, allowing capacity increases on a single CD from four to 19 hours.

CD-RTOS
Kernel: the nucleus of CD-RTOS, which is responsible for service request processing, memory management, system initialization, multi-tasking, input/output management and exception and interrupt processing.

CD-RTOS

Compact Disc Real-Time Operating System. the name of the operating system used in CD-I players.

CD-WORM
Compact Disc Write Once Read Many times. A type of CD-ROM disc named for the process used to create data on the disc. CD-WORM Discs perform identically as CD-ROM discs. The difference being a laser is used to “burn” the reflective layer to create the data tract. The cost of ” WORM Burning” is considerably less than glass master production for a single disc.CD-WORM Disks can be used to transport CD-ROM s for mastering and replication.

CD-WREM
Compact Disc Write Read Erase Memory. A data storage system commonly referred to as “Magneto-Optical”. It incorporates laser technology to “Burn” a magnetic layer on the disc, this produces a reflective surface that can then be read. This magnetic layer can be burned many times giving the medium read, write, and write over capability not found in CD- ROM & CD-WREM. This advantage comes only with considerable cost for Drives and Disc Cartridges. As a result this technology has not caught on in the home consumer market. It has great potential for multimedia, pre-press publication, and other digital graphic applications.

chroma keying
facility to replace selected colors in a video image with others that allows the creation of different scenes against the background. Some video boards contain such capabilities.

Chrominance
signals of an image system that represent the color components of the image such as hue and saturation. A black and white image has chrominance value of zero.

Clipart
Stock digital images in various subject matter and format for use in multimedia productions or anywhere graphics are needed. Rights to use, pricing, and quality vary from one manufacturer to another.

Clone
To duplicate a portion of an image to another location. This is a cornerstone to the editing of digital images. This effect is useful in the process of retouching photographs.

CLUT
Color Look-Up Table. A table containing all the colors that may be used in a particular picture. Each entry provides an RGB value. The picture may then be encoded using the table entry addresses rather than the direct RGB value.

Color balancing
The process of tuning the overall color cast of an image or selection

Compressiona
digital process that permits data to be stored or transmitted using less than normal the number of bits. Compression is critical for displaying audio and moving video fast enough on desktop computers. Some compression standards for still images are formulated by JPEG, for moving video by MPEG, and for telecommunications transmission by CCITT.

Read More