USCSICMD ioctl calls for Fibre Channel(FC) devices on Solaris 10?

Hi ,
I have wrtitten a small C program that issues USCSICMD ioctl call to the tape devices attached on solaris sparc 10. I was able to get the required information from all SCSI tape devices attached using the utility. But, whenever it is run on FC attached tape drives , the program returns an error saying "Inappropriate ioctl for device".
bash-2.05# inquiry /devices/pci@1f,4000/fibre-channel@2/fp@0,0:devctl
inquiry: /devices/pci@1f,4000/fibre-channel@2/fp@0,0:devctl: scsi inquiry failed: Inappropriate ioctl for device
Is it possible to make an USCSICMD ioctl on FC attached tape devices ?. Can someone please provide an example if possible.
Thanks,
Naveen

I don't see why not, I use the same ioctl to talk to fc-attached disk drives, and enclosure devices. I have used the same ioctl to also talk to scsi-attached tapes. Maybe this is a bug that is specific to your FC device driver or firmware, did you investigate with the HBA vendor and make sure everything is current?

Similar Messages

  • What is the maximum number of Fibre Channel LUNS visibile in Solaris 11.2

    I have SPARC T4-4's with 4 emulex HBA ports. What is the maximum number of LUNS I can have exported to that server?

    Hi Jim,
    MOS doc 1018739.1 describes maximum Solaris SCSI and FC targets, LUNs, and device instances.
    The FC limit for maximum LUNs is either 65535 or unlimited.
    Thanks, Cindy

  • Fibre Channel SR-IOV support

    Hello. I'm trying to find out if ESX supports (or plans to support) SR-IOV for Fibre Channel devices. I found lots of documentation about SR-IOV for networking devices and was able to successfully implement this on ESXi 5.5 using an Emulex OCe15100 adapter running in CNA mode but I'd like to be able to do the same with the FC/FCoE functions. From what I can tell, the adapter itself does support SR-IOV for their FC/FCoE functions but are dependent on ESX to utilize it. Thanks in advance for any help or information you can provide.

    Hi,
    Ubuntu support is handled by Canonical, start by taking a look here:
    http://www.ubuntu.com/sun (if you haven't already)
    and maybe post your question on Ubuntu forums: http://www.ubuntuforums.org/
    Dwayne
    [email protected] wrote:
    This query is regarding fibre channel support on ubuntu on niagara.
    I am using ubuntu on Niagara and stuck with some basics where thought of seeking your help :
    1. Does Ubuntu on Niagara support Fiber Channel attached storage ?
    2. Does Ubuntu on niagara support any Volume Manager ?
    Thanks
    To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]
    To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]

  • Fibre Channel Jumbo Frames - UCS

    I was wondering if it's actually possible to have Jumbo Fibre Channel Frames running on a UCS?
    I've read these two articles which provide some excellent information on implementing Jumbo Frames and Fibre Channel Jumbo Frames:
    http://datacenteroverlords.com/2013/04/01/jumbo-fc-frames/
    http://www.ccierants.com/2013/10/ccie-dc-definitive-jumbo-frames.html
    Everything within the SAN I'm administrating has the ability to set the MTU up to 9036 except for the UCS. For example on the NetApp gear I can set the MTU per interface, on the Cisco MDS I can set the MTU per vsan. However in the UCS manager when I go to QoS System Class, the option to set the MTU for Fibre Channel is greyed out and it doesnt look like there's anyway to override the preset frame size. I can set the MTU of Best Effort however my understanding is Fibre Channel traffic within the UCS will use the Fibre Channel system class.
    Furthermore I noticed I can set the Maximum Data Field Size on the vHBA's within the UCS manager however my understanding is the maximum this can go up to is 2048.

    Hi
    Did you check
    http://datacenteroverlords.com/2013/04/01/jumbo-fc-frames/
    Erik Smith says:
    April 1, 2013 at 5:52 pm
    April fools! I wish I saw this earlier, I would have posted corroborating test results!
    In Summary: forget Jumbo Frames for FC !

  • Need Advice on Choosing a Fibre Channel Card

    I have an Xserve G5 and will be adding an Xserve RAID. There seems to be a number of choices out there for Fibre Channel cards(i.e. model M8940G/D vs M8940G/B, PCI vs PCI-X) Any advice on the correect card to buy to stay out of trouble would be welcome.

    Get the PCI-X card for the Xserve G5.
    The previous post is wrong; the Intel Xserves use a PCI Express card.
    NO system uses a standard PCI card anymore. That's old, slow technology. Apple doesn't sell PCI cards... only PCI-X (for Xserve G5) and PCI Express (for Intel Xeon Xserve). Actually the Intel one can use either card, IF you get a PCI-X riser card instead of 2 PCI Express ones.

  • Solaris 9: USCSICMD ioctl on volume management devices fails

    Upto and including Solaris 8, it was possible to use the USCSICMD
    ioctl on devices managed by the vold daemon (e.g. the CDROM device,
    /vol/dev/aliases/cdrom0) without the need for root permission.
    It seems this does not work any more with Solaris 9, it requires
    root permission now.
    An example program is appended below. On Solaris 8 with a uid != 0
    it prints the CDROM drive's manufacturer and product id:
    % uname -r
    5.8
    % id
    uid=109(jk) gid=20(usr)
    % vol
    TOSHIBA DVD-ROM SD-M1612
    It seems that on Solaris 9, the USCSICMD ioctl fails with an EPERM
    error. Can anyone reproduce this on Solaris 9?
    Is this a Solaris 9 bug, or a Solaris 9 feature?
    /* compile with: cc -o vol vol.c */
    #include <stdlib.h>
    #include <stdio.h>
    #include <string.h>
    #include <unistd.h>
    #include <fcntl.h>
    #include <sys/types.h>
    #include <sys/ioctl.h>
    #include <sys/scsi/generic/commands.h>
    #include <sys/scsi/impl/uscsi.h>
    #define     CD_DEVICE     "/vol/dev/aliases/cdrom0"
    /* execute a SCSI INQUIRY command on device |fd| */
    int inquiry(int fd, void *inq_data, int inq_len)
    struct uscsi_cmd sc;
    union scsi_cdb inq_cdb;
    memset(&inq_cdb, 0, sizeof(inq_cdb));
    inq_cdb.scc_cmd = SCMD_INQUIRY;
    inq_cdb.g0_count0 = inq_len;
    memset(&sc, 0, sizeof(sc));
    sc.uscsi_cdb = (caddr_t)&inq_cdb;
    sc.uscsi_cdblen = 6;
    sc.uscsi_bufaddr = inq_data;
    sc.uscsi_buflen = inq_len;
    sc.uscsi_flags = USCSI_ISOLATE|USCSI_READ;
    if (ioctl(fd, USCSICMD, &sc)) {
         perror("USCSICMD ioctl, inquiry");
         exit(1);
    if (sc.uscsi_status) {
         fprintf(stderr, "bad status for INQUIRY command (%d)\n",
              sc.uscsi_status);
         return -1;
    return 0;
    int main(int argc, char **argv)
    struct scsi_inquiry inq_data;
    int fd;
    char *cd_device = CD_DEVICE;
    if ((fd = open(cd_device, O_RDONLY)) < 0) {
         perror(cd_device);
         exit(1);
    if (inquiry(fd, &inq_data, sizeof(inq_data))) {
         fprintf(stderr, "scsi inquiry command failed\n");
         exit(1);
    /* print vendor/product from scsi inquiry data */
    printf("%.*s %.*s\n",
         sizeof(inq_data.inq_vid), inq_data.inq_vid,
         sizeof(inq_data.inq_pid), inq_data.inq_pid);
    exit(0);

    According to a usenet thread (where I posted the same question)...
    http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&oe=UTF-8&selm=wyvg45125q.fsf%40tools.de
    ... it's a security enhancement. Or in other words: It's a feature, not a bug.
    It's possible to work around the problem in your own programs using
    the "-lsmedia" library, but this is not (yet?) a supported interface, it seems:
    #include <sys/smedia.h>
    int fd = open("/vol/dev/...", ...);
    struct uscsi_cmd scsi_cmd;
    smedia_handle_t handle = smedia_get_handle(fd);
    /* fill in scsi_cmd structure ... */
    smedia_uscsi_cmd(handle, &scsi_cmd);
    smedia_release_handle(handle);

  • Easiest solution for adding Fibre Channel Tape Backup to Xserve RAID setup

    I'm interested in getting a Fibre Channel LTO-3 tape library such as the Exabyte 221L for my Xserve RAID/Xserve G5 setup. I realize there are SCSI LTO-3 solutions that are less expensive than FC, but I'd prefer not to have to add a SCSI card to my Xserve, mainly because I'd have to pull the video card and run the server headless (horrors!). However, I understand that I must get a Fibre Channel switch to allow the LTO library, the Xserve, and the Xserve RAID to communicate... you can't just daisy chain FC devices. The least expensive switch I can find is the new QLogtic SANbox 3050 for about $1800. For my situation, in which these will be the only FC devices I'll probably ever use, does this switch sound appropriate? The specs on the switch can be found here: http://www.qlogic.com/products/sanbox/sanbox_3050.asp.
    Xserve RAID & Xserve G5   Mac OS X (10.4.5)  

    For simple environments like yours, it's trivially easy. You must plug everything in, and you're good to go... as simple as a network switch.
    Now if you start adding multiple hosts (i.e. plug in a second Xserve or G5), you need to be careful, because in the default configuration everything is "wide open," so every device can see every storage LUN. This would actually be problematic, as systems could (actually, would) corrupt each other's storage. When you get to this point, you'll need to look at either zoning the ports on the switch, or using LUN masking on the Xserve RAID to allocate specific pieces of storage to specific hosts.
    But for now, just get the switch, plug everything in, and you're off.
    BTW if you mark "answered" for me, versus for the thread overall, it helps me out a bit in this forum ranking system, whatever it is.
    Cheers.

  • Plugin for EMC VMAX fibre channel storage

    I am new to Oracle VM and VM Manager. After reading the documentation, I believe that I need a plugin for VM Manager to discover our EMC VMAX Fibre Channel SAN LUNs. As it is now, discovery on its own does not show the LUNs. Where can I get this plugin? I contacted EMC and they know nothing about a plugin.

    904115 wrote:
    I am new to Oracle VM and VM Manager. After reading the documentation, I believe that I need a plugin for VM Manager to discover our EMC VMAX Fibre Channel SAN LUNs. As it is now, discovery on its own does not show the LUNs. Where can I get this plugin? I contacted EMC and they know nothing about a plugin.There is no plugin for EMC VMAX SANs. It will use the Unmanaged FC Storage Array functionality. If you are not seeing your VMAX luns, check that multipathd is started on your Oracle VM Server and that multipath.conf has the correct device {} stanza for the VMAX.

  • TS3510 I have 3 different apple devices using the same Apple ID and would like to use FaceTime to call from one device to the other.  Do I need a different Apple ID for one of the devices in order to do that?

    I have 3 different apple devices (iPod Touch, iPad and MacBook Pro) using the same Apple ID and would like to use FaceTime to call from one device to the other.  Do I need a different Apple ID for one of the devices in order to do that?

    I found this on a related question in the Community:
    Yes you can do it. I do it with 4 different devices all using the same Apple ID.
    You need to associate different email addresses for each device in order to use those email addresses as the "contact at" email address. The reason the calls are dropping on you now is that what you are trying to do is like calling yourself on your own phone.
    You can also create new iCloud accounts on each device simply to use for FaceTime, but I'm guessing that the users of the other two devices have their own email addresses which will make this work for you quite easily.
    Take a look at this for more information.
    The seems to go against what Gail said and the issue you raised about buying dup apps was my first concern.  If this other post is correct, how to I set a different "contact at" in the iPod Touch?
    Goose

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • How to obtain target WWN for a LUN On Windows 2012 R2 Hyper-V with Fibre Channel SAN

    I have a large collection of Hyper-V hosts for which I would like to retrieve the target WNN and LUN ID for the LUNs visible on each host.  By target WWN I mean the storage array's WWN.
    I have tried using the root\wmi namespace to retrieve MS_SMHBA_PORT_LUN instances, but I get 0 instances back.
    I get instances of MSFC_FibrePortHBAAttributes back, but those only tell me the local host's HBA WWN, not the target information.
    This information must be stored somewhere, because you can't access the LUN without it, I hope there is a way to retrieve it.  Is there?  Or is it write only during LUN setup?
     

    Hi,
    Have you checked these two postings:
    http://terrytlslau.tls1.cc/2011/08/how-to-find-world-wide-name-wwn-in.html
    http://pkjayan.wordpress.com/2011/08/17/world-wide-name-wwn-for-a-fibre-channel-hba-on-windows-server/
    You need the FCINFO tool, which you can get from:
    http://www.microsoft.com/en-us/download/details.aspx?id=17530
    Cheers
    Andrew

  • Looking for a Fibre-Channel interface

    Does there exist a Fiber Optic communications interface, specifically "Fibre-Channel" for which LabVIEW drivers exist?
    Perhaps one of the select integrators may have one or know of one.
    Paul Conaway
    Lockheed Martin, Syracuse

    [Warning: A little self promotion follows. Read at your own risk!]
    I am working a project now that includes a "Fibre-Channel" phase in a future phase. We have done a lot of research into this area and are developing benchmarking systems that will let us quantify the determinism of various transport mediums. The current implementation is building on a SCRAMnet gt fiber network to do the measurements.
    If you think we may be able to help you out, you can e-mail me at
    [email protected]
    and I'll put in in contact with management types.
    [End of shameless self promotion]
    Ben
    PS: If you are at the same facility as "Rick Lucas", tell him that "Ben says 'Hi!'"
    Message Edited by Ben on 09-24-2008 07:57 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • [svn:bz-trunk] 9838: Bug: BLZ-416  - Can bypass checks for which channel and protocol a destination can be called over by using NetConnection instead of BlazeDS messaging .

    Revision: 9838
    Author:   [email protected]
    Date:     2009-08-31 11:27:50 -0700 (Mon, 31 Aug 2009)
    Log Message:
    Bug: BLZ-416  - Can bypass checks for which channel and protocol a destination can be called over by using NetConnection instead of BlazeDS messaging.
    QA: Yes
    Doc: Yes - note the new enforce-endpoint-validation setting.
    Details: Added the following config setting:
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-416
    Modified Paths:
        blazeds/trunk/modules/common/src/flex/messaging/config/ConfigurationConstants.java
        blazeds/trunk/modules/core/src/flex/messaging/MessageBroker.java
        blazeds/trunk/modules/core/src/flex/messaging/config/MessagingConfiguration.java
        blazeds/trunk/modules/core/src/flex/messaging/config/ServerConfigurationParser.java
        blazeds/trunk/modules/core/src/flex/messaging/config/SystemSettings.java

  • EWDM for 16 Gbps fibre channel rates

    Can EWDM with amplifier support fibre channel SAN rates of 16 Gbps?

    If you already own cisco EWDM, then check with vendor of 16Gbps SAN that can they provide 16Gbps Optical Transreceiver (SFP) for wavelengths supported by EWDM. As cisco only providing 10G SFP. For optical system it doesnot matter whether it is 1/10/16/40 higher rates can go lesser distance without amplification. Only thing need to check whether the distance you have between EWDM system will be able to support that distance at 16Gbps rate or you need optical amplifier etc. You need to see your power budget.
    If you don't have Cisco EWDM then check with SAN 16Gbps vendor what they suggest. As you have many variables to see which will be difficult for you to manage if you are new to DWDM.

  • I-SCSI or Fibre Channel for SAP on ESX ?

    Hello,
    i have 4 ESXI Hosts with 2-6 vmware machines. Every machine contains a NW 2004s system (test, demo, education) with 8 GB ram and MaxDB database with 50-100 GB. Today the machines run with local Harddisk, but we plan to buy a SAN. I prefer a low cost fibre channel solution on basis of
    Infortrend EonStor S16F-R1840 (RAID-System) and Qlogic SANbox 5800 V (SAN Hardware), but our central it administrator wants a solution based on 10 Gb i-scsi.
    I read several blogs and articles, but im am really unsure which technology we should use.
    Greetings
    Heiko

    We have our entire VMware landscape running on iSCSI SAN's, including SAP, Exchange, File/Print services.  Before we went this direction we tested what our needs were to determine which option would best meet our needs.  We found that the iSCSI solution would more than cover our requirements.  Couple this with the fact that iSCSI uses copper, infastructure costs would also be lower.
    We are relatively a small shop, approx 200 users on 3 ESX hosts with 35 VM's, so the iSCSI option was a good fit for us.  I would recommend trying to find what your requirements are for performance on the SAN, this will help you determine which technology to go with.  In our case both cost and performance were in the favor of iSCSI and that is the direction we went and have had no problems.   Hope this helps.
    Jared Powell

Maybe you are looking for

  • Creating of Notes for Transaction Code RECN(Using Classes and Methods)

    Hi Experts, I want to Create Notes for Transaction Code RECN, This should not done manually but should be done programatically. I had used the Class CL_GOS_SRV_NOTE_CREATE to create the notes.....but here comes the doubt for me.....note will be creat

  • Yosemite killed my MBP... HELP!!

    Successfully installed Yosemite (UG from Mavericks) and it worked fine for about an hour. Then the beachball appeared and my MBP has been rendered totally non-responsive... Hard booted several times with no luck. Tried safe boot but it just hangs for

  • Can't OC anymore?

    Can't seem to OC system anymore.  Been using Dynamic OC (General setting) for a few weeks now and everything was working great.  CoreCenter use to show cpu running at 2000Mhz (200x10) when idle and 2200Mhz (220x10) when cpu at 100%... now just 2000Mh

  • Stack Canvas Horizontal Scroll Bar

    Hi There, I'm using Forms 6i (Rel.2) and i am facing a problem with may stack canvas's horizontal scroll bar at runtime, as follows: As I put the cursor on an Item inside the stack canvas, and try to scroll away to the left where that Item is no long

  • BI-Beans: getcursor error

    I have a cube with 10 dimensions and 1 measures with about 16K records. When I tried to open this cube with BI-Beans, I got this following error message: oracle.express.ExpressServerExceptionError class: OLAPI Server error descriptions: DPR: Unable t