Posts

Showing posts from May, 2016

MegaCli/MegaCli tutorial: Key Concepts and Basic Operations

Basic concepts The basic unit is a physical disk. Each disk can be identified by its enclosure ID and slot number. Multiple physical disks may be grouped to form a logical disk. Each such disk can be identified by its device id , and has its own RAID level . The logical disks are managed by adapters.   The first thing to do is to find how the logical and physical disks are arranged. Show all logical disks: MegaCli64 -LDInfo -LALL -aALL Show all physical disks: MegaCli64 -PDList -aALL Show the hierarchy of logical and physical disks managed by different adapters: MegaCli64 -LdPdInfo -aALL The possible RAID level are: [Primary-0, Secondary-0, RAID Level Qualifier-0] = RAID-0 [Primary-1, Secondary-0, RAID Level Qualifier-0] = RAID-1 [Primary-5, Secondary-0, RAID Level Qualifier-3] = RAID-5 [Primary-6, Secondary-0, RAID Level Qualifier-3] = RAID-6 [Primary-1, Secondary-3, RAID Level Qualifier-0] = RAID-10 Basic operations Remove/Add physical disks/logical disks