From: Stan Hoeppner <stan@hardwarefreak.com>
To: xfs@oss.sgi.com
Subject: Re: xfsdump INTERRUPT issue
Date: Wed, 05 Dec 2012 20:40:03 -0600 [thread overview]
Message-ID: <50C00583.6000804@hardwarefreak.com> (raw)
In-Reply-To: <68036B67-6AE6-4056-89F5-9549B4E476FD@dhnet.us>
On 12/5/2012 8:08 PM, Jeffrey Ellis wrote:
> Hi, Stan--
>
> You're right. I didn't want to look stupid. Sorry. I'll keep it all on the list from now on.
>
> Thank you for the example. I hope I have this right. So including the -t and -v would be
>
> ~$ xfsdump -J -f -t -v /xfsdump_file /dev/sda0
No. That's not right. I gave you concise separate instructions for
xfsdump and for xfsrestore, and you've commingled the two.
Please thoroughly and thoughtfully re-read my last email.
--
Stan
> Repeat for each mount point, and post the result here?
>
> Thanks again.
> Jeffrey
>
>> ~$ xfsdump -J -f /some_filesystem_path/test_dump /dev/sda6
>
>
>
> Best,
> J.
>
> On Dec 5, 2012, at 8:38 PM, Stan Hoeppner <stan@hardwarefreak.com> wrote:
>
>> On 12/5/2012 1:07 PM, J. Ellis wrote:
>>
>> This should never have gone off list so I'm copying back. If you'd have
>> kept this on list you'd have likely already had an answer to this.
>> Going off list for fear of looking ignorant is not a valid reason to do
>> so. In fact there are very few reasons to ever go off list. All it
>> does is take people out of the loop who are watching the thread and may
>> be willing to jump in at some point to help. You've short circuited
>> that by going off list.
>>
>>> I just read the man page again. There doesn't seem to be any examples I can
>>> find to write the dump to a file. I couldn't find a -t option in the man at
>>> all, so maybe the ones I'm finding aren't up to date. Here's the only
>>> example I can find, and I don't know if this would actually work:
>>>
>>> xfsdump -f /usr/tmp/monday_backup -v silent -J -s \ people/fred/Makefile -s
>>> people/fred/Source /usr
>>
>> This is really simple. Using my previous example, we want to dump to a
>> test file and not update the inventory. So we have something like:
>>
>> ~$ xfsdump -J -f /some_filesystem_path/test_dump /dev/sda6
>>
>> This dumps the XFS filesystem on /dev/sda6 to a file. Don't write the
>> dump file to the filesystem you're dumping. Preferably the XFS you're
>> dumping is on one disk or array and the target file will be written to a
>> different disk or array. Dumps are IO intensive.
>>
>> I clearly stated the "-t" option in the context of xfsrestore:
>>
>> -t 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.
>>
>> This allows you to do a test run without actually writing any files
>> during the restore. The goal here is to test xfsdump and xfsrestore on
>> your system to see where errors are cropping up. You don't actually
>> want to restore the dumped filesystem at this point.
>>
>> The "-v" option simply keeps the "-t" from spamming a million file names
>> to your console during the restore operation.
>>
>> --
>> Stan
>>
>>
>>> on 12/4/12 10:32 PM, Stan Hoeppner at stan@hardwarefreak.com wrote:
>>>
>>>> On 12/4/2012 7:18 PM, J. Ellis wrote:
>>>>> Hi, Stan--
>>>>>
>>>>> Ok, I truly apologize for my ignorance, but I don't know how to dump the
>>>>> contents to a file. Is it something like:
>>>>>
>>>>> xfsdump -J - somefile_xfsdump.txt
>>>>
>>>> ~$ man xfsdump
>>>>
>>>> Look at option "-f".
>>>>
>>>>> xfsrestore -J - somefile_xfsrestore.txt
>>>>
>>>> ~$ man xfsrestore
>>>>
>>>> See options "-f" "-t" and "-v".
>>>>
>>>> The point of this exercise I believe is to see what errors are thrown by
>>>> xfsdump or xfsrestore when they are executed independently, vs through a
>>>> pipe. Do note that this may not be the final step in testing before you
>>>> have an answer. Post any errors or informational output that results
>>>> from these commands.
>>>>
>>>> Note that the file written by xfsdump is going to be about the same size
>>>> as the filesystem being dumped. I.e. if the filesystem being dumped is
>>>> 1TB then you need 1TB of free space on the device where the target
>>>> directory resides--you're dumping an entire XFS filesystem into a single
>>>> file. Also, be sure to use "-t" so xfsrestore doesn't actually write
>>>> anything. Did you read "-v"?
>>
>
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2012-12-06 2:37 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CCE505AA.B05B7%jellis@dhnet.us>
2012-12-06 1:38 ` xfsdump INTERRUPT issue Stan Hoeppner
2012-12-06 2:08 ` Jeffrey Ellis
2012-12-06 2:40 ` Stan Hoeppner [this message]
[not found] ` <6F909666-9DFE-43F1-973D-170B892F9C5B@gmail.com>
2012-12-06 9:29 ` Stan Hoeppner
2012-12-06 10:35 ` Jeffrey Ellis
2012-12-07 10:16 ` Dave Chinner
2012-12-07 16:15 ` Jeffrey Ellis
2012-12-07 22:59 ` Dave Chinner
2012-12-07 23:16 ` Jeffrey Ellis
2012-12-07 21:04 ` Stan Hoeppner
2012-12-07 22:58 ` Dave Chinner
2012-12-07 23:26 ` Stan Hoeppner
2012-12-08 1:31 ` Dave Chinner
2012-12-01 16:03 J. Ellis
2012-12-01 17:39 ` Jeffrey Ellis
2012-12-02 1:40 ` Stan Hoeppner
2012-12-03 16:49 ` J. Ellis
2012-12-03 21:34 ` Dave Chinner
2012-12-03 22:27 ` Jeffrey Ellis
2012-12-05 0:32 ` Stan Hoeppner
2012-12-05 1:18 ` J. Ellis
2012-12-05 3:32 ` Stan Hoeppner
2012-12-04 19:46 ` J. Ellis
2012-12-04 22:56 ` Stan Hoeppner
2012-12-04 23:07 ` Jeffrey Ellis
2012-12-05 22:19 ` Dave Chinner
2012-12-02 21:10 ` Dave Chinner
2012-12-02 21:16 ` Jeffrey Ellis
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=50C00583.6000804@hardwarefreak.com \
--to=stan@hardwarefreak.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.