xfs
[Top] [All Lists]

Re: [PATCH] xfsrestore: fix multi stream support

To: Rich Johnston <rjohnston@xxxxxxx>
Subject: Re: [PATCH] xfsrestore: fix multi stream support
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Tue, 01 Oct 2013 23:17:35 -0500
Cc: xfs-oss <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <524B99AD.5000408@xxxxxxxxxxx>
References: <524AF8AE.5030300@xxxxxxx> <524B34D4.10807@xxxxxxxxxxx> <524B4119.8020005@xxxxxxx> <524B4677.40200@xxxxxxx> <524B99AD.5000408@xxxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
On 10/1/13 10:57 PM, Eric Sandeen wrote:

> #!/bin/bash
> 
> # paths to binaries under test
> DUMP=/mnt/test2/git/xfsdump/dump/xfsdump
> RESTORE=/mnt/test2/git/xfsdump/restore/xfsrestore
> 
> # what we'll create files in & dump
> DUMPDIR=/mnt/test
> # where we'll restore
> RESTOREDIR=/mnt/test2/restore
> 
> mkdir -p $DUMPDIR/dir
> mkdir -p $RESTOREDIR
> 
> clean () {
>       rm -rf $DUMPDIR/dir/*
>       rm -rf $RESTOREDIR/*x
> }
> 
> clean
> 
> xfs_io -f -c "pwrite 4k 4km" $DUMPDIR/dir/8ksparsefront

whoops typo, that should be "4k 4k" 

-Eric

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