Bug 433183 - SOS does not collect ext3 filesystem information.
SOS does not collect ext3 filesystem information.
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sos (Show other bugs)
All Linux
urgent Severity low
: rc
: ---
Assigned To: Adam Stokes
: ZStream
Depends On:
Blocks: 443037 455724
  Show dependency treegraph
Reported: 2008-02-17 03:01 EST by Zhenyong(Jerry) Jiang
Modified: 2013-07-28 20:44 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-01-20 16:41:32 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
dumpe2fs plugins (1.04 KB, text/x-python)
2008-02-17 03:01 EST, Zhenyong(Jerry) Jiang
no flags Details

  None (edit)
Description Zhenyong(Jerry) Jiang 2008-02-17 03:01:24 EST
Description of problem:

SOS(sosreport) does not collect Ext2/3 filesystems information.

Version-Release number of selected component (if applicable):


How reproducible:

Steps to Reproduce:
Execute sysreport(sos) on RHEL4/RHEL5

Actual results:
Not collects ext3 filesystem information.

Expected results:
should include the output of the command: "dumpe2fs <ext2 filesystem>"

Additional info:
Please see the attached file.
Comment 1 Zhenyong(Jerry) Jiang 2008-02-17 03:01:24 EST
Created attachment 295092 [details]
dumpe2fs plugins
Comment 2 Zhenyong(Jerry) Jiang 2008-02-17 03:08:59 EST
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
## 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')
	for line in pipe.readlines():
		L = string.split(line)
		str = "dumpe2fs " + L[0]

Comment 3 Adam Stokes 2008-03-03 19:33:51 EST
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.

Comment 4 Adam Stokes 2008-04-09 09:28:00 EDT
Committed to filesys plugin
Comment 5 RHEL Product and Program Management 2008-06-18 11:11:53 EDT
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
Comment 13 errata-xmlrpc 2009-01-20 16:41:32 EST
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.


Note You need to log in before you can comment on or make changes to this bug.