11.07.2015 Views

Encyclopedia of Computer Science and Technology

Encyclopedia of Computer Science and Technology

Encyclopedia of Computer Science and Technology

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RRAID (redundant array <strong>of</strong> inexpensive disks)<strong>Computer</strong> storage is relatively cheap today (see hard disk),but having continued access to data in the event <strong>of</strong> hardwarefailure is essential to any enterprise. RAID, or redundantarray <strong>of</strong> inexpensive disks, is a way to turn plentifulstorage into higher reliability <strong>and</strong>/or speed <strong>of</strong> access. RAIDworks by turning a group <strong>of</strong> drives into a single logicalStriping spreads data across several disk drives so that a singlehead movement on each drive can fetch a large amount <strong>of</strong> data.Mirroring duplicates each sector <strong>of</strong> data on a second disk drive,ensuring that if one drive fails the data can still be retrieved. Combinations<strong>of</strong> both techniques are <strong>of</strong>ten used, trading space for reliability(or vice versa).unit; the operating system need not deal with this internalorganization, but simply reads or writes data as usual.To improve reliability, data can be mirrored, or copied totwo or more disks. While the data obviously takes up morespace, the advantage is that the data remains intact <strong>and</strong>recoverable if any one drive fails. Further reliability can beachieved by storing redundant data (such as parity bits orHamming codes), to diagnose <strong>and</strong> fix some disk problems(see error correction <strong>and</strong> fault tolerance).To achieve greater speed <strong>of</strong> data access, data can be“striped,” where a file is broken into pieces, with each piecestored on a sector on a different drive. Thus instead <strong>of</strong> thehead <strong>of</strong> a single drive having to jump around to multiplesectors to read the data, the heads on all the drives cansimultaneously read many parts <strong>of</strong> the file, which are thenassembled into the proper order.Levels <strong>and</strong> CompromisesBy combining mirroring, error correction, <strong>and</strong>/or striping,different “levels” <strong>of</strong> RAID can be implemented to suit differentneeds. There are various trade-<strong>of</strong>fs: Striping can increaseaccess speed, but uses more storage space <strong>and</strong>, by increasingthe number <strong>of</strong> disks, also increases the chance that one willfail. Implementing error correction can make failure recoverable,but slows data access down because data has to beread from more than one location <strong>and</strong> compared.The most commonly used RAID levels are:• RAID 0—striping data across disks, higher speed butno error correction; failure <strong>of</strong> any disk can make dataunrecoverable398

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!