Date: Wed, 8 Jan 1997 21:00:57 +0000 (GMT) From: Rob Hartill <robh@imdb.com> To: Jerry Alexandratos <alexandr@louie.udel.edu> Cc: freebsd-questions@freebsd.org Subject: RE: Jaz drive. How to ? Message-ID: <Pine.BSF.3.91.970108202059.245A-100000@localhost> In-Reply-To: <9701081910.aa26142@stimpy.eecis.udel.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970108202059.245A-100000>
