Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2009 21:15:49 -0400
From:      Yoshihiro Ota <ota@j.email.ne.jp>
To:        "Mikhail T." <mi+thun@aldan.algebra.com>
Cc:        Daniel O'Connor <doconnor@gsoft.com.au>, freebsd-stable@freebsd.org, fs@freebsd.org
Subject:   Re: dump | restore fails: unknown tape header type 1853384566
Message-ID:  <20090324211549.27e65b90.ota@j.email.ne.jp>
In-Reply-To: <49C87E0D.5090501@aldan.algebra.com>
References:  <49C83673.3000604@aldan.algebra.com> <200903241537.36515.doconnor@gsoft.com.au> <49C87E0D.5090501@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Mar 2009 02:30:37 -0400
"Mikhail T." <mi+thun@aldan.algebra.com> wrote:

> Daniel O'Connor написав(ла):
> > On Tuesday 24 March 2009 11:55:07 Mikhail T. wrote:
> >   
> >> I'm trying to migrate a filesystem from one disk to another using:
> >>
> >>     dump a0hCf 0 32 - /old | restore -rf -
> >>
> >> (/old is already mounted read-only). The process runs for a while and
> >> then stops with:
> >>
> >>     [...]
> >>       DUMP: 22.85% done, finished in 3:57 at Tue Mar 24 01:03:21 2009
> >>       DUMP: 24.66% done, finished in 3:50 at Tue Mar 24 01:00:58 2009
> >>       DUMP: 26.44% done, finished in 3:43 at Tue Mar 24 00:59:14 2009
> >>     unknown tape header type 1853384566
> >>     abort? [yn]
> >>
> >> Any idea, what's going on? Why can't FreeBSD's restore read FreeBSD's
> >> dump's output?
> >>     
> >
> > What happens if you don't use the cache?
> >   
> No big difference:
> 
>     dump a0f  - /old | restore -rf -
>     [...]
>       DUMP: 17.25% done, finished in 3:27 at Tue Mar 24 05:42:00 2009
>       DUMP: 20.36% done, finished in 3:09 at Tue Mar 24 05:28:13 2009
>       DUMP: 23.83% done, finished in 2:50 at Tue Mar 24 05:14:32 2009
>     unknown tape header type -621260722
>     abort? [yn]
> 
> Looks like a junk value somewhere... Unitialized variable or some such.
> 
>     -mi

-a option seems to be the problem.
Try without it.

Hiro



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