Bug 433183
| Summary: | SOS does not collect ext3 filesystem information. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Zhenyong(Jerry) Jiang <jzhenyon> | ||||
| Component: | sos | Assignee: | Adam Stokes <astokes> | ||||
| Status: | CLOSED ERRATA | QA Contact: | |||||
| Severity: | low | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 5.0 | CC: | agk, azelinka, bmr, james.wildman, jplans, rrosario | ||||
| Target Milestone: | rc | Keywords: | ZStream | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2009-01-20 21:41:32 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 443037, 455724 | ||||||
| Attachments: |
|
||||||
|
Description
Zhenyong(Jerry) Jiang
2008-02-17 08:01:24 UTC
Created attachment 295092 [details]
dumpe2fs plugins
Comment on attachment 295092 [details]
dumpe2fs plugins
### This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
import sos.plugintools
import os
import string
class dumpe2fs(sos.plugintools.PluginBase):
"""dumpe2fs related information
"""
def setup(self):
inpipe, pipe = os.popen4("mount -t ext3", 'r')
inpipe.close()
for line in pipe.readlines():
L = string.split(line)
str = "dumpe2fs " + L[0]
self.collectExtOutput(str)
pipe.close()
return
Thanks for the patch, however, all this needed was a minor alteration to the filesys plugin as it was already capturing ext2/3 tunable parameters. dumpe2fs just extends on that so tune2fs was replaced. Thanks Committed to filesys plugin This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0171.html |