Thursday, February 21, 2019

check hard disk status Raid 10

Install the new storcli to manage (LSI/AVAGO/Broadcom) MegaRAID controller under CentOS 7

Check Raid on CentOs 7
lspci | grep Mega
lspci | grep -i raid
download and install

1. Download Software

2. Install

unzip 007.0709.0000.0000_Unified_StorCLI.zip
unzip Unified_storcli_all_os.zip
yum install ./Unified_storcli_all_os/Linux/storcli-007.0709.0000.0000-1.noarch.rpm

3. command for check disk on Raid

/opt/MegaRAID/storcli/storcli64 /c0 show all              - Long detail
/opt/MegaRAID/storcli/storcli64 /c0 /eall /sall show    - Short detail

4. check serail number
/opt/MegaRAID/storcli/storcli64 /c0/eAll/sAll show all | egrep 'Device attributes|SN|Manufacturer|Model Number|Raw size|Speed'

* mdadm --query --detail /dev/md126

Tuesday, February 12, 2019

การ Base64 Decode

URL Decode

การแกะรหัสจากการดู Message source code mail

https://codebeautify.org/base64-decode

copy เพราะ code ด่านล่างไปวาง แล้วกด decode จะได้ข้อมูลออกมา