Re: [PATCH 1/6] New udev rule for using mdadm for isw_raid_member

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch add new rule for disks with ID_FS_TYPE equaled isw_raid_member.

Output from this rule can be for example:
# mdadm -E --export /dev/sda
MD_LEVEL=container
MD_UUID=32ed9052:bd1d5363:46e69a6e:8b0bbcdc
MD_DEVICES=2
commit befc6fa74b23c85a606f27d8e0656c848e226211
Author: Jacek Danecki <Jacek.Danecki@xxxxxxxxx>
Date:   Fri Apr 10 13:44:22 2009 -0400

    New udev rule for using mdadm for isw_raid_member

diff --git a/70-anaconda.rules b/70-anaconda.rules
index 374b63a..8520030 100644
--- a/70-anaconda.rules
+++ b/70-anaconda.rules
@@ -46,6 +46,7 @@ ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk
 LABEL="anaconda_mdraid_member"
 # probe raid metadata of mdraid member devices
 ENV{ID_FS_TYPE}=="linux_raid_member", IMPORT{program}="$env{ANACBIN}/mdadm --examine --export $tempnode"
+ENV{ID_FS_TYPE}=="isw_raid_member", IMPORT{program}="$env{ANACBIN}/mdadm --examine --export $tempnode"
 
 # probe metadata of LVM2 physical volumes
 ENV{ID_FS_TYPE}=="LVM2_member", IMPORT{program}="$env{ANACBIN}/lvm pvs --units k --nosuffix --nameprefixes --rows --unquoted --noheadings -opv_name,pv_uuid,pv_size,vg_name,vg_uuid,pv_pe_count,pv_pe_alloc_count,pe_start $tempnode"
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux