FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Development

 
 
LinkBack Thread Tools
 
Old 02-15-2010, 10:49 AM
Hans de Goede
 
Default Intel BIOS RAID array not recognized (#565458)

Due to recent changes in udev_is_md_array, Intel BIOS RAID array members are
wrongly identified as RAID arrays instead of as RAID array members, this
causes the actual raid array to not be seen by anaconda.
---
storage/udev.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/storage/udev.py b/storage/udev.py
index 681cf24..02a54e7 100644
--- a/storage/udev.py
+++ b/storage/udev.py
@@ -151,7 +151,9 @@ def udev_device_is_dm(info):

def udev_device_is_md(info):
""" Return True if the device is a mdraid array device. """
- return info.has_key("MD_METADATA")
+ # isw raid set *members* have MD_METADATA set, but are not arrays!
+ return info.has_key("MD_METADATA") and
+ info.get("ID_FS_TYPE") != "isw_raid_member"

def udev_device_is_cciss(info):
""" Return True if the device is a CCISS device. """
--
1.6.6.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-16-2010, 07:45 AM
Ales Kozumplik
 
Default Intel BIOS RAID array not recognized (#565458)

diff --git a/storage/udev.py b/storage/udev.py
index 681cf24..02a54e7 100644
--- a/storage/udev.py
+++ b/storage/udev.py
@@ -151,7 +151,9 @@ def udev_device_is_dm(info):

def udev_device_is_md(info):
""" Return True if the device is a mdraid array device. """
- return info.has_key("MD_METADATA")
+ # isw raid set *members* have MD_METADATA set, but are not arrays!
+ return info.has_key("MD_METADATA") and
+ info.get("ID_FS_TYPE") != "isw_raid_member"

def udev_device_is_cciss(info):
""" Return True if the device is a CCISS device. """


Ack.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 05:28 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org