<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem with ioctl function in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895127#M841773</link>
    <description>Hi Anthony,&lt;BR /&gt;When I got these error, the tape is blocked in the drive. It can't be unload with uma, mt or the control panle of the library . So, each time I have to power cycle the library and then, with the control panel, I move it from the drive to the slot. And, after that, any backup won't work (same error)&lt;BR /&gt;For patches, I've installed the required system patchs for Data Protector and Data Protector patchs themselves (for windows and HP-UX) : Core, media agent, cell manager, disk agent. No results</description>
    <pubDate>Tue, 19 Apr 2005 08:53:20 GMT</pubDate>
    <dc:creator>Samy_4</dc:creator>
    <dc:date>2005-04-19T08:53:20Z</dc:date>
    <item>
      <title>Problem with ioctl function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895115#M841761</link>
      <description>Hi all&lt;BR /&gt;I have msl5060 configured on SAN with windows and hp-ux systems. The two drives of the library are configured on hp-ux as /dev/rmt/7mn and /dev/rmt/8mn. I'm using Data Protector 5.1 as backup softawre. When trying to backup, I got error when unloading the cartidge from the drive. In the log file I got the following : &lt;BR /&gt;&lt;BR /&gt;4/08/05 12:04:54  BMA.14092.0 ["ma/dev/devseq.c /main/dp51/r51_fix/17":503] A.05.10 bPHSS_31964/DPSOL_00115&lt;BR /&gt;SeqOp: (/dev/rmt/7mn): ioctl(MTIOCTOP, mt_op=6, mt_count=1) fails: {5}&lt;BR /&gt;&lt;BR /&gt;Any idea to resolve this problem&lt;BR /&gt;&lt;BR /&gt;Thanx&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Apr 2005 06:27:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895115#M841761</guid>
      <dc:creator>Samy_4</dc:creator>
      <dc:date>2005-04-08T06:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ioctl function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895116#M841762</link>
      <description>It appears to be trying to rewind and put off-line /dev/rmt/7mn, which is a no-rewind device, which might be part of the problem. Error 5 is EIO which is an i/o error.&lt;BR /&gt;&lt;BR /&gt;What does&lt;BR /&gt;&lt;BR /&gt;mt -f /dev/rmt/7mn status&lt;BR /&gt;&lt;BR /&gt;give you?&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Apr 2005 06:38:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895116#M841762</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-04-08T06:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ioctl function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895117#M841763</link>
      <description>May be that's it. I will try to reconfigure drives to /dev/rmt/7m and /dev/rmt/8m&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Apr 2005 10:55:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895117#M841763</guid>
      <dc:creator>Samy_4</dc:creator>
      <dc:date>2005-04-08T10:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ioctl function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895118#M841764</link>
      <description>I've changed /dev/rmt/7mn to /dev/rmt/7m but I still got the same error.</description>
      <pubDate>Fri, 15 Apr 2005 09:42:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895118#M841764</guid>
      <dc:creator>Samy_4</dc:creator>
      <dc:date>2005-04-15T09:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ioctl function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895119#M841765</link>
      <description>Hi Samy,&lt;BR /&gt;&lt;BR /&gt;I have a few questions:&lt;BR /&gt;1. Is this a new setup or has been working fine up until now?&lt;BR /&gt;2. Is the tape actually unloading successfully or is it becoming stuck in the drive?&lt;BR /&gt;3. Is this error that you're seeing in the actual backup log file or are you seeing it in the debug.log file?&lt;BR /&gt;4. Are there any hung BMA processes hanging around on the server with the library attached?&lt;BR /&gt;5. Have you tried using the uma tool to load and unload tapes in the drives?  Using uma do you get any errors?&lt;BR /&gt;&lt;BR /&gt;/opt/omni/lbin/uma -ioctl /dev/picker&lt;BR /&gt;&lt;BR /&gt;Within uma, try loading a tape into a drive (move S1 D1) This will load a tape from slot1 to drive1.  Once the tape is in the drive, use the mt command to take the drive offline.&lt;BR /&gt;mt -f /dev/rmt/7m offl&lt;BR /&gt;&lt;BR /&gt;Then use uma to unload the tape from the drive: (move D1 S1).  Does this work?  Do you see any errors in any of the omniback logs?  &lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Anthony</description>
      <pubDate>Fri, 15 Apr 2005 09:59:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895119#M841765</guid>
      <dc:creator>Anthony Lennan</dc:creator>
      <dc:date>2005-04-15T09:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ioctl function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895120#M841766</link>
      <description>It's a new setup. The tape is not unloading succefully and the cartidge is blocked in the drive. This error is in the debug.log of the client (/var/opt/omni/log). The debug.log of the cell (on windows 2003) contain the following :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;08/04/2005 10:59:19  MMA.2912.3516 ["ma/spt/sctl_NT.c /main/dp51/r51_fix/10":1833] A.05.10 bDPWIN_00099&lt;BR /&gt;SCTL_Read: (scsi fd=0) error. [0] (fixedBit=00)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;08/04/2005 10:59:19  MMA.2912.3516 ["ma/dev/devseq.c /main/dp51/r51_fix/17":2202] A.05.10 bDPWIN_00099&lt;BR /&gt;SeqRead: (Tape0:0:0:1C): read()=-1 fails: {0}&lt;BR /&gt; dev-&amp;gt;blkSize=65536&lt;BR /&gt;&lt;BR /&gt;08/04/2005 10:59:22  DEVBRA.3764.3780 ["ma/spt/sctl_NT.c /main/dp51/r51_fix/10":4335] A.05.10 bDPWIN_00099&lt;BR /&gt;SCTL_ModeSense_NT: SCTL_Inquiry failed: 6&lt;BR /&gt;&lt;BR /&gt;08/04/2005 10:59:22  DEVBRA.3764.3780 ["ma/spt/sctl_NT.c /main/dp51/r51_fix/10":1536] A.05.10 bDPWIN_00099&lt;BR /&gt;SCSI_NT_CMD:  RETURN: ERROR (GetLastError()=6)&lt;BR /&gt;&lt;BR /&gt;08/04/2005 10:59:22  DEVBRA.3764.3780 ["ma/spt/sctl_NT.c /main/dp51/r51_fix/10":1536] A.05.10 bDPWIN_00099&lt;BR /&gt;SCSI_NT_CMD:  RETURN: ERROR (GetLastError()=6)&lt;BR /&gt;&lt;BR /&gt;08/04/2005 10:59:22  DEVBRA.3764.3780 ["ma/devtool/devlist_nt.c /main/dp51/r51_fix/2":110] A.05.10 bDPWIN_00099&lt;BR /&gt;GetSystemInquiryData: DeviceIOControl failed [error = 6]&lt;BR /&gt;&lt;BR /&gt;08/04/2005 10:59:22  DEVBRA.3764.3780 ["ma/devtool/devlist_nt.c /main/dp51/r51_fix/2":516] A.05.10 bDPWIN_00099&lt;BR /&gt;CreatePhysicalDeviceList_NT: GetSystemInquiryData for scsi4:0:0:0 failed&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For uma utility, I didn't use it yet. Can you explain what command have I to do (CLIReference.pdf is not very clear to explain how to use it)&lt;BR /&gt;&lt;BR /&gt;Thanx</description>
      <pubDate>Fri, 15 Apr 2005 10:46:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895120#M841766</guid>
      <dc:creator>Samy_4</dc:creator>
      <dc:date>2005-04-15T10:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ioctl function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895121#M841767</link>
      <description>Hi Samy,&lt;BR /&gt;&lt;BR /&gt;Unfortunately as you can see the error messages that get logged in the debug.log file are usually extremely cryptic and meaningless.&lt;BR /&gt;&lt;BR /&gt;If this is a new setup I guess its quite possible that the tape got stuck in the drive on the first attempt and all the errors you have seen since are due to the tape still being stuck in the drive.  Just a guess.&lt;BR /&gt;&lt;BR /&gt;On the hpux server that has the library attached you should hopefully have the uma binary under /opt/omni/lbin.  The uma binary is what data protector uses to control the robotic arm in your library.  Fortunately you can use this command interactively outside of dataprotector for troubleshooting.&lt;BR /&gt;&lt;BR /&gt;When you do an ioscan on your server you should hopefully see your robotic arm.  It should be claimed by something like autoch or schgr.  The device file should be something like /dev/picker or /dev/rac/c?t?d?&lt;BR /&gt;&lt;BR /&gt;You use the uma command as follows:&lt;BR /&gt;&lt;BR /&gt;/opt/omni/lbin/uma -ioctl /dev/picker&lt;BR /&gt;&lt;BR /&gt;This should drop you at the uma prompt&amp;gt;&lt;BR /&gt;&lt;BR /&gt;From here you can use uma commands to view the drives and slots in the library and move the tapes around.&lt;BR /&gt;&amp;gt;stat (or status? This should list the drives and slots and will show which ones contain tapes.&lt;BR /&gt;&amp;gt;move S1 D1 (To move a tape from slot1 to drive1)&lt;BR /&gt;&lt;BR /&gt;Use uma to move the tape stuck in the drive back into and empty slot.  ie.  Before you do this make sure that the drive is offline.&lt;BR /&gt;Use the normal hpux command mt to do this:&lt;BR /&gt;# mt -t /dev/rmt/?m offl&lt;BR /&gt;&lt;BR /&gt;Now use uma to move the stuck tape out.&lt;BR /&gt;&amp;gt;move D1 S1&lt;BR /&gt;&lt;BR /&gt;Once you get the tape out, try running a backup again and please report back any errors that you see reported by the backup.  Ignore the errors in debug.log for now.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Anthony&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Apr 2005 11:08:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895121#M841767</guid>
      <dc:creator>Anthony Lennan</dc:creator>
      <dc:date>2005-04-15T11:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ioctl function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895122#M841768</link>
      <description>Ok I will try those commands. But don't forget that in this Data protector cell, the robotic will be command by the cell server which is a windows 2003 version (and no HP-UX version) May be the error is in the communication between 2 process from 2 different OS. &lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 15 Apr 2005 11:44:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895122#M841768</guid>
      <dc:creator>Samy_4</dc:creator>
      <dc:date>2005-04-15T11:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ioctl function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895123#M841769</link>
      <description>I've done some operations with UMA utility (moving tapes from slot to drive and from drive to slot) I've done backup with tar utility and everything is gonna alright. So there's no error when loading, unloading and writing data on the tape&lt;BR /&gt;Then, I've done a first backup with data protector and unfortunately, I got the same error&lt;BR /&gt;Here is the backup session details&lt;BR /&gt;&lt;BR /&gt;[Normal] From: BMA@srvcent2 "HP:Ultrium 1-SCSI_1_srvcent2"  Time: 18/04/2005 12:05:01&lt;BR /&gt; STARTING Media Agent "HP:Ultrium 1-SCSI_1_srvcent2"&lt;BR /&gt;&lt;BR /&gt;[Normal] From: BMA@srvcent2 "HP:Ultrium 1-SCSI_1_srvcent2"  Time: 18/04/2005 12:05:03&lt;BR /&gt; Loading medium from slot 9 to device /dev/rmt/7m&lt;BR /&gt;&lt;BR /&gt;[Normal] From: VBDA@srvcent2 "TestSauvegarde - giga.dat"  Time: 18/04/2005 12:05:35&lt;BR /&gt; STARTING Disk Agent for srvcent2:/tmp "TestSauvegarde - giga.dat".&lt;BR /&gt;&lt;BR /&gt;[Normal] From: VBDA@srvcent2 "TestSauvegarde - giga.dat"  Time: 18/04/2005 12:06:18&lt;BR /&gt; COMPLETED Disk Agent for srvcent2:/tmp "TestSauvegarde - giga.dat".&lt;BR /&gt;&lt;BR /&gt;[Normal] From: BMA@srvcent2 "HP:Ultrium 1-SCSI_1_srvcent2"  Time: 18/04/2005 12:06:31&lt;BR /&gt; /dev/rmt/7m&lt;BR /&gt; Medium header verification completed, 0 errors found&lt;BR /&gt;&lt;BR /&gt;[Major] From: BMA@srvcent2 "HP:Ultrium 1-SCSI_1_srvcent2"  Time: 18/04/2005 12:06:31&lt;BR /&gt;[90:135]  Cannot eject medium. ([5] I/O error)&lt;BR /&gt;&lt;BR /&gt;[Normal] From: BMA@srvcent2 "HP:Ultrium 1-SCSI_1_srvcent2"  Time: 18/04/2005 12:06:31&lt;BR /&gt; /dev/rmt/7m&lt;BR /&gt;Tape Alert [10]: You cannot eject the cartridge because the tape drive&lt;BR /&gt; is in use. Wait until the operation is complete before ejecting the cartridge.&lt;BR /&gt;&lt;BR /&gt;[Major] From: BMA@srvcent2 "HP:Ultrium 1-SCSI_1_srvcent2"  Time: 18/04/2005 12:06:32&lt;BR /&gt;[90:64]   Cannot unload exchanger medium (Details unknown.)&lt;BR /&gt;&lt;BR /&gt;[Normal] From: BMA@srvcent2 "HP:Ultrium 1-SCSI_1_srvcent2"  Time: 18/04/2005 12:06:32&lt;BR /&gt; ABORTED Media Agent "HP:Ultrium 1-SCSI_1_srvcent2"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The tape is left in the drive. I executed #mt -f /dev/rmt/7m status that gives me&lt;BR /&gt;&lt;BR /&gt;Drive: HP Ultrium 1-SCSI&lt;BR /&gt;Format: &lt;BR /&gt;Status: [41114000] BOT online compression immediate-report-mode &lt;BR /&gt;File: 0&lt;BR /&gt;Block: 0&lt;BR /&gt;&lt;BR /&gt;Then with #mt -f /dev/rmt/7mn offl I got&lt;BR /&gt;offline 1 failed: I/O error&lt;BR /&gt;&lt;BR /&gt;Trying with UMA utility (move D1 S9), no chance too; I got &lt;BR /&gt;&lt;BR /&gt;move: Medium removal prevented&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Finally, in the system log (/var/adm/syslog/syslog.log) I've the following:&lt;BR /&gt;&lt;BR /&gt;Apr 18 12:11:44 SRVCENT1 EMS [2227]: ------ EMS Event Notification ------   Value: "SERIOUS (4)" for Resource: "/storage/events/tapes/SCSI_tape/1_0_2_0_0.1.7.255.0.0.1"     (Threshold:  &amp;gt;= " 3")    Execute the following command to obtain event details:   /opt/resmon/bin/resdata -R 145948680 -r /storage/events/tapes/SCSI_tape/1_0_2_0_0.1.7.255.0.0.1 -n 145948677 -a &lt;BR /&gt;&lt;BR /&gt;When executing the command&lt;BR /&gt;&lt;BR /&gt;CURRENT MONITOR DATA:&lt;BR /&gt;&lt;BR /&gt;Event Time..........: Mon Apr 18 12:11:44 2005&lt;BR /&gt;Severity............: SERIOUS&lt;BR /&gt;Monitor.............: dm_stape&lt;BR /&gt;Event #.............: 102476              &lt;BR /&gt;System..............: SRVCENT1&lt;BR /&gt;&lt;BR /&gt;Summary:&lt;BR /&gt;     Tape at hardware path 1/0/2/0/0.1.7.255.0.0.1 : Software configuration&lt;BR /&gt;     error&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Description of Error:&lt;BR /&gt;&lt;BR /&gt;     The device was unsuccessful in processing the current request message. The&lt;BR /&gt;     request was not processed. &lt;BR /&gt;&lt;BR /&gt;     For furthur isolation of the problem, it may be possible that the&lt;BR /&gt;     combination of values of Sense Code, Sense Qualifier and Sense Key may be&lt;BR /&gt;     vendor specific. In that case, please contact the manufacturer of the&lt;BR /&gt;     device. It may also be possible that the combination of SCSI Sense&lt;BR /&gt;     Code/Qual/Key was not intended to be used by this type of device. &lt;BR /&gt;&lt;BR /&gt;Probable Cause / Recommended Action:&lt;BR /&gt;&lt;BR /&gt;     The error most likely indicates that the device is not fully supported by&lt;BR /&gt;     the current driver. This may or may not cause a problem in the operation&lt;BR /&gt;     of the device. &lt;BR /&gt;&lt;BR /&gt;Additional Event Data: &lt;BR /&gt;     System IP Address...: 192.168.3.11&lt;BR /&gt;     Event Id............: 0x426395f000000000&lt;BR /&gt;     Monitor Version.....: B.01.05&lt;BR /&gt;     Event Class.........: I/O&lt;BR /&gt;     Client Configuration File...........:&lt;BR /&gt;     /var/stm/config/tools/monitor/default_dm_stape.clcfg &lt;BR /&gt;     Client Configuration File Version...: A.01.00 &lt;BR /&gt;          Qualification criteria met.&lt;BR /&gt;               Number of events..: 1 &lt;BR /&gt;     Associated OS error log entry id(s): &lt;BR /&gt;          0x426395f000000000&lt;BR /&gt;     Additional System Data:&lt;BR /&gt;          System Model Number.............: 9000/800/rp7410  &lt;BR /&gt;          OS Version......................: B.11.11 &lt;BR /&gt;          System Firmware Version.........: 17.8 &lt;BR /&gt;          System Serial Number............: DEH442568S &lt;BR /&gt;          System Software ID..............: -1928436960 &lt;BR /&gt;          EMS Version.....................: A.04.00 &lt;BR /&gt;          STM Version.....................: A.43.00 &lt;BR /&gt;          System Current Product Number...: A6752A &lt;BR /&gt;          System Original Product Number..: A6752A &lt;BR /&gt;     Latest information on this event:&lt;BR /&gt;          &lt;A href="http://docs.hp.com/hpux/content/hardware/ems/scsi.htm#102476" target="_blank"&gt;http://docs.hp.com/hpux/content/hardware/ems/scsi.htm#102476&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;v-v-v-v-v-v-v-v-v-v-v-v-v    D  E  T  A  I  L  S    v-v-v-v-v-v-v-v-v-v-v-v-v&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Component Data: &lt;BR /&gt;     Physical Device Path....: 1/0/2/0/0.1.7.255.0.0.1&lt;BR /&gt;     Inquiry Vendor ID.......: HP      &lt;BR /&gt;     Inquiry Product ID......: Ultrium 1-SCSI  &lt;BR /&gt;     Firmware Version........: E38W&lt;BR /&gt;     Serial Number...........: HU73M00950&lt;BR /&gt;&lt;BR /&gt;Product/Device Data:&lt;BR /&gt;&lt;BR /&gt;     Logger ID.........: stape&lt;BR /&gt;     Product Identifier: SCSI Tape&lt;BR /&gt;     Product Qualifier.: HPUltrium&lt;BR /&gt;     SCSI Target ID....: 0x00&lt;BR /&gt;     SCSI LUN..........: 0x01&lt;BR /&gt;&lt;BR /&gt;I/O Log Event Data: &lt;BR /&gt;&lt;BR /&gt;     Driver Status Code..................: 0x00000005 &lt;BR /&gt;     Length of Logged Hardware Status....: 26 bytes. &lt;BR /&gt;     Offset to Logged Manager Information: 32 bytes. &lt;BR /&gt;     Length of Logged Manager Information: 30 bytes. &lt;BR /&gt;&lt;BR /&gt;Hardware Status: &lt;BR /&gt;&lt;BR /&gt;     Raw H/W Status:&lt;BR /&gt;          0x0000: 00 00 00 02   70 00 05 00   00 00 00 0E   00 00 00 00&lt;BR /&gt;          0x0010: 53 02 00 00   1C 01 00 00   00 00&lt;BR /&gt;&lt;BR /&gt;     SCSI Status...: CHECK CONDITION (0x02) &lt;BR /&gt;          Indicates that a contingent allegiance condition has occurred.  Any&lt;BR /&gt;          error, exception, or abnormal condition that causes sense data to be&lt;BR /&gt;          set will produce the CHECK CONDITION status.&lt;BR /&gt;     &lt;BR /&gt;SCSI Sense Data: &lt;BR /&gt;&lt;BR /&gt;     Undecoded Sense Data:&lt;BR /&gt;          0x0000: 70 00 05 00   00 00 00 0E   00 00 00 00   53 02 00 00&lt;BR /&gt;          0x0010: 1C 01 00 00   00 00&lt;BR /&gt;     &lt;BR /&gt;     SCSI Sense Data Fields:&lt;BR /&gt;          Error Code                      : 0x70&lt;BR /&gt;          Segment Number                  : 0x00&lt;BR /&gt;          Bit Fields:      &lt;BR /&gt;               Filemark                   : 0&lt;BR /&gt;               End-of-Medium              : 0&lt;BR /&gt;               Incorrect Length Indicator : 0&lt;BR /&gt;          Sense Key                       : 0x05&lt;BR /&gt;          Information Field Valid         : FALSE               &lt;BR /&gt;          Information Field               : 0x00000000&lt;BR /&gt;          Additional Sense Length         : 14&lt;BR /&gt;          Command Specific                : 0x00000000&lt;BR /&gt;          Additional Sense Code           : 0x53&lt;BR /&gt;          Additional Sense Qualifier      : 0x02&lt;BR /&gt;          Field Replaceable Unit          : 0x00&lt;BR /&gt;          Sense Key Specific Data Valid   : FALSE               &lt;BR /&gt;          Sense Key Specific Data         : 0x00 0x1C 0x01&lt;BR /&gt;                       &lt;BR /&gt;          Sense Key 0x05, ILLEGAL REQUEST, indicates that there was an illegal&lt;BR /&gt;          parameter in the command data block or in the additional parameters&lt;BR /&gt;          supplied as data for some commands (FORMAT UNIT, SEARCH DATA, etc.). &lt;BR /&gt;          This sense key may also indicate that an invalid IDENTIFY message was&lt;BR /&gt;          received.&lt;BR /&gt;                       &lt;BR /&gt;          The combination of Additional Sense Code and Sense Qualifier (0x5302)&lt;BR /&gt;          indicates: Medium removal prevented.&lt;BR /&gt;&lt;BR /&gt;SCSI Command Data Block:  (not present in log record)&lt;BR /&gt;&lt;BR /&gt;Manager-Specific Information: &lt;BR /&gt;&lt;BR /&gt;     Raw Manager Data:&lt;BR /&gt;          0x0000: 0F 00 35 5D   00 00 00 00   00 00 00 02   00 00 00 00&lt;BR /&gt;          0x0010: 0F 00 01 16   FE 00 00 06   1B 00 00 00   00 00&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for the SAN configuration, drives (for each client) were configured automatically by data protector (selecting clients and searching for each one). The robotic is controlled by the cell server (wich is on windows 2003)&lt;BR /&gt;&lt;BR /&gt;Hope this help you&lt;BR /&gt;&lt;BR /&gt;Thanx</description>
      <pubDate>Mon, 18 Apr 2005 10:44:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895123#M841769</guid>
      <dc:creator>Samy_4</dc:creator>
      <dc:date>2005-04-18T10:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ioctl function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895124#M841770</link>
      <description>Usually, the only thing that stops a removable media from being removed is a lock held by some other process. The media can't be removed until the lock is released. The SCSI sense sata is showing an illegal request (probably trying to unload the media). Could it be that the Windows system is holding a lock on the unit whilst the unix system is trying to eject it?</description>
      <pubDate>Mon, 18 Apr 2005 11:11:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895124#M841770</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-04-18T11:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ioctl function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895125#M841771</link>
      <description>Hi Samy,&lt;BR /&gt;&lt;BR /&gt;I agree with Stephens current thinking at this point that a another process may be locking the drive.&lt;BR /&gt;&lt;BR /&gt;In one of my previous posts I mentioned BMA processes.  When Omniback/Dataprotector needs to load/unload a tape it spawns a bma process (Backup Media Agent I believe) to perform that task.  Once the tape movement has completed the bma process should then end.  &lt;BR /&gt;&lt;BR /&gt;Unfortnately I have seen on a number of occasions in the past where these bma processes hang (especially on Windows machines for some reason).  They can then lock up a drive until they are killed off.  &lt;BR /&gt;&lt;BR /&gt;Have a look on all you machines running Dataprotector to see if there are any bma processes hanging around and kill them off.&lt;BR /&gt;&lt;BR /&gt;Another thing that you might want to also look at running "omnidbutil -free_locked_devs" to just to make sure that Dataprotector doesn't have it locked in its database either.  I think its very unlikely that this will be the problem but its good to cover all the possibilities.&lt;BR /&gt;&lt;BR /&gt;The thing that has me scratching my head at the moment is that fact that you can't take the drive offline with the mt command (maybe because another process is preventing it but maybe not).  If Omniback can't take the drive offline then its definitely not going to be able to unload the tape.&lt;BR /&gt;&lt;BR /&gt;Check for the processes and let us know how you go.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Anthony</description>
      <pubDate>Tue, 19 Apr 2005 04:23:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895125#M841771</guid>
      <dc:creator>Anthony Lennan</dc:creator>
      <dc:date>2005-04-19T04:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ioctl function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895126#M841772</link>
      <description>Hi Samy,&lt;BR /&gt;&lt;BR /&gt;Just a couple of other things...&lt;BR /&gt;&lt;BR /&gt;- Power cycle your tape drives and then try again.&lt;BR /&gt;- Check your patches.  I had a quick search for the error messages your getting above and I got a number of hits back all pointing to media agent patches.  Unfortunately none of them were for Dataprotector 5.1 but its still worth keeping in mind once you've exhausted all other possibilities.  As a habit whenever I install Omniback I always upgrade it immediately with the latest patches.  There's normally a truckload of them.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Anthony</description>
      <pubDate>Tue, 19 Apr 2005 05:12:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895126#M841772</guid>
      <dc:creator>Anthony Lennan</dc:creator>
      <dc:date>2005-04-19T05:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ioctl function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895127#M841773</link>
      <description>Hi Anthony,&lt;BR /&gt;When I got these error, the tape is blocked in the drive. It can't be unload with uma, mt or the control panle of the library . So, each time I have to power cycle the library and then, with the control panel, I move it from the drive to the slot. And, after that, any backup won't work (same error)&lt;BR /&gt;For patches, I've installed the required system patchs for Data Protector and Data Protector patchs themselves (for windows and HP-UX) : Core, media agent, cell manager, disk agent. No results</description>
      <pubDate>Tue, 19 Apr 2005 08:53:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895127#M841773</guid>
      <dc:creator>Samy_4</dc:creator>
      <dc:date>2005-04-19T08:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ioctl function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895128#M841774</link>
      <description>Hi Samy,&lt;BR /&gt;&lt;BR /&gt;You mentioned earlier that that you could use uma successfully before you tried to do any backup didn't you.  But after you've tried a backup the fact that you can't even unload the tape manually without powercycling sounds more and more like there's a process hanging around thats got a stubborn hold on the drive.&lt;BR /&gt;&lt;BR /&gt;Have a look for any bma processes and then try again.  If there aren't any bma processes, try stopping all Dataprotector processes on every host and then try again.&lt;BR /&gt;&lt;BR /&gt;Is it possible that there's some other backup software or processes running on any hosts on the SAN that some how might have grabbed hold of the drives?  I assume that this issue effects both drives?&lt;BR /&gt;&lt;BR /&gt;Besides the two drives in the library are there any other drives in your environment that you can run test backups to?&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Anthony</description>
      <pubDate>Tue, 19 Apr 2005 09:15:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895128#M841774</guid>
      <dc:creator>Anthony Lennan</dc:creator>
      <dc:date>2005-04-19T09:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ioctl function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895129#M841775</link>
      <description>Hi Samy,&lt;BR /&gt;&lt;BR /&gt;Just another quick thought.  From memory I think its possible to configure a backup so that it doesn't bother doing a header check at the end of the backup.  Can you try and configure a test backup so that it doesn't do this check.  Another theory I have came up with after looking at those patches is that maybe the tapes not rewinding properly at the end of the header check.  Just a theory but you never know :)&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Anthony</description>
      <pubDate>Tue, 19 Apr 2005 09:20:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895129#M841775</guid>
      <dc:creator>Anthony Lennan</dc:creator>
      <dc:date>2005-04-19T09:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ioctl function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895130#M841776</link>
      <description>Finally, the problem was with the Removable Storage Manager (RSM) service. Its database was aletered.So, the windows driver for the robotics was loaded each time. I've restored RSM database backup, and I've disabled the windows driver for the robotics. Everything is going right &lt;BR /&gt;&lt;BR /&gt;Thanx everyone</description>
      <pubDate>Fri, 29 Apr 2005 05:04:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895130#M841776</guid>
      <dc:creator>Samy_4</dc:creator>
      <dc:date>2005-04-29T05:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ioctl function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895131#M841777</link>
      <description>Finally, the problem was with the Removable Storage Manager (RSM) service. Its database was aletered.So, the windows driver for the robotics was loaded each time. I've restored RSM database backup, and I've disabled the windows driver for the robotics. Everything is going right &lt;BR /&gt;&lt;BR /&gt;Thanx everyone</description>
      <pubDate>Fri, 29 Apr 2005 05:17:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-ioctl-function/m-p/4895131#M841777</guid>
      <dc:creator>Samy_4</dc:creator>
      <dc:date>2005-04-29T05:17:05Z</dc:date>
    </item>
  </channel>
</rss>

