| .. | |||||
| 59-persistent-storage-md.rules | |||||
| 65-md-incremental-imsm.rules | |||||
| md-noddf.sh | |||||
| md-noimsm.sh | |||||
| md-shutdown.sh | |||||
| mdmon-pre-shutdown.sh | |||||
| mdmon-pre-udev.sh | |||||
| mdraid-cleanup.sh | |||||
| mdraid-needshutdown.sh | |||||
| mdraid-waitclean.sh | |||||
| mdraid_start.sh | |||||
| module-setup.sh | |||||
| parse-md.sh |
| Server IP : 103.169.32.36 / Your IP : 216.73.217.13 Web Server : Apache System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : apache ( 48) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/dracut/modules.d/90mdraid/ |
Upload File : |
# This file causes block devices with Linux RAID (mdadm) signatures to
# automatically cause mdadm to be run.
# See udev(8) for syntax
ACTION!="add|change", GOTO="md_end"
SUBSYSTEM!="block", GOTO="md_end"
ENV{rd_NO_MD}=="?*", GOTO="md_end"
KERNEL=="md*", ENV{ID_FS_TYPE}!="linux_raid_member", GOTO="md_end"
KERNEL=="md*", ACTION!="change", GOTO="md_end"
# Also don't process disks that are slated to be a multipath device
ENV{DM_MULTIPATH_DEVICE_PATH}=="?*", GOTO="md_end"
ENV{ID_FS_TYPE}=="ddf_raid_member|isw_raid_member|linux_raid_member", GOTO="md_try"
GOTO="md_end"
LABEL="md_try"
ENV{ID_FS_TYPE}=="isw_raid_member", ENV{rd_NO_MDIMSM}=="?*", GOTO="md_end"
ENV{ID_FS_TYPE}=="ddf_raid_member", ENV{rd_NO_MDDDF}=="?*", GOTO="md_end"
# already done ?
PROGRAM="/bin/sh -c 'for i in $sys/$devpath/holders/md[0-9_]*; do [ -e $$i ] && exit 0; done; exit 1;' ", \
GOTO="md_end"
# for native arrays - array's uuid has to be specified
# for containers - container's uuid has to be specified
# TODO : how to get embedded array's uuid having container's component ?
#
# UUID CHECK
ENV{DEVTYPE}!="partition", \
RUN+="/sbin/partx -d --nr 1-1024 $env{DEVNAME}"
RUN+="/sbin/initqueue --timeout --name 50-mdraid_start --onetime --unique /sbin/mdraid_start"
#
# Incrementally build the md array; this will automatically assemble
# any eventual containers as well (imsm, ddf)
#
LABEL="md_incremental"
RUN+="/sbin/mdadm $env{rd_MD_OFFROOT} -I $env{DEVNAME}"
LABEL="md_end"
| .. | |||||
| 59-persistent-storage-md.rules | |||||
| 65-md-incremental-imsm.rules | |||||
| md-noddf.sh | |||||
| md-noimsm.sh | |||||
| md-shutdown.sh | |||||
| mdmon-pre-shutdown.sh | |||||
| mdmon-pre-udev.sh | |||||
| mdraid-cleanup.sh | |||||
| mdraid-needshutdown.sh | |||||
| mdraid-waitclean.sh | |||||
| mdraid_start.sh | |||||
| module-setup.sh | |||||
| parse-md.sh |