restore: bad block size 5632 between different major versions

Dmitry Morozovsky marck at rinet.ru
Thu Jul 24 17:15:40 UTC 2014


Colleagues,

I'm a bit stumbled.

prerequisites:

- backup server, stable/9 (a bit obsoleted, but this is unrelated to the 
problem)
- bunch of servers of different branches, using UFS, backing 'em up with 
/sbin/dump over ssh

for at least one pair, I have misterious situation: restore can work on the 
own base, but not on backup server, even (!) USING their own /rescue/restore:

** on backup server:
backup at whale:/B/dump/lion> uname -r
9.1-STABLE
backup at whale:/B/dump/lion> cat 5-var.dgz.?? | zcat | ./restore -t -v -f -
Verify tape and initialize maps
Dump   date: Thu Jul 24 06:57:04 2014
Dumped from: Wed Jul 23 06:57:04 2014
Level 5 dump of /var on lion.rinet.ru:/dev/da0e
Label: none
bad block size 5632

** on original machine, copied backup file there:
root at lion:~backup# uname -r
7.2-RELEASE-p3
root at lion:~backup# cat 5-var.dgz.?? | zcat | restore -t -v -f - | head
Level 5 dump of /var on lion.rinet.ru:/dev/da0e
Label: none
Verify tape and initialize maps
Dump   date: Thu Jul 24 06:57:04 2014
Dumped from: Wed Jul 23 06:57:04 2014
Extract directories from tape
Initialize symbol table.
dir          2  .
dir          3  ./.snap
dir    1860608  ./backups
dir    1860613  ./backups/mysql
dir    1978368  ./backups/mysql/trf

** copied /rescue/restore from lion to whale, placing it at rescue7:
backup at whale:/B/dump/lion> cat 5-var.dgz.?? | zcat | /rescue7/restore -t -v -f -
Verify tape and initialize maps
Dump   date: Thu Jul 24 06:57:04 2014
Dumped from: Wed Jul 23 06:57:04 2014
Level 5 dump of /var on lion.rinet.ru:/dev/da0e
Label: none
bad block size 5632

WHAT?!


-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-stable mailing list