ข้ามไปยังเนื้อหา
เซิร์ฟเวอร์เฉพาะข้อมูลอ้างอิง

[DEMO] RAID basics

Which RAID level to choose and how to check a Linux software RAID.

บทความนี้ยังไม่มีในภาษาไทย คุณกำลังอ่านฉบับภาษาอังกฤษ
ในหน้านี้

RAID levels

LevelMinimum disksSurvivesUsable capacity
RAID 02NothingSum of all disks
RAID 12All disks but oneOne disk
RAID 531 disk(n − 1) disks
RAID 1041 disk per pairHalf

Check a software RAID (mdadm)

bash
cat /proc/mdstat
mdadm --detail /dev/md0

In /proc/mdstat, [UU] means both disks are fine. [U_] means a disk failed or dropped out of the array.

Hardware or software RAID?

With hardware RAID, check the status with the controller tool or from IPMI. With software RAID (mdadm), from Linux itself as shown above.