大网数据广告活动
服务器运维问答

Are RAID controllers blind to partition tables on individual disks?

· 52CE 我爱测

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 se…

问题原文

原帖链接 · 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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2024-05-30)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。