![]() The MTA must be set up at least to allow local mail delivery. Test this by sending root a mail: echo hello | mail -s test Usually, a proper email setup requires two things: Make sure that you do receive mail send to root on the local machine (some modern distributions omit this, because they consider that all email goes through external providers - but receiving local mail is necessary for any serious system administrator). Then you will receive an email notification as soon as an error (a degraded array) occurs. Make sure that you have MAILADDR root in /etc/nf (some distributions (e.g. In addition to these spot checks, mdadm can notify you as soon as something bad happens. Some /sys entries are writable as well for example you can trigger a full check of md0 with echo check >/sys/class/block/md0/md/sync_action. ![]() You can get information about a RAID device in /sys/class/block/md*/md/* as well see Documentation/md.txt in the kernel documentation. You can also get a quick summary of all RAID device status by looking at /proc/mdstat. You can show the current status of an array with mdadm -detail (abbreviated as mdadm -D): # mdadm -D /dev/md0įurthermore the return status of mdadm -D is nonzero if there is any problem such as a failed component (1 indicates an error that the RAID mode compensates for, and 2 indicates a complete failure). The point of RAID with redundancy is that it will keep going as long as it can, but obviously it will detect errors that put it into a degraded mode, such as a failing disk. I monitor SMART on all the drives and also have mdadm set to email me in case of failure but I'd like to know my drives occasionally "check" themselves too. How would you check a running RAID to make sure all disks are still preforming normally? However looking for these scripts again now I'm finding it hard to find anything which seems similar to what I ran before and I feel I'm out of date and not understanding whatever has changed. Obviously backups are important and I'm taking care of that also, however I know I've previously seen scripts which claim to help against this problem and allow you to check your RAID while its running. However I've heard various stories about data getting corrupted on one drive and you never noticing due to the other drive being used, up until the point when the first drive fails, and you find your second drive is also screwed (and 3rd, 4th, 5th drive). Its currently mdadm RAID-1, going to RAID-5 once I have more drives (and then RAID-6 I'm hoping for). ![]() Type help to get more details about a particular command.įor more detail information see twi_cli's documentation.I'm starting to get a collection of computers at home and to support them I have my "server" linux box running a RAID array. Please consult the twi_cli documentation for explanation of the controller-qualifiers. (9550SX/9650SE)Ĭertain commands are qualified with constraints of controller type/model support. Update Update controller firmware from an image file.Ĭommit Commit dirty DCB to storage on controller(s). Rescan Rescan all empty ports for new unit(s) and disk(s). Show Displays information about controller(s), unit(s) and port(s).įlush Flush write cache data to units in the system. Tabular: Muestra el log en formato tabla.Ĭlear: Elimina el protocolo del controlador asignado.Īrcconf getlogs controller-number device ¦ dead ¦ event >NOMBRE_DEL_ARCHIVO.logĬon este comando se escriben las entradas de logs en un archivo.Įjemplo: arcconf getlogs 1 device tabular > device.logįocus Changes from one object to another. También puede utilizar los siguientes parámetros: Puede introducir los siguientes parámetros para especificar el tipo de entradas que se muestran:Įjemplo: arcconf getlogs 1 device tabularĭEVICE: Muestra todas las entradas de logs con errores que el controlador ha podido encontrar en los dispositivos vinculados.ĭEAD: Muestra todas las entradas de logs en los que se registró una avería de los dispositivos o discos duros.ĮVENT: Muestra todas las entradas de logs con información sobre acontecimientos especiales (p.ej. Los siguientes comandos hacen que se muestre infomación detallada acerca del controlador de RAID de Adaptec y de la configuración:Ĭon este comando se muestra información acerca del controlador del RAID, de la configuración, de las matrices del RAID, así como de los discos duros disponibles y su estado actual.Ĭon este comando se muestra información acerca de los discos duros existentes.Īrcconf getlogs controller-number device ¦ dead ¦ event Ĭon este comando se muestran las entradas de logs. ![]() ![]() El controlador de red de Adaptec se gestiona con la herramienta de línea de comandos arcconf. ![]()
0 Comments
Leave a Reply. |