The title pretty much sums it up - if someone were to mount a single drive from a software RAID 5 array, what would they see? Would it point to being part of a RAID array, appear as encrypted data, or just look like random noise?
|
feedback
|
|
Firstly, you wouldn't be able to mount it, since it wouldn't contain a valid filesystem. RAID level 5 is block-level striping with distributed parity, which means that if you examined the contents of the disc you would see a slice of the usable blocks in the filesystem interspersed with parity blocks. | |||||||
feedback
|
|
Each hardware volume that's in an md-RAID array contains a superblock. The superblock (which can be located either near the beginning or near the end of the volume) contains a magic number as well as various critical data including a unique identifier for the array and an indication of what the volume is (which lets the driver assemble the components of the array properly). Thus you will be able to identify the drive. You won't be able to mount a single drive from the array, since it doesn't contain a filesystem. Since RAID-5 uses block-level striping, you will see small chunks of coherent data (in an N-disk array, 1 block in N is parity data and will not make sense, and the other N-1 are data blocks). | |||||||||
feedback
|