Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 1997 01:01:11 -0800 (PST)
From:      Josef Grosch <jgrosch@superior.truenorth.org>
To:        freebsd-hackers@freebsd.org
Subject:   ffs on ZIP drive (fwd)
Message-ID:  <199701210901.BAA08351@superior.truenorth.org>

next in thread | raw e-mail | index | archive | help
----- Forwarded message from jgrosch -----

>From jgrosch Tue Jan 21 00:59:33 1997
Subject: ffs on ZIP drive
To: freebsd-hackers
Date: Tue, 21 Jan 1997 00:59:33 -0800 (PST)
Reply-To: jgrosch@sirius.com
X-Mailer: ELM [version 2.4ME+ PL28 (25)]

I recently added a SCSI ZIP drive to my FreeBSD system. I've taken a stab
at at putting a file system on one of the disks. The following steps will
place a file system on the disk.

    *   scsiformat sd2
        - Takes about 7 to 9 minutes to format

    *   disklabel -w -r sd2 zipdisk
        - The following entry is in my /etc/disktab. I've forgotten who
          posted this to the mail list.

            zipdisk|100 MB ZIP disk:\
                    :ty=removeable:dt=SCSI:\
                    :se#512:nt#64:ns#32:nc#96:\
                    :pa#196576:oa#0:ta=4.2BSD:\
                    :pc#196576:oc#0:

    *   newfs /dev/rsd2c

    *   mount /dev/sd2c /mnt


This is all well and good. It works nicely but I have two problems: the
first is when I mount the disk I get the following on my xconsole

    sd2(ahc0:5:0): UNIT ATTENTION asc:28,0
    sd2(ahc0:5:0):  Not ready to ready transition, medium may have changed
    sd2(ahc0:5:0): ILLEGAL REQUEST asc:24,0 Invalid field in CDB
    sd2 could not mode sense (4). Using ficticious geometry
    sd2: invalid primary partition table: no magic
    sd2: raw partition size != slice size
    sd2: start 0, end 196607, size 196608
    sd2c: start 0, end 196575, size 196576

the other problem is 

superior# df .
Filesystem  1024-blocks     Used    Avail Capacity  Mounted on
/dev/sd2c         95343        1    87715     0%    /mnt
superior# 

It's bad enough that you don't get 100 meg that you would think but where
did the other 7.6 meg go to ? I understand that some gets lost in laying
out the UNIX file system but this does seem exessive. I'm sure I doing
something wrong, any ideas ?


Josef

-- 
Josef Grosch       | Laugh while you can, monkey boy ! |    FreeBSD 2.1.6
jgrosch@sirius.com |          - John Warfin -          | UNIX for the masses

----- End of forwarded message from jgrosch -----

-- 
Josef Grosch       | Laugh while you can, monkey boy ! |    FreeBSD 2.1.6
jgrosch@sirius.com |          - John Warfin -          | UNIX for the masses



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