[PATCH] xfsrestore: fix multi stream support

Eric Sandeen sandeen at sandeen.net
Tue Oct 1 23:17:35 CDT 2013


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



More information about the xfs mailing list