added mdraid autoassembling

This commit is contained in:
Harald Hoyer 2009-03-06 10:16:56 +01:00
parent 771577a56a
commit 6b5951b3d6
2 changed files with 12 additions and 0 deletions

4
modules.d/90mdraid/install Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
dracut_install mdadm
inst_hook pre-mount 10 "$moddir/mdraid.sh"

View File

@ -0,0 +1,8 @@
#!/bin/sh
mdadm --assemble \
--homehost=localhost \
--auto-update-homehost \
--scan
udevadm settle --timeout=30