strange behavior of restore(8)

Victor Sudakov vas at mpeks.tomsk.su
Sun Oct 23 16:13:18 UTC 2011


Victor Sudakov wrote:
> > >
> > > I am trying to restore a UFS2 zero level dump sized about 51G.
> > > restore has created 6105 directories and no files at all, and now is
> > > waiting forever in the runnable state.
> > 
> > I don't have any specific advice here, but if it were me I think my
> > next troubleshooting step would be to attach truss to the restore
> > process after it gets "stuck," to try to see exactly what it's doing.
> > That may give you a clue as to why it's taking so long and whether
> > it's actually making any progress.
> 
> It's doing something like that. I should have piped the output
> through uniq not to clutter the list, but on second thought, I decided
> not to:
> 
> # truss -p 18568
> lseek(4,0x0,SEEK_CUR)				 = 25395100 (0x1837f9c)
> lseek(4,0x0,SEEK_CUR)				 = 25395100 (0x1837f9c)
> lseek(4,0x0,SEEK_CUR)				 = 25395100 (0x1837f9c)
> lseek(4,0x0,SEEK_CUR)				 = 25395100 (0x1837f9c)

restore has been running for more than 48 hours now. Whatever is the
matter, it is unacceptable as a backup solution.

I will try restoring on an amd64 system tomorrow just to see if it
will make any difference.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru


More information about the freebsd-questions mailing list