Mdadm

Mdadm

Infobox Software
name = mdadm
author = Neil Brown
developer = Neil Brown
released = 2001
latest release version = 2.6.4
latest release date = 2007-10-19
programming language = C
operating system = Linux
language = English
status = Active
genre = Disk utility
license = GNU General Public License
website = http://neil.brown.name/blog/mdadm

mdadm is a Linux utility by Neil Brown that is used to manage software RAID devices, previously known as "mdctl". Besides managing, it can create, delete, or monitor Linux software RAIDs. Available under version 2 or later of the GNU General Public License, mdadm is free software.

Mdadm derives its name from the “md” (multiple disk) device nodes it manages.

Quick reference

Create a RAID 1 volume from two drives. mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdc /dev/sde

To add RAID device md0 to /etc/mdadm.conf so that it is recognized the next time you boot. mdadm -Es | grep md0 >>/etc/mdadm.conf

View the status of a multi disk array. mdadm --detail /dev/md0

View the status of all multi disk arrays. cat /proc/mdstat

Mdmpd

Mdmpd is a computer program for the GNU/Linux Operating System. It is part of the mdadm package written and copyrighted by Red Hat. The program is used to monitor multi-path (RAID) devices, and is usually started at boot time as a service, and afterwards running as a daemon.

mdmpd - daemon to monitor MD multipath devices

Enterprise storage requirements often include the desire to have more than one way to talk to a single disk drive so that in the event of some failure to talk to a disk drive via one controller, the system can automatically switch to another controller and keep going. This is called multipath disk access. The linux kernel implements multipath disk access via the software RAID stack known as the md (Multiple Devices) driver. The kernel portion of the md multipath driver only handles routing I/O requests to the proper device and handling failures on the active path. It does not try and find out if a path that has previously failed might be working again. That's what this daemon does. Upon startup, the daemon will fork and place itself in the background. Then it reads the current state of the md raid arrays, saves that state, and then waits for the kernel to tell it something interesting has happened. It then wakes up, checks to see if any paths on a multipath device have failed, and if they have then it starts to poll the failed path once every 15 seconds until it starts working again. Once it starts working again, the daemon will then add the path back into the multipath md device it was originally part of as a new spare path.

If one is using the /proc filesystem, /proc/mdstat lists all active md devices with information about them. Mdmpd requires this to find arrays to monitor paths on and to get notification of interesting events.

External links

* [http://neil.brown.name/blog/mdadm Developer blog]
* [http://man-wiki.net/index.php/8:mdadm mdadm documentation]
* [http://linux-raid.osdl.org/index.php/Main_Page linux-raid Documentation Wiki]
* [http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch26_:_Linux_Software_RAID Step-by-step tutorial on partitioning and creating a RAID array.]
* [https://rhn.redhat.com/errata/RHEA-2003-397.html Red Hat Product Enhancement Advisory]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • mdadm — Original author(s) Neil Brown Developer(s) Neil Brown Initial release 2001 Stable release 3.2.1[1] / April 28 …   Wikipedia

  • mdadm — (ранее mdctl) Тип Дисковая утилита Разработчик Neil Brown Операционная система Linux Последняя версия 3.2.5 (2012 05 18) Лицензия GNU GPL 2 и новее Сайт …   Википедия

  • Mdadm — (ранее mdctl) Тип Дисковая утилита Разработчик Neil Brown [1] ОС GNU/Linux Версия 3.1.1 (2009 11 19) Лицензия …   Википедия

  • mdadm — Maintainer Neil Brown Entwickler Neil Brown Aktuelle Version 3.2.1 (28. März 2011) Betriebssystem Linux Programmier­sprache …   Deutsch Wikipedia

  • Western Digital My Book — My Book  серия внешних жестких дисков производства компании Western Digital. Выпускается девять вариантов (editions) My Book: Essential Edition, Home Edition, Office Edition, Mirror Edition, Studio Edition, Premium Edition, Pro Edition,… …   Википедия

  • Standard RAID levels — The standard RAID levels are a basic set of RAID configurations and employ striping, mirroring, or parity.The standard RAID levels can be nested for other benefits ( see Nested RAID levels ). Concatenation (SPAN) The controller treats each drive… …   Wikipedia

  • Comparison of operating systems — Usage share of web client operating systems. (Source: Median values from Usage share of operating systems for August 2011.)   Windows XP (35.21%) …   Wikipedia

  • Data corruption — Photo data corruption; in this case, a result of a failed data recovery from a hard disk drive Data corruption refers to errors in computer data that occur during writing, reading, storage, transmission, or processing, which introduce unintended… …   Wikipedia

  • Martin Krafft — Infobox Scientist name = Martin Felix Krafft caption = Martin Krafft (photograph taken in 2004) birth date = 1979 02 14 birth place = Munich, Germany death date = death place = residence = Zurich, Switzerland nationality = German field = computer …   Wikipedia

  • Non-standard RAID levels — Main article: RAID Although all RAID implementations differ from the specification to some extent, some companies have developed non standard RAID implementations that differ substantially from the standard. Non RAID drive architectures… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”