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 > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 08-05-2010, 08:51 PM
David Lehman
 
Default Log exclusiveDisks, ignoredDisks, and reasons for ignoring devices.

Related: rhbz#596468
Related: rhbz#616273
---
storage/devicetree.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 4079528..56c14f1 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -914,6 +914,7 @@ class DeviceTree(object):
return None

if name in self._ignoredDisks:
+ log.debug("device '%s' in ignoredDisks" % name)
return True

# Special handling for mdraid external metadata sets (mdraid BIOSRAID):
@@ -947,6 +948,7 @@ class DeviceTree(object):
not (udev_device_is_md(info) and
not udev_device_get_md_container(info)):
if self.exclusiveDisks and name not in self.exclusiveDisks:
+ log.debug("device '%s' not in exclusiveDisks" % name)
self.addIgnoredDisk(name)
return True

@@ -1980,6 +1982,8 @@ class DeviceTree(object):

def populate(self):
""" Locate all storage devices. """
+ log.debug("DeviceTree.populate: ignoredDisks is %s ; exclusiveDisks is %s"
+ % (self._ignoredDisks, self.exclusiveDisks))

# mark the tree as unpopulated so exception handlers can tell the
# exception originated while finding storage devices
--
1.7.1.1

_______________________________________________
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 12:08 AM.

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