16 08:35:48 2015 CSTSMART support is: Available - device has SMART capability.SMART support is: Enabled
As shown above, the hard disk model is SanDisk SD6SB1M128G1022I and the capacity is 128 GB.
Ii. Disk Array RAID Mode
If the machine has a disk array, an error will be reported when running the above command, and the disk information you need is not obtained. You can use the MegaCli command
The MegaCli command system is not provided and requires additional downloads,
:
Http://www.lsi.com/dow
View ssd Service Life in CentOS
Install necessary software
Yum install-y MegaCli Lib_Utils
Obtain the device id.
/Opt/MegaRAID/MegaCli/MegaCli64-LdPdInfo-aALL | grep-B 30 'solid State devic' | grep 'device id'
What I get here is 1. When smartctl is used below, 1
Smartctl-a-d sat + megaraid, 1/dev/sdc | grep Media_Wearout_Indicator
Wear Levelling Count (average number of particle writes): The last col
In the past few days, the write policy of the RAID card is switched back to WT from WB. If "Learn cycle" occurs during business peaks, it will seriously affect the performance of the database. After the problem is solved, sort out your understanding of these problems. I will not describe the megacli command set I have used. There are a lot of information about it on the Internet. We recommend related articles by Tan and ye from Chinese documents.
I will explain the problems related to the RAID c
1 IntroductionThe RAID card battery on the server, referred to as the BBU, is a very important component, it has a large impact on the I/O performance of the disk, but the general Bbu power can only be used for 90 days, the system will automatically charge it after the power is exhausted, but it usually takes a few hours to charge, during charging, The cache status of the RAID card is in write through, i.e. without the caching feature. So in order to ensure that the server is in normal operation
located and execute the following command:?
123456
unzip 8.00.48_Linux_MegaCLI.zipunzip MegaCliLin.ziprpm2cpio Lib_Utils-1.00-09.noarch.rpm | cpio -idmvrpm2cpio MegaCli-8.00.48-1.i386.rpm | cpio -idmvcpopt/MegaRAID/MegaCli/MegaCli64 /sbin/cp opt/MegaRAID/MegaCli/MegaCli/sbin/
MEGACLI not only can query the status of the raid, but also set the state of the raid, so it is bett
file is copied. Because when an external memory cabinet is connected using a plug-in card (RAID/SCSI), they will always take precedence over local hard disk detection, which will cause local drive letters to be changed.
Follow the usual steps to install the OS. after the system is installed, insert the RAID or scsicard back to the host. The system will automatically discover new devices upon next restart. However, to ensure that the device can be automatically started during each system boot
The article itself I do not make too many changes, here I put myself in the installation of the difficulties encountered with everyone to mention.1. Where to download?First of all, according to the path in the article has not been downloaded to the corresponding file, here we go to Http://www.lsi.com's website to search, try a variety of combinationsFinally with Linux_cli.zip in the search bar search for the corresponding results, find the Linux version, download can.I also uploaded the file to
Objective:Dell Next-generation 13G server R630, R730, T430 .... such as the product has a RAID card does not support the Redhat 5/centos version of the operating system, this article will take the T430 server as an example to demonstrate the method of installing the REDHAT5 version.First, drive download1 Dell 13G service organ network array driver not supported redhat5 system, because dell The array card uses lsi The chip, so here to Span lang= "en-us" xml:lang= "en-US" >lsi Dow
from the above, the hard drive model is SanDisk sd6sb1m128g1022i with a capacity of 128GBSecond, disk array raid modeIf the machine has a disk array, then running the above command will error, not get the disk information you want. You can use the MEGACLI commandMEGACLI command system does not own, need additional download,:Http://www.lsi.com/downloads/Public/RAID%20Controllers/RAID%20Controllers%20Common%20Files/8.07.14_MegaCLI.zipUnzip after download,Unzip Csa1.5-megacli_rel80571.zipCD Megacl
is SanDisk sd6sb1m128g1022i with a capacity of 128GBSecond, disk array raid modeIf the machine has a disk array, then running the above command will error, not get the disk information you want. You can use the MEGACLI commandMEGACLI command system does not own, need additional download,:Http://www.lsi.com/downloads/Public/RAID%20Controllers/RAID%20Controllers%20Common%20Files/8.07.14_MegaCLI.zipUnzip after download,Unzip Csa1.5-megacli_rel80571.zipCD Megacli/megacli_linuxRPM-IVH megacli-8.05.7
supports Ide/eide, SCSI raid:lsi Logic CERC ATA-MB, perc 4/dc, perc 4/di, perc 4/sc, LSI Logic (formerly AMI) PERC3/DC, PE RC3/DCL, PERC3/QC, PERC3/SC
Perc-cerc-apps-6.03-a06.tar.gz
http://support.dell.com/support/downloads/download.aspx?c=usl=ens=genreleaseid=r71524 formatcnt=2fileid=92846
After the unpack, there's a megamon-4.0-0a.i386.rpm.
/etc/init.d/raidmon Start After installation end
# tail-f/var/log/megaserv.log can see the test report. When there is a problem, this log will be ref
to add the administrator's mailbox to the end of the file so that when an error is detected, the message is automatically sent.(mail.35.cn as if it had been filtered out of spam)Therefore, it is suggested that Megarc (manual) with Raidmon (automatic) is a better solution.The Dell 1950 PERC 5/i SAS RAID Controller is used with this command-line tool:MEGACLI for LinuxHttp://www.lsi.com/support/downloads/megaraid/miscellaneous/Linux_MegaCLI_1.01.24.zipM
open this Use Rx Polling (NAPI)
3. 6650 RAID card megaraid2 (old one with megaraid) AMI MegaRAID2 support
Two e1000 Nic and two tg3.
We use dell's poweredge servers, with a maximum of 750, 1650, and 1850 servers. Some time ago, the 750 and 1850 network adapters experienced overflow multiple times. In particular, a server with a large network traffic experienced packet loss almost every second. Then, I made unremitting and fruitful adjustments to
Affected System setuid Program (Linux, patch) involved program: Red Hat LinuxDescription RedHat Linux core security vulnerability affects the system's setuid ProgramDetailsVersions with vulnerabilities:
Red Hat Linux 6.0 - i386 alpha sparc Red Hat Linux 6.1 - i386 alpha sparc Red Hat Linux 6.2 - i386 alpha sparc
Drivers added or updated to the core in vulnerability patches:The AMI MegaRAID driver is updated.Updated the Acenic Gigabit E
. After the VIB is installed, it will generate an executable file under/opt/LSI/megacli, but sometimes it cannot be executed. In this case, just give it a permission (continue putty SSH ):
chmode -x MegaCli
Insert the new hard disk to the third digit and run the following command:
CD/opt/LSI/megacli-pdlist-A0 // all disk Information
The output information mainly shows the value of enclosure device ID.
Then let's look at our new hard drive ():
Megacli-pdinfo-physdrv [E0: S0]-A0 // E0 is the ID we
information on the right side of the User Capacity is the actual size of the hard disk. It also indicates that the machine has no disk array. If the machine has a disk array, run the preceding command to obtain the following results:
Vendor: DELLProduct: PERC H310Revision: 2.12User Capacity: 999,653,638,144 bytes [999 GB]Logical block size: 512 bytesLogical Unit id: 0x6b083fe0e9aa11111cf09480020.aee5Serial number: 00e5ae40048094f01c1111aae9e03f08Device type: diskLocal Time is: Fri Jul 3 15:39:0
reached the hardware limit. The raid cards used by other machines are "LSI Logic/Symbios Logic MegaRAID SAS 1078" with 256 MB cache, which does not reach the hardware bottleneck. The solution is to replace the machines that provide larger IOPS, for example, we finally switched to a machine with the PERC6/I integrated RAID Controller Card. It should be noted that the raid information is stored in the raid card and the disk firmware. If the raid inform
, and the information on the right side of the User Capacity is the actual size of the hard disk. It also indicates that the machine has no disk array. If the machine has a disk array, run the preceding command to obtain the following results:
Vendor: DELL
Product: PERC H310
Revision: 2.12
User Capacity: 999,653,638,144 bytes [999 GB]
Logical block size: 512 bytes
Logical Unit id: 0x6b083fe0e9aa11111cf094800440aee5
Serial number: 00e5ae40048094f01c1111aae9e03f08
Device type: disk
Local Time is:
Tags: Server failed return monitoring interfaceUse of the smartctl command line.
650) This. width = 650; "alt =" edit "src =" http: // 192.168.1.2/images/edit.png? 1355836063 "/>
Command Line instructions:
Currently, all servers we use are equipped with LSI raid cards. When the disk is a SAS disk and smartctl is used, we need to add:
smartctl-dmegaraid,$deviceid/dev/$diskname
When the disk is a SATA disk and smartctl is used, you need to add:
smartctl-dsat+
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.