Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!linus!decvax!decwrl!sun!shannon From: shannon@sun.uucp (Bill Shannon) Newsgroups: net.unix-wizards Subject: Re: minor bug in dump, can cause system to hang. Message-ID: <2856@sun.uucp> Date: Sat, 5-Oct-85 17:56:09 EDT Article-I.D.: sun.2856 Posted: Sat Oct 5 17:56:09 1985 Date-Received: Mon, 7-Oct-85 07:15:42 EDT References: <1763@brl-tgr.ARPA> <14694@onfcanim.UUCP> Organization: Sun Microsystems, Inc. Lines: 19 > In article <1763@brl-tgr.ARPA> davet@RAND-UNIX.ARPA (Dave Truesdell) writes: > > When doing dumps from a raw device, dump does not force all reads > > to be done in multiples of DEV_BSIZE byte chunks. In most cases > > drivers seem to handle this correctly, but one obscure case has > > caused one of our systems (a VAX 11/785 running 4.2BSD) to hang. > > But why fix dump when the problem is almost certainly in the disk driver? Because: 1. If you read the man pages for the disk devices you will see that they strongly suggest that you do reads in multiples of 512 (== DEV_BSIZE) when reading the raw device. 2. Not all disk controllers on all machines are capable of reading partial sectors. The bug is in dump, and should be fixed there. Bill Shannon