
What is non volatile storage?
Non volatile memory is the long term persistent memory where the information can be retrieved even after turning off and on the device. This is typically used as a secondary storage.Examples of non volatile storage devices are: hard disk drive, floppy disk, magnetic tape, optical disk, paper tapes, punched cards, ferroelectric RAM, EPROM.
Different types of Hard Drives
A hard drive is a non volatile storage device where digitally encoded data is stored on rotating magnetic platters. Different types of HDD are as follows:
PATA (Parallel Advance Technology Attachment)
- It is also called IDE (Integrated Drive Electronics)
- Sends 8 bit data at a time.
- Transfer speed up to133 mb/sec
- It sends data bit by bit.
- Transfer speed up to 300 mb/sec
- These drives are hot-swappable i.e can be inserted or removed from the running system without affecting performance or causing damage to data.
- Transfer speed up to 640 mb/sec
RAID and its levels
- Data is split into blocks and is written across all drives in the array.
- It offers great performance in read & write operations.
- The only disadvantage being that it is not fault tolerant i.e if one drive fails, all data in RAID 0 array will be lost. So it should not be used for critical information storage.
- In this level, data is stored twice i.e on both the drives so minimum 2 disks required.
- If 1 drive fails, controlled switches to another for data recovery and continues operation.
- Because of double storage, effective storage capacity decreases to half.
- It is used for critical information storage. e.g. - accounting systems.
- It requires minimum 3 drives and can work with up to 16 drives.
- Data blocks are stripped across the devices.
- Parity data for one drive is written to another drive and whole parity checksum data is spread over all drives.
- Using this parity data, computer can recalculate the data of other data blocks in case that data is no longer available.
- So even if a drive fails, you will still have access to all the data which makes it SECURE.
- Reads are faster than writes due to parity.
- Ideal for servers that have limited no. of data drives.
- In level 6, parity data is written to two drives.
- Minimum 4 drives are required and 2 drives can fail simultaneously (extreme case) without affecting performance.
- Reads are faster and writes are more slower than RAID 5 due to double parity
What is Write Hole problem?
Follow PK Series for IT Officer here