
Solved!
Go to SolutionB
BabyItsColdOutside
3 Posts
0
1104
December 16th, 2022 21:00
Disk replacement RAID 5
I have a power edge T420 that has a RAID50 setup on it. One disk failed and I am going to replace it. I learned that RAID exists on Wednesday so before I go ahead I wanted to ask someone to double check if what I plan will work. Thanks!
I've installed the command line tool and here are its outputs:
root@server:/opt/MegaRAID/perccli# ./perccli64 /c0/eall/sall show
CLI Version = 007.1910.0000.0000 Oct 08, 2021
Operating system = Linux 5.10.0-19-amd64
Controller = 0
Status = Success
Description = Show Drive Information Succeeded.
Drive Information :
=================
-----------------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp Type
-----------------------------------------------------------------------------------
32:0 0 UGood - 111.250 GB SATA SSD N N 512B INTEL SSDSC2BB120G6R U -
32:1 1 UGood - 111.250 GB SATA SSD N N 512B INTEL SSDSC2BB120G6R U -
32:2 2 Onln 0 3.637 TB SAS HDD N N 512B ST4000NM0025 U -
32:3 3 Onln 0 3.637 TB SAS HDD N N 512B ST4000NM0025 U -
32:4 4 Onln 0 3.637 TB SAS HDD N N 512B ST4000NM0025 U -
32:5 5 Onln 0 3.637 TB SAS HDD N N 512B ST4000NM0025 U -
32:6 6 Onln 0 3.637 TB SAS HDD N N 512B ST4000NM0025 U -
32:7 7 Failed 0 3.637 TB SAS HDD N N 512B ST4000NM0025 U -
-----------------------------------------------------------------------------------
EID=Enclosure Device ID|Slt=Slot No|DID=Device ID|DG=DriveGroup
DHS=Dedicated Hot Spare|UGood=Unconfigured Good|GHS=Global Hotspare
UBad=Unconfigured Bad|Sntze=Sanitize|Onln=Online|Offln=Offline|Intf=Interface
Med=Media Type|SED=Self Encryptive Drive|PI=Protection Info
SeSz=Sector Size|Sp=Spun|U=Up|D=Down|T=Transition|F=Foreign
UGUnsp=UGood Unsupported|UGShld=UGood shielded|HSPShld=Hotspare shielded
CFShld=Configured shielded|Cpybck=CopyBack|CBShld=Copyback Shielded
UBUnsp=UBad Unsupported|Rbld=Rebuild
root@server:/opt/MegaRAID/perccli# ./perccli64 /c0/dall show
CLI Version = 007.1910.0000.0000 Oct 08, 2021
Operating system = Linux 5.10.0-19-amd64
Controller = 0
Status = Success
Description = Show Drive Group Succeeded
TOPOLOGY :
========
------------------------------------------------------------------------------
DG Arr Row EID:Slot DID Type State BT Size PDC PI SED DS3 FSpace TR
------------------------------------------------------------------------------
0 - - - - RAID50 Dgrd N 14.552 TB dsbl N N dflt N N
0 0 - - - RAID5 Dgrd N 7.276 TB dsbl N N dflt N N
0 0 0 32:2 2 DRIVE Onln N 3.637 TB dsbl N N dflt - N
0 0 1 32:3 3 DRIVE Onln N 3.637 TB dsbl N N dflt - N
0 0 2 32:4 4 DRIVE Onln N 3.637 TB dsbl N N dflt - N
0 1 - - - RAID5 Dgrd N 7.276 TB dsbl N N dflt N N
0 1 0 32:5 5 DRIVE Onln N 3.637 TB dsbl N N dflt - N
0 1 1 32:6 6 DRIVE Onln N 3.637 TB dsbl N N dflt - N
0 1 2 32:7 7 DRIVE Failed N 3.637 TB dsbl N N dflt - N
------------------------------------------------------------------------------
DG=Disk Group Index|Arr=Array Index|Row=Row Index|EID=Enclosure Device ID
DID=Device ID|Type=Drive Type|Onln=Online|Rbld=Rebuild|Optl=Optimal|Dgrd=Degraded
Pdgd=Partially degraded|Offln=Offline|BT=Background Task Active
PDC=PD Cache|PI=Protection Info|SED=Self Encrypting Drive|Frgn=Foreign
DS3=Dimmer Switch 3|dflt=Default|Msng=Missing|FSpace=Free Space Present
TR=Transport ReadyMy plan is to do as follows:
1. I will switch the disk off
perccli /c0/e32/s7 set offline
perccli /c0/e32/s7 set missing
perccli /c0/e32/s7 set spindown2. I will swap the drive sitting in the tower
3. I will bring it back with
perccli /c0/e32/s7 set spinup
# perccli /c0/e32/s7 set online # idk in what order this one should go
perccli /c0/e32/s7 insert dg=0 array=1 row=2
perccli /c0/e32/s7 start rebuild
perccli /c0/e32/s7 show rebuildThat's it.
So as you can see I have pretty much just collected a bunch of commands from the manual and I have lined them up in what I hope makes sense, but to be honest I have no idea what am I doing. So if someone can help me out with it that would be much appreciated!
Responses (0)
Solutions (0)
