From: Bill Kendall <wkendall@sgi.com>
To: Tommy Wu <wu.tommy@gmail.com>
Cc: xfs <xfs@oss.sgi.com>
Subject: Re: xfsrestore will create orphanage directory when use -t
Date: Fri, 17 Feb 2012 14:50:46 -0600 [thread overview]
Message-ID: <4F3EBDA6.7070108@sgi.com> (raw)
In-Reply-To: <CAGdb-8fC4-3swyyfP3xO=camgzDjR5GYV3qoaB1w+xAfiNeYPw@mail.gmail.com>
On 02/14/2012 11:21 AM, Tommy Wu wrote:
> from the xfsdump man page:
> xfsrestore also generates a directory named orphanage in the dest
> directory. xfsrestore removes this directory after completing a simple
> restore. However, if orphanage is not empty, it is not removed. This
> can happen if files present on the dump media are not referenced by
> any of the restored directories. The orphanage has an entry for each
> such file. The entry name is the file's original inode number, a ".",
> and the file's generation count modulo 4096 (only the lower 12 bits of
> the generation count are used).
>
> and the -t option from xfsdump man page:
> Displays the contents of the dump, but does not create or modify any
> files or directories. It may be desirable to set the verbosity level
> to silent when using this option.
>
> But when we use -t option with xfsrestore, it still create orphanage
> directory in current directory (because no dest directory assign).
> and if it's not empty, it is not removed.
>
> This is a bug or it's a feature?
I can see code where this would happen, except that it would appear
to require both -r and -t to be used, and xfsrestore doesn't allow
that.
If you send the command line you used I can take another look.
Bill
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2012-02-17 20:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-14 17:21 xfsrestore will create orphanage directory when use -t Tommy Wu
2012-02-17 20:50 ` Bill Kendall [this message]
2012-02-18 0:22 ` Tommy Wu
2012-02-18 0:34 ` Tommy Wu
2012-02-22 18:31 ` Bill Kendall
2012-02-23 1:16 ` Tommy Wu
2012-02-22 18:55 ` [PATCH] xfsdump: dirs being created in list-only restore Bill Kendall
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=4F3EBDA6.7070108@sgi.com \
--to=wkendall@sgi.com \
--cc=wu.tommy@gmail.com \
--cc=xfs@oss.sgi.com \
/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