xfs
[Top] [All Lists]

Re: xfsrestore over ssh?

To: Richard Hartmann <richih.mailinglist@xxxxxxxxx>
Subject: Re: xfsrestore over ssh?
From: Donald Douwsma <donaldd@xxxxxxx>
Date: Tue, 22 Jul 2008 16:20:58 +1000
Cc: Timothy Shimmin <tes@xxxxxxx>, Bill Kendall <wkendall@xxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <2d460de70807212143j1f80e016y6a48cab966091215@xxxxxxxxxxxxxx>
References: <2d460de70807211317m75bc236y403d8fa57514262e@xxxxxxxxxxxxxx> <4884F2A5.5050507@xxxxxxx> <2d460de70807212002k1a95706ic8291e2abd8796b8@xxxxxxxxxxxxxx> <48855B16.4050208@xxxxxxx> <2d460de70807212143j1f80e016y6a48cab966091215@xxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)
Richard Hartmann wrote:
On Tue, Jul 22, 2008 at 05:59, Timothy Shimmin <tes@xxxxxxx> wrote:


xfsrestore just uses standard posix calls for the most part to
restore the files (seeks, writes, etc...) to a mounted filesystem -
and in many circumstances can restore on a non-xfs mounted filesystem.
It is _NOT_ a low level file system restorer to an unmounted filesystem
like some other restorers.

True, this is why I told it to use /mnt/sda3, not a raw device :)

:), looks like we both misread that.

Should be working then. If you hexdump the start of the dump does it look
reasonable? It should be something like:

molten:/home/donaldd # hexdump -C dump | head
00000000  78 46 53 64 75 6d 70 30  00 00 00 02 02 05 e8 49  |xFSdump0.......I|
00000010  48 85 7c cc 00 00 00 00  00 00 00 00 0e 86 21 36  |H.|...........!6|
00000020  86 06 e5 1d 17 32 49 a0  ad ea 5d 1d a2 7c d9 a3  |.....2I...]..|..|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000100  6d 6f 6c 74 65 6e 00 00  00 00 00 00 00 00 00 00  |molten..........|
00000110  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200  73 6f 6d 65 6c 61 62 65  6c 00 00 00 00 00 00 00  |somelabel.......|
00000210  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|


<Prev in Thread] Current Thread [Next in Thread>