CSCS Computer Lab Documentation: Using the Iomega Drives
The following contains procedures for using the Iomega zip and jaz drives.
( mercato has both a zip and a jaz, lupo has a zip ).
If you bring a *formatted* zip or jaz disk from home, follow one of the
procedures outlined below to access it in the CSCS Lab. If you brought an
unformatted zip or jaz disk you will need to ask one of the system
administrators to format it before being able to use it.
GUI Instructions (recommended)
Insert your disk into the drive.
Right click on the desktop, select "Disks" and then select either jaz or
zip. This should bring up an icon on your desktop. Double click on the
icon to open a file manager that displays the contents of the disk.
When you are done: Close the file manager that was brought up when you
double clicked on the icon. Right click on the desktop, select "Disks",
un-select what was previously select.
NOTE WELL: It is very important that you
un-select the disk when you are done.
if you have an unformatted disk and you would like to format it you will need the system administrator
to help because of the access privaleges needed, please contact
the CSCS admins at cscs.admins@fiore.physics.lsa.umich.edu. If you would like to do it on your linux machine at home, please follow
the instructions listed below.
- The first step is to figure out which device your zip or jaz drive is, simply stick a disk into
the drive and then look at the end of the main logfile /var/log/messages (you might
need root access to do this ), use the command tail for example
# tail /var/log/messages
May 3 13:09:14 mercato kernel: Disc change detected.
May 3 13:09:14 mercato kernel: SCSI device sdc: hdwr sector= 512 bytes. Sectors= 196608 [96 MB] [0.1 GB]
May 3 13:09:14 mercato kernel: sdc: Write Protect is off
May 3 13:09:14 mercato kernel: sdc: sdc4
- The second step is to modify the partion table of your zip or jaz disk
with the program fdisk(1). Please use the device name displayed in the step above,
for example use /sbin/fdisk /dev/hdd if hdd is the name of you zip drive
# /sbin/fdisk /dev/sdc
----------------------
starts a program that accepts one character commands , complete them by hitting enter
the first command to run is p for print, it will show you the current layout of the disk
ex.
Disk /dev/sdc: 64 heads, 32 sectors, 96 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdc4 * 1 96 98288 6 DOS 16-bit >=32M
to add a parition
-----------------
Command (m for help): p
Disk /dev/sdc: 64 heads, 32 sectors, 96 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Start End Blocks Id System
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 4
First cylinder (1-96): 1
Last cylinder or +size or +sizeM or +sizeK ([1]-96): 96
if you need a dos partition
---------------------------
Command (m for help): t
Partition number (1-4): 4
Hex code (type L to list codes): L
0 Empty a OS/2 Boot Manag 65 Novell Netware a6 OpenBSD
1 DOS 12-bit FAT b Win95 FAT32 75 PC/IX a7 NEXTSTEP
2 XENIX root c Win95 FAT32 (LB 80 Old MINIX b7 BSDI fs
3 XENIX usr e Win95 FAT16 (LB 81 Linux/MINIX b8 BSDI swap
4 DOS 16-bit <32M f Win95 Extended 82 Linux swap c7 Syrinx
5 Extended 40 Venix 80286 83 Linux native db CP/M
6 DOS 16-bit >=32 51 Novell? 85 Linux extended e1 DOS access
7 OS/2 HPFS 52 Microport 93 Amoeba e3 DOS R/O
8 AIX 63 GNU HURD 94 Amoeba BBT f2 DOS secondary
9 AIX bootable 64 Novell Netware a5 BSD/386 ff BBT
Hex code (type L to list codes): 6
Changed system type of partition 4 to 6 (DOS 16-bit >=32M)
write changes to disk
---------------------
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
- Next, you need to format the partition for use.
format partition for use
------------------------
[root@mercato /]# /sbin/mkdosfs /dev/sdc4
/sbin/mkdosfs 0.3b (Yggdrasil), 5th May 1995 for MS-DOS FS
you could use the native linux filesystem too, simply use the program /sbin/mke2fs.
- you can now umount and mount your disk as described above