Difference between revisions of "Megaraid SAS"

Jump to navigation Jump to search
m
Better formatting.
(First save)
 
m (Better formatting.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
These adapters are called Percraid on Dell Poweredge servers.  Uses the MegaCLI utility.
These The MegaRAID SAS controllers re called Percraid on Dell Poweredge servers.  They use the MegaCLI utility, which is described here.
== MegaCLI ==
== MegaCLI ==
This to show what virtual disks are present. This describes a system with a pair of 300GB SAS 15k rpm disks holding the OS, an array of four 1TB drives and a pair modern 20TB drives, forming a 300GB OS drive, a 20TB data drive and a 3TB additional storage drive.
This to show what virtual disks are present. This describes a system with a pair of 300GB SAS 15k rpm disks holding the OS, an array of four 1TB drives and a pair modern 20TB drives, forming a 300GB OS drive, a 20TB data drive and a 3TB additional storage drive.
Line 463: Line 463:


Exit Code: 0x00</nowiki>
Exit Code: 0x00</nowiki>
One of the 300GB SAS drives (for the OS) is reporting a [SMART|https://techterms.com/definition/smart] error.  This disk should be replaced before it fails.
One of the 300GB SAS drives (for the OS) is reporting a [https://techterms.com/definition/smart SMART] error.  This disk should be replaced before it fails.
=== Disk swap ===
This is where the disk is swapped over. Once the new disk is inserted it rebuilds itself.
<nowiki># megacli -pdoffline -physdrv[32:5] -a0
                                   
Adapter: 0: EnclId-32 SlotId-5 state changed to OffLine.
 
Exit Code: 0x00
# megacli -pdmarkmissing -physdrv[32:5] -a0
                                   
EnclId-32 SlotId-5 is marked Missing.
 
Exit Code: 0x00
# megacli -pdprprmv -physdrv[32:5] -a0
                                   
 
Prepare for removal Success
 
Exit Code: 0x00
</nowiki>
=== Check the rebuild ===
You can see how the rebuild is progressing like this:
<nowiki># megacli -PDRbld -ShowProg -PhysDrv[32:5] -a0
                                   
Rebuild Progress on Device at Enclosure 32, Slot 5 Completed 7% in 8 Minutes.</nowiki>

Navigation menu