Pages

Sunday, August 21, 2011

Using a 2GB Jaz drive with Solaris

If you have a old Jaz drive and want to use under Solaris, then this might be interesting for you. First build in your drive into the server. Then boot and make sure that volfs is not running (you can turn it on later again): 

# svcadm disable volfs

Check that the drive is available in the operating system:

# iostat -En
...
c2t0d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: iomega   Product: jaz 2GB          Revision: E.16 Serial No: 
Size: 0.00GB <0 bytes>
...

Insert a Jaz disk, run fdisk and create a partition like the following:

# fdisk /dev/rdsk/c2t0d0p0

             Total disk size is 955 cylinders
             Cylinder size is 4096 (512 byte) blocks

                                               Cylinders
      Partition   Status    Type          Start   End   Length    %
      =========   ======    ============  =====   ===   ======   ===
          1       Active    Win95 FAT32       1   954     954    100





SELECT ONE OF THE FOLLOWING:                                                                                                                                           
   1. Create a partition
   2. Specify the active partition
   3. Delete a partition
   4. Change between Solaris and Solaris2 Partition IDs
   5. Exit (update disk configuration and exit)
   6. Cancel (exit without updating disk configuration)
Enter Selection:

Then exit by selecting 5 and format the new partition (don't forget the :c at the end of the raw device):

# mkfs -F pcfs -o 'fat=32' /dev/rdsk/c2t0d0p0:c

Finally you should be able to mount the Jaz disk:

# mkdir -p /mnt/jaz
# mount -F pcfs /dev/dsk/c2t0d0p0:c /mnt/jaz/

No comments:

Post a Comment