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 1258278 - xfsdump prompts for label after being given one on the command line
Summary: xfsdump prompts for label after being given one on the command line
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: xfsdump
Version: 7.1
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Eric Sandeen
QA Contact: Filesystem QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-30 22:18 UTC by Todd
Modified: 2015-08-31 13:13 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-31 13:13:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Todd 2015-08-30 22:18:06 UTC
Dear Red Hat,

I am coming from the community: Scientific Linux 7.1

Please forgive me if this is as intended and not a bug.

This is what (one of) my xfsdump run strings looks like:

# /usr/sbin/xfsdump -M 1 -l 0 -f /lin-bak/2015-08-29_homeXfsDump.gz  /home

This is the Manual:

       -M label [ -M label ... ]
            Specifies  a  label  for the first media object (for example, tape
            cartridge) written on the  corresponding  destination  during  the
            session.   It  can  be  any  arbitrary string up to 255 characters
            long.  Multiple media object labels can be specified, one for each
            destination.

Problem: I still get prompted for a label, even though I have already given xfsdump a label on the command line: -M 1

Being prompted makes me thing something is wrong.  And it slows the process down waiting to time out.

Thank you for your consideration,
-T

Comment 2 Eric Sandeen 2015-08-31 13:13:41 UTC
You're being asked:

 ============================= dump label dialog ==============================

please enter label for this dump session (timeout in 300 sec)
 ->

You are specifying the media label but not the session label; from xfsdump(8):

       -L session_label
            Specifies a label for the dump session.  It can be  any  arbitrary
            string up to 255 characters long.


# xfsdump -M media -L label -l 0 -f /tmp/blargh /mnt/test
xfsdump: using file dump (drive_simple) strategy
xfsdump: version 3.0.4 (dump format 3.0) - Running single-threaded
xfsdump: level 0 dump of bp-05.lab.msp.redhat.com:/mnt/test
xfsdump: dump date: Mon Aug 31 08:10:35 2015
xfsdump: session id: daceed20-2400-47a1-b179-a789a7f0c4f2
xfsdump: session label: "label"
xfsdump: ino map phase 1: constructing initial dump list
xfsdump: ino map phase 2: skipping (no pruning necessary)
xfsdump: ino map phase 3: skipping (only one dump stream)
xfsdump: ino map construction complete
xfsdump: estimated dump size: 26374784 bytes
xfsdump: creating dump session media file 0 (media 0, file 0)
xfsdump: dumping ino map
xfsdump: dumping directories
xfsdump: dumping non-directory files
xfsdump: ending media file
xfsdump: media file size 26460808 bytes
xfsdump: dump size (non-dir files) : 26438856 bytes
xfsdump: dump complete: 0 seconds elapsed
xfsdump: Dump Status: SUCCESS
#


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