Mikhail T.
2009-Mar-23 19:02 UTC
dump | restore fails: unknown tape header type 1853384566
Hello! 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? The system runs 7.0-STABLE from July 6th, i386. I just tried updating the dump and restore from source (latest 7.x) -- the error is the same... Please, advise. Thanks! -mi
Daniel O'Connor
2009-Mar-23 22:41 UTC
dump | restore fails: unknown tape header type 1853384566
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? Also, do you really want -h 0? That means you skip nodump marked files at a level 0 dump. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090324/380d8cc3/attachment-0001.pgp
Mikhail T.
2009-Mar-24 00:02 UTC
dump | restore fails: unknown tape header type 1853384566
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
Andrew Snow
2009-Mar-24 20:02 UTC
dump | restore fails: unknown tape header type 1853384566
Mikhail T. wrote:> Now can one get /real/ support for the most basic functionality of the > most advanced modern Unix in the world? Thanks,I think before this goes any further, you will need to try rebooting/unmouting it, running fsck on it, and then dump the unmounted partition and see how that goes. - Andrew
Eugene Gladchenko
2009-Mar-26 15:11 UTC
dump | restore fails: unknown tape header type 1853384566
Mikhail, MT> I'm trying to migrate a filesystem from one disk to another using: MT> dump a0hCf 0 32 - /old | restore -rf - MT> (/old is already mounted read-only). The process runs for a while and MT> then stops with: MT> [...] MT> DUMP: 22.85% done, finished in 3:57 at Tue Mar 24 01:03:21 2009 MT> DUMP: 24.66% done, finished in 3:50 at Tue Mar 24 01:00:58 2009 MT> DUMP: 26.44% done, finished in 3:43 at Tue Mar 24 00:59:14 2009 MT> unknown tape header type 1853384566 MT> abort? [yn] MT> Any idea, what's going on? Why can't FreeBSD's restore read FreeBSD's MT> dump's output? Is your /tmp large enough to restore? -- Eugene Gladchenko EVG15-RIPE
Rolf G Nielsen
2009-Mar-26 15:48 UTC
dump | restore fails: unknown tape header type 1853384566
Mikhail T. wrote:> Hello! > > I'm trying to migrate a filesystem from one disk to another using: > > dump a0hCf 0 32 - /old | restore -rf -Try dump -a0 -h 0 -C 32 -f - /old instead. Your command line should work, but I've had trouble with similar ones and have been able to solve it by separating the options.> > (/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? > > The system runs 7.0-STABLE from July 6th, i386. I just tried updating > the dump and restore from source (latest 7.x) -- the error is the same... > > Please, advise. Thanks! > > -mi > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > >-- Sincerly, Rolf Nielsen