*BSD News Article 80203


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!cancer.vividnet.com!hunter.premier.net!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!surfnet.nl!news.unisource.nl!xs4all!plm.xs4all.nl!plm
From: Peter Mutsaers <plm@xs4all.nl>
Subject: Re: SCSI tape block size
X-Newsreader: Gnus v5.2.39/Emacs 19.34
To: j@uriah.heep.sax.de
Sender: plm@plm.xs4all.nl
Lines: 32
Organization: My Unorganized Home
Message-ID: <87d8ywxp6u.fsf@plm.xs4all.nl>
References: <8720ffxq0j.fsf@plm.xs4all.nl> <536grc$ba@uriah.heep.sax.de>
Date: Sun, 6 Oct 1996 12:16:57 GMT

>> On 5 Oct 1996 20:35:56 GMT, j@uriah.heep.sax.de (J Wunsch) said:

    JW> restore(8) will figure it out by itself.

I used cpio since dump/restore does only backup 1 filesystem. I don't
trust to use /dev/nrst0 and put several dumps after each other on 1
tape. How do you deal with multiple (possibly) small filesystems and
dump/restore?

    JW> Otherwise, do a:

    JW> 	dd if=/dev/rst0 of=/dev/null bs=64k count=1

    JW> ...and see what dd tells you:

    JW> j@uriah 158% dd if=/dev/rst0 of=/dev/null bs=64k count=1
    JW> 0+1 records in
    JW> 0+1 records out
    JW> 32768 bytes transferred in 2 secs (16384 bytes/sec)

    JW> (Note that 64 KB is the largest blocksize currently supported inside
    JW> the kernel by physio(), so there's no use in making the parameter
    JW> above larger.)

Reading this it is exactly as I thought is should be, yet I didn't see
the blocksize. The actual reasone was simple: The SCSI driver (for NCR
815) was failing! Restarting the generic install kernel with -c and
disabling the probing for all unneeded devices solved it.

So: the generic kernel (2.1.5 release and current) on the boot floppy
does not work well with SCSI tapes connected through an NCR 815. Is
this a known problem?
-- 
Peter Mutsaers  |  Abcoude (Utrecht), |  Trust is a good quality
plm@xs4all.nl   |  the Netherlands    |  for other people to have