Subject: Re: dump problem
To: Wojciech Puchar <wojtek@chylonia.3miasto.net>
From: Greg Oster <oster@cs.usask.ca>
List: netbsd-users
Date: 12/20/2001 08:49:55
Wojciech Puchar writes:
> > >
> > > until here all is right making about 320kB of data in output file
> > >
> > >   DUMP: dumping (Pass IV) [regular files]
> > >
> > > and now it start working forever giving no output.....
> > >
> > > what's wrong. i'm using dump on 8 similar machines without problems
> >
> > What does:
> >
> >  iostat wd0 -i 1 | head -20
> >
> 
>       tty            wd0             cpu
>  tin tout  KB/t t/s MB/s  us ni sy in id
>  702    2  3.85   0 0.00   2  0  1  0 97
>   55  122  2.00  70 0.14   8  0 10  7 76
>   55   41  2.00  53 0.10   4  0  7  3 86
[snip]
> 
> and uptime:
> 
>  8:46AM  up 1 day, 35 mins, 2 users, load averages: 1.18, 0.54, 0.26
> 
> 
> 
> > say while it's taking forever?
> 
> waited 2 hours - did nothing still working

Ok.  Instead of doing a dump, what does:

 dd if=/dev/rwd0a of=/dev/null bs=1m

do?  Does it complete?  What does the above 'iostat ...' line show when the 
dd is doing it's thing?  (Just trying to make sure that it's not a bad bit of 
disk that manages to get read before the timeouts kick in...)

Later...

Greg Oster