From owner-freebsd-questions Wed Jan 8 13:38:00 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA01156 for questions-outgoing; Wed, 8 Jan 1997 13:38:00 -0800 (PST) Received: from nora.pcug.co.uk (Nora.PCUG.CO.UK [192.68.174.71]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id NAA01147 for ; Wed, 8 Jan 1997 13:37:53 -0800 (PST) Received: from imdb.demon.co.uk by nora.pcug.co.uk id aa28175; 8 Jan 97 21:37 GMT Date: Wed, 8 Jan 1997 21:00:57 +0000 (GMT) From: Rob Hartill X-Sender: robh@localhost To: Jerry Alexandratos cc: freebsd-questions@freebsd.org Subject: RE: Jaz drive. How to ? In-Reply-To: <9701081910.aa26142@stimpy.eecis.udel.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Thanks Jerry, the disktab was just what I needed to get the ball rolling. For the benefit of the archives, here's a step by step to create a ready to use Jaz cartridge that uses the entire 1Gb in one partition. 0) Find out where your jaz drive lives: Look for 'iomega' in /var/log/messages e.g. Jan 8 10:49:56 localhost /kernel: (ahc0:5:0): "iomega jaz 1GB H$70" type 0 remo vable SCSI 2 Jan 8 10:49:56 localhost /kernel: sd1(ahc0:5:0): Direct-Access ^^^ Later steps use "sdX" instead of "sd1" to try to avert disasters ============== 1) Low-level format the cartridge with: scsiformat -w sdX (this takes several minutes) ============== 2) Add a new entry to /etc/disktab jaz1gb|Iomega Jaz 1GB - FreeBSD: \ :ty=removable:dt=SCSI:se#512:nt#64:ns#32:nc#1021:rm#5394:\ :pa#2090976:oa#0:ba#4096:fa#1024:ta=4.2BSD: \ :pc#2090976:oc#0: ============== 3) Label the disk disklabel -r -w sdX jaz1gb (this takes several minutes) ============== 4) Prepare a filesystem on the disk newfs /dev/sdXc ============== At this point you can do whatever you prefer, but here's what I did.. 5) add the disk to /etc/fstab e.g. /dev/sdXa /jaz ufs rw,noauto 1 1 mkdir /jaz ============== 6) Mount the new disk when needed mount /jaz corrections/improvements welcomed. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thanks again to Jerry for getting me started. I was going around in circles. > Use scsiformat to low-level format the jaz > disks. After that, treat it like any other scsi-drive (eg disklabel and > newfs it). I use the following disktab: > > jaz1gb|Iomega Jaz 1GB - FreeBSD: \ > :ty=removable:dt=SCSI:se#512:nt#64:ns#32:nc#1021:rm#5394:\ > :pa#2090976:oa#0:ba#4096:fa#1024:ta=4.2BSD: \ > :pc#2090976:oc#0: > > Obviously I use it as just on big partition. You can always split it up > however you like it (especially if you like making disktabs off the top > of your head 8). Or, try using sysinstall to do the partitioning and > labelling. > > --Jerry > > 8) Jerry Alexandratos % - % "Nothing inhabits my (8 > 8) alexandr@louie.udel.edu % - % thoughts, and oblivion (8 > 8) darkstar@strauss.udel.edu % - % drives my desires." (8 > -- Rob Hartill. Internet Movie Database Ltd. http://www.imdb.com/