Zip Drive on Suns

From: John Williams (williams@uni-duesseldorf.de)
Date: Fri Oct 04 1996 - 10:16:49 CDT


        This is the file describing the processes involved in mounting a Zip 100
Mb drive on a Sun SPARC running Solaris 2.0. You can use the file that I
have recently sent to the sun_managers group to create the mount and umount
command that allows non-root users to mount and unmount the zip disks to
minimise the amount of work that you have to do as an administrator
(something we all need to do!).
        If there are any problems, please do not hesitate to contact me by email at:
        williams@uni-duesseldorf.de

(1) Set the SCSI ID Switch:

(2) For Solaris 2.0- SCSI IDs 3 & 7 are reserved, use any other unused SCSI
ID setting.

(3) Attach the Iomega Drive to your SCSI adaptor or chain:

(4) Create a Device Entry Point (For Solaris 2.0 ONLY), ie: /zip and make
sure that you change the permissions so that all users can access this
mount point.

(5) After attaching the Iomega device and starting your SPARC station,
enter the following command.

(6) At the OK prompt type: boot -r (This checks all of the SCSI devices
attached)

(7) Entries for format.dat
Enter the following paragraph into the /etc/format.dat file. Use the system
editor and be careful not to change other file entries. THE ENTRIES ARE
CASE SENSITIVE!

disk_type = "Zip 100" \
        : ctlr = SCSI \
        : ncyl = 2406 : acyl = 2 : pcyl = 2408 : nhead = 2 : nsect = 40 \
        : rpm = 3600 : bpt = 20480
partition = "Zip 100" \
        : disk = "Zip 100" : ctlr = SCSI \
        : 2 = 0, 192480

1. Insert the correct Iomega disk in the Iomega drive prior to booting the
SPARC station.
2. Run the SunOS format program at the # prompt type: format
In the following examples, X represents the sd number shown on your monitor
for the drive that contains the working disk.
3. Select the sd number related to the drive that contains the disk you are
formatting. (If the disk has never been formatted, the program should enter
the Drive Type menu. Select the appropriate disk type from the list.)
4. Use the partition sub-command to choose the partition information
5. Use the print option to verify the existence of the C partition
6. Use the label sub-command to write a label on the disk
7. Use the quit command twice to exit the format program
8. Run the newfs utility to make a file system on the disk.
        At the # prompt type: newfs -v /dev/rsdXc

Use a Disk:
1. After the file system has been placed on the disk, you can mount it into
the UNIX file system. (Replace mount_point with an appropriate mountable
directory eg. /mnt) At the # prompt type: mount /dev/sdXc /mount_point
Note: Before removing the disk, you must unmount it or the data may be lost
and the mount point unusable until another reboot.
2. When you are through using the disk, it can be removed from the UNIX
file system. At the # prompt type: umount /dev/sdXc or: umount /mount_point
3. To check the file system, make sure the disk is not mounted and use the
fsck command. At the # prompt type: fsck /dev/rsdXc

vfstab entry follows:
/dev/sd6c /export/home/zip ufs suid,rw,dev=800032 834118413

The details for this entry can be found in /etc/mnttab once the device has
been mounted.

Instiute of Cardiac Physiology
Heinrich-Heine-University
40225 Düsseldorf
Ph: (0211) 8112785
Fax: (0211) 8112672



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:11 CDT