Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 713233 Details for
Bug 923788
Cannot remove MD RAID array
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
experimental patch
fix-raid-delete.patch (text/plain), 1.01 KB, created by
Jan Safranek
on 2013-03-20 13:04:40 UTC
(
hide
)
Description:
experimental patch
Filename:
MIME Type:
Creator:
Jan Safranek
Created:
2013-03-20 13:04:40 UTC
Size:
1.01 KB
patch
obsolete
>Fixed checking status of MD RAID which was just deleted. > >From: Jan Safranek <jsafrane@redhat.com> > >The state_file still exists, but returns 'Device or resource busy' upon >reading. >--- > blivet/devices.py | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/blivet/devices.py b/blivet/devices.py >index f091378..5cfb934 100644 >--- a/blivet/devices.py >+++ b/blivet/devices.py >@@ -3002,13 +3002,15 @@ class MDRaidArrayDevice(StorageDevice): > return status > > state_file = "/sys/%s/md/array_state" % self.sysfsPath >- if os.access(state_file, os.R_OK): >+ try: > state = open(state_file).read().strip() > if state in ("clean", "active", "active-idle", "readonly", "read-auto"): > status = True > # mdcontainers have state inactive when started (clear if stopped) > if self.type == "mdcontainer" and state == "inactive": > status = True >+ except IOError: >+ status = False > > return status >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 923788
:
713221
| 713233