Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 1999 11:53:41 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        freebsd-questions@FreeBSD.ORG (FreeBSD Questions)
Subject:   Jaz Disktabs
Message-ID:  <199902191653.LAA09829@cc942873-a.ewndsr1.nj.home.com>

next in thread | raw e-mail | index | archive | help
I have two questions about /etc/disktab entries for Jaz disks.

First, I have one for 1 GB Jazes,

# Copied from http://www.freebsd.org/cgi/getmsg.cgi?fetch=475386+478862+/usr/local/www/db/text/1997/freebsd-questions/19970105.freebsd-questions
jaz|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:

After using this disktab, disklabel says the following,

# disklabel -r sd0
# /dev/rsd0c:
type: SCSI
disk: jaz
label: 
flags: removeable
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 1021
sectors/unit: 2091008
rpm: 5394
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

3 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  2090976        0    4.2BSD     1024  4096     0   # (Cyl.    0 - 1020*)
  c:  2090976        0    unused        0     0         # (Cyl.    0 - 1020*)

But the following gets sent to the console,

Feb 19 11:51:04 pc252 /kernel: sd0: cannot find label (no disk label)
Feb 19 11:51:04 pc252 /kernel: sd0s1: cannot find label (no disk label)

If I try to re-write the label,

# disklabel -r -w sd0 jaz1gb
Feb 19 11:53:48 pc252 /kernel: sd0: cannot find label (no disk label)
Feb 19 11:53:48 pc252 /kernel: sd0s1: cannot find label (no disk label)
disklabel: No space left on device

What exactly is going on here? The disk seems to work fine in spite of
all this. It mounts and I can read-write. Also, why does sectors/unit
not match the total size? Shouldn't they.

Actually, I guess I have a lot more than two questions, but here is
the 'second' question:

Anyone have a disktab entry for 2 GB Jazes? Or can someone tell me how
to modify the 1 GB properly for 2 GB Jazes?

Thanks.
-- 
Crist J. Clark                           cjclark@home.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902191653.LAA09829>