- What is the difference between spanning and striping?
a. Spanning is done in hardware, and striping is done in software.
b. Spanning is done within RAID, and striping is done in Windows or through BIOS.
c. Spanning takes two drives, and striping takes three drives.
d. Spanning fills one drive before moving to the next drive, whereas striping alternates between the drives.
e. Spanning is RAID 0, and striping is RAID 1.
The Correct Answer and Explanation is :
The correct answer is:
d. Spanning fills one drive before moving to the next drive, whereas striping alternates between the drives.
Explanation:
Spanning and striping are two techniques used to organize data across multiple storage devices, but they work in different ways.
Spanning (also known as JBOD – “Just a Bunch of Disks”) involves combining multiple hard drives into a single logical volume. In this setup, data is stored sequentially on the drives, filling up one drive before moving to the next. The advantage of spanning is that it allows the user to pool together the storage capacity of multiple drives into one larger virtual drive. However, it does not offer any performance improvements or redundancy. If one drive fails, the data on all drives could be lost because there’s no error-checking mechanism in place.
Striping (often associated with RAID 0) divides data into smaller blocks and writes these blocks alternately across multiple drives. For example, with two drives in a striped configuration, the data is split into chunks, with one chunk written to the first drive, the next to the second, and so on. This improves read and write performance because multiple drives can be accessed simultaneously. However, like spanning, striping offers no data redundancy. If one drive fails, all data is lost.
In contrast to spanning, striping requires at least two drives (commonly two or more) to work, as it spreads the data across these drives. This technique is designed to enhance performance rather than increase storage capacity.
To sum up:
- Spanning fills one drive entirely before moving on to the next, providing a simple method for combining storage capacities but with no performance benefits or redundancy.
- Striping distributes data evenly across multiple drives, improving performance but sacrificing data protection and redundancy.
Both techniques can be used in RAID configurations, but they serve different purposes and should be chosen based on the user’s needs for performance or redundancy.