Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2003 17:57:44 -0400
From:      Barney Wolff <barney@pit.databus.com>
To:        Tomi Vainio - Sun Finland <Tomi.Vainio@Sun.COM>
Cc:        freebsd-current@freebsd.org
Subject:   Re: dump restore problem
Message-ID:  <20030426215744.GA97642@pit.databus.com>
In-Reply-To: <16042.64964.345642.224980@ultrahot.finland.sun.com>
References:  <16042.64964.345642.224980@ultrahot.finland.sun.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 27, 2003 at 12:44:36AM +0300, Tomi Vainio - Sun Finland wrote:
> During my ufs2 migration I've used piped dump restore procedure.  Is
> it normal that block sizes like 512 or 1000 don't work?  Block size
> 512 gives an error and 1000 hangs forever while 126 is working fine.
> 
> dump 0buf 512 - / | restore xbf 512 -

I think you want to leave out the b option and use -a to tell dump not
to try to determine the size of the "tape".  I would also use -rf on
restore, not -xf, and add -C 32 to dump args.  At least that's what
I gleaned from rtfm dump & restore.

-- 
Barney Wolff         http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030426215744.GA97642>