The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Package:Mdadm"
Dutch-master (talk | contribs) (Initial set up of page) |
Dutch-master (talk | contribs) m (typo) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
|CatPkg=sys-fs/mdadm | |CatPkg=sys-fs/mdadm | ||
}} | }} | ||
The mdadm tool manages MD devices, | The mdadm tool manages MD devices, such as Linux Software RAID. | ||
== Installation == | === Installation === | ||
{{note|In most cases the package is pulled in during the kernel installation as a dependency when a RAID is present.}} | |||
{{console|body= | {{console|body= | ||
###i## emerge mdadm | ###i## emerge mdadm | ||
}} | }} | ||
== Configuration == | === Configuration === | ||
Configuring mdadm is done via the {{f|/etc/mdadm.conf}} file. By default, after installation this file is entirely commented out. One may remove the comment hash <code>#</code> in front of the line that most suits the RAID in use and alter the line to point to the correct devices, or add a new line, based on the examples given. | Configuring mdadm is done via the {{f|/etc/mdadm.conf}} file. By default, after installation this file is entirely commented out. One may remove the comment hash <code>#</code> in front of the line that most suits the RAID in use and alter the line to point to the correct devices, or add a new line, based on the examples given. | ||
To start mdadm at boot, add it to the default runtime level: | |||
{{console|body= | |||
###i## rc-update add mdadm boot | |||
}} | |||
Not doing so results in unbootable system. | |||
{{tip|If you're upgrading an existing system to Funtoo, backup the existing <code>/etc/mdadm.conf</code> file to a secure location and copy it back prior to rebooting into the new install.}} | {{tip|If you're upgrading an existing system to Funtoo, backup the existing <code>/etc/mdadm.conf</code> file to a secure location and copy it back prior to rebooting into the new install.}} | ||
{{tip|mdadm can be very tricky to administer for novices. Install [[Webmin]] and use its webinterface to create and use a new RAID.}} | {{tip|mdadm can be very tricky to administer for novices. Install [[Package:Webmin|Webmin]] and use its webinterface to create and use a new RAID.}} | ||
{{PageNeedsUpdates}} | {{PageNeedsUpdates}} | ||
{{EbuildFooter}} | {{EbuildFooter}} |
Latest revision as of 14:35, March 3, 2016
Mdadm
We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.
The mdadm tool manages MD devices, such as Linux Software RAID.
Installation
In most cases the package is pulled in during the kernel installation as a dependency when a RAID is present.
root # emerge mdadm
Configuration
Configuring mdadm is done via the /etc/mdadm.conf
file. By default, after installation this file is entirely commented out. One may remove the comment hash #
in front of the line that most suits the RAID in use and alter the line to point to the correct devices, or add a new line, based on the examples given.
To start mdadm at boot, add it to the default runtime level:
root # rc-update add mdadm boot
Not doing so results in unbootable system.
If you're upgrading an existing system to Funtoo, backup the existing /etc/mdadm.conf
file to a secure location and copy it back prior to rebooting into the new install.
mdadm can be very tricky to administer for novices. Install Webmin and use its webinterface to create and use a new RAID.