dump restore problem

Barney Wolff barney at pit.databus.com
Sat Apr 26 14:57:46 PDT 2003


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.


More information about the freebsd-current mailing list