RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1098889 - xfs_db -c "sb 0" -c "p dblocks" -c "p blocksize" /dev/sda1
Summary: xfs_db -c "sb 0" -c "p dblocks" -c "p blocksize" /dev/sda1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: python-blivet
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: David Lehman
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-19 07:09 UTC by Xiaowei Li
Modified: 2021-09-03 14:09 UTC (History)
3 users (show)

Fixed In Version: python-blivet-0.61.0.1-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-05 14:06:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0313 0 normal SHIPPED_LIVE python-blivet bug fix and enhancement update 2015-03-05 17:35:49 UTC

Description Xiaowei Li 2014-05-19 07:09:50 UTC
Description of problem:


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

How reproducible:


Steps to Reproduce:
1. install OS to my system, then check the program.log, find some log is strange
2.
3.

Actual results:

06:33:19,318 INFO program: Running... xfs_db -c "sb 0" -c "p dblocks" -c "p blocksize" /dev/sda1
06:33:19,428 INFO program: command "sb 0" not found
06:33:19,429 INFO program: command "p dblocks" not found
06:33:19,430 INFO program: command "p blocksize" not found
06:33:19,431 DEBUG program: Return code: 0


seems like the xfs_db does not run successfully?? 

here is the whole program.log
http://lab-02.rhts.eng.nay.redhat.com/beaker/logs/recipes/1358+/1358768/program.log

Expected results:


Additional info:

Comment 1 Xiaowei Li 2014-05-19 07:13:40 UTC
you can recreate this issue on any system. if xfs_db run successfully it should return the right value.

# xfs_db -c "sb 0" -c "p dblocks" -c "p blocksize" /dev/mapper/mpathb2
dblocks = 5114624
blocksize = 4096

Comment 3 David Shea 2014-05-19 13:52:05 UTC
xfs_db is being run with extra double-quote characters in the command.

Comment 4 David Shea 2014-05-19 14:29:25 UTC
Fixed in upstream commit 7d09fd35cb9ca0e521480e8e358ab7a57834a844

Comment 6 Jan Stodola 2015-01-12 13:42:53 UTC
Retested with python-blivet-0.61.0.20-1.el7, this issue is fixed:

[root@localhost ~]# grep xfs_db -A 3 /var/log/anaconda/anaconda.program.log 
15:39:14,644 INFO program: Running... xfs_db -c sb 0 -c p dblocks -c p blocksize /dev/vda1
15:39:14,700 INFO program: dblocks = 128000
15:39:14,700 INFO program: blocksize = 4096
15:39:14,700 DEBUG program: Return code: 0
--
15:39:15,627 INFO program: Running... xfs_db -c sb 0 -c p dblocks -c p blocksize /dev/mapper/rhel-root
15:39:15,641 INFO program: dblocks = 2220032
15:39:15,641 INFO program: blocksize = 4096
15:39:15,642 DEBUG program: Return code: 0
[root@localhost ~]#

Moving to VERIFIED.

Comment 9 errata-xmlrpc 2015-03-05 14:06:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0313.html


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