linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ryan Taylor <rptaylor@uvic.ca>
To: "linux-xfs@vger.kernel.org" <linux-xfs@vger.kernel.org>
Subject: xfsdump: too many -f arguments: maximum is 1 when running in miniroot
Date: Tue, 17 Apr 2018 03:08:45 +0000	[thread overview]
Message-ID: <1523934525.20129.96.camel@uvic.ca> (raw)


Hello,

I have a CentOS6 system with kernel 2.6.32-696.23.1.el6.x86_64 and xfsdump-3.0.4-4.el6_6.1.x86_64
(the latest available versions).

When I try to xfsdump I get this error:

$ sudo xfsdump -d 2000 -l 0 -p 30 -L Dump -f /mnt/data2/l0/file0 -f /mnt/data2/l0/file1 /mnt/data1
xfsdump: too many -f arguments: maximum is 1 when running in miniroot
xfsdump: usage: xfsdump [ -a (dump DMF dualstate files as offline) ]
                        [ -b <blocksize> ]
                        [ -c <media change alert program>  ]
                        [ -d <dump media file size>  ]
                        [ -e (allow files to be excluded) ]
                        [ -f <destination> ... ]
                        [ -h (help) ]
                        [ -l <level> ]
                        [ -m (force usage of minimal rmt) ]
                        [ -o (overwrite tape) ]
                        [ -p <seconds between progress reports> ]
                        [ -q <use QIC tape settings> ]
                        [ -s <subtree> ... ]
                        [ -t <file> (use file mtime for dump time ]
                        [ -v <verbosity {silent, verbose, trace}> ]
                        [ -z <maximum file size> ]
                        [ -A (don't dump extended file attributes) ]
                        [ -B <base dump session id> ]
                        [ -E (pre-erase media) ]
                        [ -F (don't prompt) ]
                        [ -I (display dump inventory) ]
                        [ -J (inhibit inventory update) ]
                        [ -L <session label> ]
                        [ -M <media label> ... ]
                        [ -O <options file> ]
                        [ -R (resume) ]
                        [ -T (don't timeout dialogs) ]
                        [ -Y <I/O buffer ring length> ]
                        [ - (stdout) ]
                        [ <source (mntpnt|device)> ]
xfsdump: Dump Status: ERROR

(I need to produce multiple dump files in order to migrate some data under space constraints.
I was planning to produce the dump files on an ext4 filesystem (since you can shrink that), and
restore 1 dump file at a time. After restoring each dump file, I can delete it, shrink the ext4
filesystem to reclaim space, and expand the destination XFS filesystem.)

Why does it think I am running in miniroot? How can this error be avoided?

Thanks,
-rt

-- 
Ryan Taylor
Research Computing Specialist
Research Computing Services, University Systems, University of Victoria

             reply	other threads:[~2018-04-17  3:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-17  3:08 Ryan Taylor [this message]
2018-04-17  6:59 ` xfsdump: too many -f arguments: maximum is 1 when running in miniroot Dave Chinner
2018-04-17 19:55   ` Ryan Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1523934525.20129.96.camel@uvic.ca \
    --to=rptaylor@uvic.ca \
    --cc=linux-xfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).