问题原文
原帖链接 · Izzo · CC BY-SA 4.0
I'm curious how the concept of partitions (and partition tables) co-exist with the concept of RAID arrays. Here is my current understanding (correct me if I'm wrong anywhere):
A physical hard-drive disk can be partitioned into several segments. A partition table lives at the beginning of the disk space to describe how it is partitioned. There are several partition table types (MBR, GPT, ...)
A RAID array is a single "physical volume" that is comprised of multiple hard-drive disks (i.e. an array). To the OS this appears as a single physical device. Furthermore, this RAID array can be partitioned as a whole.
So my question - if you add physical disks to a RAID controller will that RAID controller automatically hijack each physical disk and blow away/rewrite a single disk partition table such that it controls the entire device? Or are RAID controllers conscious of the fact that individual drives may be partitioned?
已采纳解答
原帖链接 · tsc_chazz · CC BY-SA 4.0
Typically a hardware RAID controller is unaware of any partitioning on the disk - it assumes that if you add a disk to the array, it owns that disk in its entirety and writes its own (possibly proprietary) control structures on it where it wants to. It does not necessarily add a disk that's inserted, into an array - you could have multiple arrays defined on one hardware controller, for instance, and would have to manually select which array the new disk goes into - so you can have standalone single disks on many hardware RAID controllers. (I guess you could think of them as single-drive RAID0 arrays.) Because the hardware RAID controller sits between the physical drive hardware and the lowest level of the OS, it will be unaware of what partitioning scheme the OS chooses to follow.
So will the controller blow away any partitioning that you've set up? Yes, but not automatically; with every controller I've ever used, the partitioning on the disk will stay there until you manually tell the controller to add the disk to an existing array. Are RAID controllers conscious of the fact that individual drives may be partitioned? No, they are not.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
