This discussion is archived
9 Replies Latest reply: Oct 26, 2012 12:01 AM by 944724 RSS

Problem with Dell Tape Drive on Solaris 11

944724 Newbie
Currently Being Moderated
Hi all,

My company purchased a DELL PowerVault LTO4-120HH Tape Drive. It is supposed to use on Solaris 11.

After I installed all the hardware and execute "mt -f /dev/rmt/0 status", the result is "/dev/rmt/0: no tape loaded or drive offline". Of course the tape is loaded.

And I tried to write something to the tape drive by executing "tar cvf /dev/rmt/0 .", the result is "tar: /dev/rmt/0: I/O error".

When I type "mt -f /dev/rmt/0 config" the result is:

"IBM ULTRIUM-HH4", "IBM ULTRIUM-HH4 ", "CFGIBMULTRIUMHH4";
CFGIBMULTRIUMHH4 = 2,0x3B,0,0x41861D,4,0x00,0x42,0x44,0x46,3,60,1080,780,13020,780,960,13980;

This means that the system can detect the drive, and when I execute "mt -f /dev/rmt/0" load, the tape drive did load for a while and then the console prompts "/dev/rmt/0 load 1 failed: I/O error".

What is the problem? When I Google I found someone that has a similar issue as mine, he said the problem is solved by modifying /kernel/drv/st.conf (should be /etc/driver/drv/st.conf), but I tried many times on changing the st.conf with no luck.

Any help would be appreciated.

Billy
  • 1. Re: Problem with Dell Tape Drive on Solaris 11
    944724 Newbie
    Currently Being Moderated
    contents in my st.conf:

    tape-config-list=
    "IBM ULTRIUM-HH4", "IBM ULTRIUM-HH4 ", "CFGIBMULTRIUMHH4";
    CFGIBMULTRIUMHH4 = \
    2,0x3B,0,0x41861D,4,0x00,0x42,0x44,0x46,3,60,1080,780,13020,780,960,13980;
    #
    # Then for each config-Name there must be a setup string that looks like this.
    #
    # A-Config-Name = \
    # 2,0x34,0,0x18659,4,0x47,0x47,0x47,0x47,1,120,120,3600,3600,3600,3600,3600;
    # Other-Config-Name = 1,0x3B,0,0x18659,4,0x40,0x40,0x40,0x40,3;
    #
    # For specific details for of values to use see the st(7D) man pages and
    # drive vendor manuals.
    #
    # "Vendor Prodoct", "config-name"
    # " 111111"
    # "012345670123456789012345", "config-name"
    # "|-VID--||-----PID------|",
    st_dadp_settings=
    "STK T10000C", "crc32c", "stk-crc32c";

    #config-name= method, crc-size, data-mod, crc-seed;
    stk-crc32c= 0xf1, 4, 0, -1;


    name="st" class="scsi" target=0 lun=0;
    name="st" class="scsi" target=1 lun=0;
    name="st" class="scsi" target=2 lun=0;
    name="st" class="scsi" target=3 lun=0;
    name="st" class="scsi" target=4 lun=0;
    name="st" class="scsi" target=5 lun=0;
    name="st" class="scsi" target=6 lun=0;

    #
    # In case there are wide tape drives, one can use these targets
    #
  • 2. Re: Problem with Dell Tape Drive on Solaris 11
    Nik Expert
    Currently Being Moderated
    Hi.

    Try comment lines that you add to st.conf
    (
    #tape-config-list=
    #"IBM ULTRIUM-HH4", "IBM ULTRIUM-HH4 ", "CFGIBMULTRIUMHH4";
    #CFGIBMULTRIUMHH4 = \
    #2,0x3B,0,0x41861D,4,0x00,0x42,0x44,0x46,3,60,1080,780,13020,780,960,13980;
    )

    Reboot system and check again. This device should be supported without modification of st.conf.


    What type of tape you load to drive ?
    Is it LTO4 ?

    Regards.
  • 3. Re: Problem with Dell Tape Drive on Solaris 11
    944724 Newbie
    Currently Being Moderated
    Hi Nik,

    Thanks for your reply. Initially those lines didn't exist in st.conf. "mt -f /dev/rmt/0 config" came up with another set of settings as follows:

    "IBM ULTRIUM-HH4", "IBM ULTRIUM-HH4 ", "CFGIBMULTRIUMHH4";
    CFGIBMULTRIUMHH4 = 2,0x3B,0,0x1018619,4,0x44,0x44,0x46,0x46,3,60,1920,780,19980,1020,1020,19200;

    This set of settings didn't make it, the symptom is exactly the same. So I tried my own set of settings in st.conf. I tried many different sets of settings as well but still no luck.

    Yes the tape I inserted into the drive is LTO4.

    I called DELL support, they said that this drive is OEM and they've only tested the drive on Windows and Linux only :( They tried to make it working on Solaris but couldn't, and then told me that the drive doesn't support Solaris (11 at least)...

    However I think it should support, it may be the problem of st.conf settings only. It would be great if you can help me make it working :)

    Thanks and Regards,
    Billy
  • 4. Re: Problem with Dell Tape Drive on Solaris 11
    944724 Newbie
    Currently Being Moderated
    output of "cfgadm -al" that may be related:

    Ap_Id Type Receptacle Occupant Condition
    c3 scsi-bus connected configured unknown
    c3::dsk/c3t0d0 disk connected configured unknown
    c5 scsi-sas connected unconfigured unknown
    c6 scsi-sas connected configured unknown
    c6::rmt/0 tape connected configured unknown
  • 5. Re: Problem with Dell Tape Drive on Solaris 11
    Nik Expert
    Currently Being Moderated
    Hi.

    What curent state of st.conf ? Original or modified ?

    Please use original st.conf, just load tape, and show result of

    mt -f /dev/rmt/0n status
    and
    what show /var/adm/messages about tape?

    What king SAS controllers you use ?


    Don't mix support and just working.

    In case support - vendor test this equipment have aproved configiguration and can help you in case problem.

    In all other cases it can work, but in case problem vendor can't help you.

    Regards.
  • 6. Re: Problem with Dell Tape Drive on Solaris 11
    944724 Newbie
    Currently Being Moderated
    For the results below original st.conf is in use.

    output of "mt -f /dev/rmt/0n status":
    /dev/rmt/0n: no tape loaded or drive offline

    /var/adm/messages about tape:

    Oct 22 17:55:44 SPCCsolaris scsi: [ID 583861 kern.info] st0 at mpt_sas2: unit-address w50050763124c36e4,0: w50050763124c36e4,0
    Oct 22 17:55:44 SPCCsolaris genunix: [ID 936769 kern.info] st0 is /pci@0,0/pci8086,3b4a@1c,4/pci1028,1f1c@0/iport@8/tape@w50050763124c36e4,0
    Oct 22 17:55:44 SPCCsolaris scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci8086,3b4a@1c,4/pci1028,1f1c@0 (mpt_sas0):
    Oct 22 17:55:44 SPCCsolaris unknown ioc_status = 0
    Oct 22 17:55:44 SPCCsolaris scsi: [ID 107833 kern.notice] scsi_state = 0, transfer count = 6, scsi_status = 0
    Oct 22 17:55:44 SPCCsolaris scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci8086,3b4a@1c,4/pci1028,1f1c@0 (mpt_sas0):
    Oct 22 17:55:44 SPCCsolaris unknown ioc_status = 0
    Oct 22 17:55:44 SPCCsolaris scsi: [ID 107833 kern.notice] scsi_state = 0, transfer count = 6, scsi_status = 0
    Oct 22 17:55:44 SPCCsolaris scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci8086,3b4a@1c,4/pci1028,1f1c@0 (mpt_sas0):
    Oct 22 17:55:44 SPCCsolaris unknown ioc_status = 0
    Oct 22 17:55:44 SPCCsolaris scsi: [ID 107833 kern.notice] scsi_state = 0, transfer count = 6, scsi_status = 0
    Oct 22 17:55:44 SPCCsolaris scsi: [ID 365881 kern.info] /pci@0,0/pci8086,3b4a@1c,4/pci1028,1f1c@0/iport@8/tape@w50050763124c36e4,0 (st0):
    Oct 22 17:55:44 SPCCsolaris <IBM ULTRIUM-HH4 >
    root@SPCCsolaris:~#


    The SAS controller used is 6Gbps SAS HBA. Product identifier is "SAS2008-IT". vendor name is LSI Corp.

    Regards,
    Billy
  • 7. Re: Problem with Dell Tape Drive on Solaris 11
    944724 Newbie
    Currently Being Moderated
    Hi all,

    I set up a machie with Solaris 10 and the tape drive worked well. I can do "mt -f 0 status" and all other things like "tar cvf /dev/rmt/0cn ." and then check the contents.

    I'm now figuring out what the difference is between Solaris 10 and 11 in terms of the configuration.

    Actually I use the same PC for the test, and just switching the harddisk. One HD with Solaris 10 installed and another with 11 installed. So the hardware is exactly the same.

    So far I found that the SCSI controller number in 10 and 11 is different.

    Difference in output of "cfgadm -al":

    Solaris 11:

    Ap_Id Type Receptacle Occupant Condition
    c5 scsi-sas connected configured unknown
    c5::rmt/0 tape connected configured unknown
    c6 scsi-sas connected unconfigured unknown



    Solaris 10:

    Ap_Id Type Receptacle Occupant Condition
    c3 scsi-sas connected unconfigured unknown

    When I google I saw someone said that c3 should be used for HBA controllers. If it is the case, Does anyone know how to change SCSI controller number?

    Regards,
    Billy
  • 8. Re: Problem with Dell Tape Drive on Solaris 11
    Nik Expert
    Currently Being Moderated
    Hi.
    Controller number can't sense this problem.
    Controller number depend from which order Solaris found this controllers.

    It's look like problem with drivers for SAS controller.

    Solaris 10 and Solaris 11 use different drivers.
    If it possible you can try use LSI-based SAS-1 controller ( 3Gb/s).

    Regards.
  • 9. Re: Problem with Dell Tape Drive on Solaris 11
    944724 Newbie
    Currently Being Moderated
    Hi Nik,

    The tape drive finally works after I upgraded the Solaris to 11.1 :D

    Thanks for your kindly help anyway :)

    Regards,
    Billy

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points