Get LUN ID and TARGET ID

Given an entry in /dev/rmt, how do you programmatically get its LUN ID and target ID?
It shows up in dmesg's output but I'm wondering if there's a call to uSCSI to get in.
Under Linux, you can use ioctl(fd, SG_GET_SCSI_ID, &info) to get it.
Thanks,
Quang

It's ashamed that no one can provide an answer to such a simple question. Aren't there anyone working for Sun lurking around helping people here?
Quang

Similar Messages

  • Budget and Target COPA Planning tables

    Dear All
    I started to use SAP .Net Connector 3 with VS2010.
    I want to get the Budget and Target from SAP tables it all reside in COPA planning.
    The TCode = “KEPM”.

    Almost all .NET Connector work begins with finding the right RFC-enabled BAPI to call.  In your case, this is most likely BAPI_COPAPLANNING_GETDATA.  From that point, please refer to the tutorials available for invoking this function module from your C# or VB code.
    Here's a good one for non-ABAP developers -- How-To Use SAP Nco 3 Connector | .Net 4 | Visual Studio 2010
    Basics
    Programming Guide

  • Spawn jobs are not getting priority and target servergiven at selection scn

    Hi Abapers,
    I am scheduling main program as a job in backend through FMs JOB_OPEN, JOB_SUBMIT and JOB_CLOSE with priority and target server taken from user at selection screen through SE38,after executing the job,job will generate the spawn jobs (i.e child jobs). The spawn jobs  also be scheduled with same priority and target server from taken user. But after completion of main job execution, the spawn jobs are not generating with same priority and target server taken from selection screen. May be its getting refreshed.
    Please give me an idea how the spawn jobs also have to get the same priority and server of main job?
    Please reply as soon as possible. I need it urgently.

    Hi,
    I have used below statements for ADD EXTRACT and ADD REPLICAT.
    ------Extract
    ADD EXTRACT ext_1, TRANLOG, BEGIN NOW
    -------Data Pump
    ADD EXTRACT pump_1, EXTTRAILSOURCE /app/ggs/trail/local_trail_1/ta, BEGIN NOW
    -------Replicat
    ADD REPLICAT rep_1, EXTTRAIL /app/ggs/trail/remote_trail_1/tb, BEGIN NOW, CHECKPOINTTABLE ogg.tarun_chk
    Yes, i have tried tutorial at Oracle Learning Library.
    Thanks
    Tarun
    Edited by: user8886876 on Feb 12, 2012 9:56 PM

  • I am trying to stop encryption in fire vault, but I keep getting the message, The target disk isn't eligible for reversion because it wasn't created by conversion or it is not part of a simple setup of exactly one logical and one physical volume.¨

    I am trying to cease encryption in fire vault, Mac os x lion 10.7 4
    I keep getting the message,
    ¨The target disk isn’t eligible for reversion because it wasn’t created by conversion or it is not part of a simple setup of exactly one logical and one physical volume.¨
    Please can someone advise the way to disable?
    Thank you.

    Are you using Boot Camp? See this discussion at MacRumors.
    Clinton

  • Report for production order with actual and target cost for each

    Hi
    Is there any report that gives me the list of all production orders in a month with its respective actual and target costs?
    I can use COOIS to get a list of production orders, then double click on the prod order, then click on goto and then to cost analyis.. but can i avoid going through all this and get a report with the details i need?
    thanks in advance

    Thanks a lot for that.
    I'm a little confused with the columns in the report.
    Which columns should I keep for my requirement? -
    Production Order
    Total Target Cost
    Total Actual Cost
    Total Actual Qty
    Total Target Qty
    Thanks

  • How do I use Migration Assistant to get my Mail and Keychain settings from

    How do I use Migration Assistant to get my Mail and Keychain settings from my Power Mac G5 2.3Ghz? I just purchased a new 2.5 MacBook Pro which will be delivered tomorrow, and I want to to know how to transfer Mail and Keychain?
    Thank You in advance for your reading and replying.
    Kindest Regards,
    Sebastian

    Rather than using Migration Assistant, which can cause trouble with the PPC to Intel change, simply boot the G5 in FireWire target disk mode and manually transfer the following:
    /Home/Library/Keychains (copy the whole folder)
    /Home/Library/Mail (copy the whole folder)
    /Home/Library/Preferences/com.apple.mail.plist
    You might want to look over Kappy's helpful guide for migrating, which covers the full process for a manual migration (including the above files).
    Hope this helps...

  • How to find out the Target Component name and Target view name

    Hi All Expert,
                      I want to know ,how to find out the target component and target view in WEB UI,when i click on a field which shows as a hyper link in WEB UI .At GUI level ,i know the how it will work.Any way to find out the component name and view name which is show the details of that field at GUI level .IF you go to transaction CRMD_ORDER then open the service contract id .then goto the item level value .there is 1 service data tab is available at item level.there is two button is available.first one is available time and second one is response time .if i click on any button then one popup is open which is shows the details of that button.I dont know how to find out the component name and view name from GUI level.
    Thanks in Advance....
    Vishwas Sahu

    Hi Vishwa,
                 The control would be something like this for navigation in Get_p_xxx method u mention as link and u mention a event name which gets triggered on the click of this hyperlink. So your GET_P_XXX method would have the following code:
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.
        WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
          rv_value = 'EXAMPLE'.
    Now you have to create a method as EH_ONEXAMPLE at your IMPL class and within which you would give an outbound plug method. Within the outbound plug the target data would be filled in the collection and window outbound plug would be triggered.
    This is a huge topic and  i have just mentioned you basic things.
    Regards,
    Bharathy.

  • Since getting iOS 7 and updates peripheral USB and sync for Itune's is not working.

    Since getting iOS lion and updates I can no longer sync my ipad, or iphone with out being told is no longer authorized on my computer.  Also I can only use the USB port on the back of my Imac for my ipad, and iphone.  Is there a solution?

    I can help with the "IR Receiver" part of your question. That's the piece of hardware inside older MacBook Pros (MBPs) that lets them work with the Apple Remote. "IR" is the standard abbreviation for "infrared," the portion of the electromagnetic spectrum used by remotes for many common devices (stereos, cable boxes, Apple TVs, etc.). The remote sends a coded stream of IR pulses; a corresponding receiver in the target device "sees" the infrared light and decodes it. The MBP's internal IR Receiver sends the received signals to the processor via USB through an internal hub.
    The most recent MacBook Pros have dropped the IR receiver and no longer work with the Apple Remote.

  • Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event STATE_CHG and (target) status READY- ERROR EVENT_RAISED - Error updating the process object

    Hi All
    I have set up a simple custom HCM process and Form regarding Infotype TO CREATE AND CHANGE POSITION. I have checked the process and form consistency and it seems fine. Now when I run the process from HRASR_DT it generates a process number but it also gives an error workflow could not start.I get following error (SWIA log - Step history)
    Executing flow work item - Transaction brackets of the workflow has been damaged
    Exception occurred - Error when starting work item 000000007031
    PROCESS_NODE - Error when processing node '0000000014' (ParForEach index 000000)
    CREATE - Error when creating a component of type 'Step'
    CREATE_WIM_HANDLE - Error when creating a work item
    CREATE_VIA_WFM - Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event CREATED and (target) status
    EVENT_RAISED - Error updating the process object
    Executing flow work item - Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event STATE_CHG and (target) status READY->ERROR
    EVENT_RAISED - Error updating the process object
    Executing flow work item - Transaction brackets of the workflow has been damaged
    Executing flow work item - Work item 000000007031: Object FLOWITEM method EXECUTE cannot be executed
    Executing flow work item - Error when processing node '0000000014' (ParForEach index 000000)
    Points to be noted:
    1) I have searched few SAP notes such as 1384961(Notes for 6.0.4) but our system is in higher level patch 6.0.5
    2) WF-BATCH have SAP_NEW and SAP_ALL authorization.
    Appreciate your valuable suggestions.
    Thanks
    Ragav

    Hi Ragav
    did you try to debug this? maybe something is missing in config of P&F?
    Since you are on 605, the following note would be there in your system....use it to debug:
    1422496 - Debugging background workflow tasks in HCM P&F
    This will help you find the root cause.
    regards,
    modak

  • Source and target directory file name should be same

    Hi,
    How can i generate the same file name in target directory without date and Timestamp.
    for eg., Source File name : yeswanth.txt
    and target File name also : yeswanth.txt
    Note : here source side the file yeswanth.txt is constant and whenever it moves to target directory...should be overwrite.
    Reward points for useful answers.
    Thanks & Regards,
    yeswanth.

    Hi Mugdhal,
    am getting this error when i sent the same file again.
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException:
    Yeswanth.txt: Cannot create a file when that file already exists. : com.sap.aii.adapter.file.ftp.FTPEx: 550
    Yeswanth.txt: Cannot create a file when that file already exists.
    But, here it should be overwrite the existing file.
    Regards,
    Yeswanth.

  • Error in ODI  ,using source EBS and target  planning

    Hi,
    I am in FDM ERPI integrator,source is EBS and target is Planning ,I didn't get the data from source and I got this below error,
    Execution error :
    java.lang.Exception :the scenario did not end properly.
    at.java.lang.Thread.run(Unknown Source)
    pls help me on this situation.
    regards,
    SV

    Hi There,
    I am trying to extract metadata out of EBS and target is Essbase. Everything is setup and connection working fine.
    My problem is that the chart of accounts is getting built in Essbase as a flat structure? How do I get the roll ups from EBS into Essbase? Is there a certain seeting that I must choose to be able to build the Parent Child relationships?
    Thanks for the help
    Regards
    Henk

  • What happened to the Get/Set Date and Time utilities from RT 7.1?

    I'd like to use the Get/Set Date and Time utilities that were available in 7.1, but disappeared after that. I see that the 7.1 utilites  call a dll that does not appear to be installed with LabVIEW RT 8 and later. What do I need to do to use the utilites from 7.1 that do not appear in later versions?

    In Labview 8.2 and later there are two directories for vi.lib. settime.dll is located in National instruments\Labview 8.2\Targets\NI\RT\ vi.lib
    This is the dll you want to use in order to call it use the same Vi as in 7.1 (RT set date and time.vi) and link it to the correct dll.

  • SCCM 2012 - Pull distribution point and target PKI or HTTPS DPs

    I have spent several days researching this and so far have found only a single page that even takes a stab at offering a solution.
    Problem:
    Trying to target an HTTPS DP when creating a pull distribution point in SCCM 2012 R2. The link that I'm referring to that does offer a workaround is here(guess I can't post a link, but it ends with the following, how-to-set-an-https-distribution-point-as-a-source-dp-for-pull-dps)
    I have several problems with the proposed solution.
    Is a script really the only way to proceed with something that has up till now been a built in feature with the rest of the product.
    You have to provision the DP to use a self signed cert initially for it to even work, then supposedly you can add the private key to the DP later.
    Does that mean I have to unbind the cert from both the pull and target/source push DP in IIS?
    Powershell which would be a logical way to go, doesn't seem to make any head way(Mr. Snover I know you don't oversee configman but please push for more documentation, you've taught me to live and die by get-help. A single example for a command as large
    as set-cmdistributionpoint or add-cmdistributionpoint is a shame. Perhaps my update help just didn't finish properly and I'm talking prematurely. If that is the case then I apologize!)
    Is there no other solution other than build the DP with a self signed cert then run this VB script and then switch the private key later? I have read through a lot of the pull DP documentation and it makes mention of leveraging the SDK but I haven't seen
    anything definitive. I would like to at the very least convert this from VB to powershell(if that script is the only option) and I know how to convert the portions where it's interacting with the site's WMI namespace (smsprovider if I'm not mistaken).
    What I don't know how to do, rather don't have the chops for is what comes after. The site control file piece, I see it's also WMI and I could spend the time stepping through the different piece and just might to learn more about SCCM in the lab anyhow. I've
    spent the last year getting to know powershell and have spent next to no time with VB. I know enough to recognize what a script is doing.
    The environment:
    The reason this is important for me is I'm about to start the production build(been all lab up till now) that is going to have just under 300 DPs in the field connected via T1 lines. They were all 07 secondary sites. I was thinking about migrating them using
    the migration tool but considering the amount of work its going to take if that link is the ONLY path to target a HTTPS DP then I might as well just spend the time and manually uninstall and reinstall the field DPs. The client count in the field is an average
    of 50 machines per site where there are on-prem devices... Total client count is around 25k. The primary site in the datacenter will house the majority of the site roles unless I start running into resource issues, at which time I will begin offloading site
    roles to one of two more servers that I have slated for the project. No CAS, no Secondaries. SQL is co-located on the primary.
    Ramblings:
    I'm sure there are more people out there using PKI, and using pull DPs. How have you managed to target your HTTPS enabled DPs? Security wants this to be a HTTPS only environment, and up until now I have successfully done that. If someone could please point
    me in the direction of some more thorough documentation I would be very grateful. I understand that this is a somewhat new feature, but there has to be an easier way. Perhaps powershell can cleanly do it with the set-cmdistribution point...but when I update
    help and do showwindow for the command I only get one example and so far haven't found any other stories like mine with the exception of the link I posted in the beginning.
    While I'm rambling, Wally there are a lot of us in the community that are going to miss your presence at Microsoft and should you read this I wish you luck with your new position. But that is a whole different topic. Thanks in advance for any links or help
    you can provide. -K.R.

    Yes, this is the only way, from
    http://technet.microsoft.com/en-us/library/gg712321.aspx#BKMK_PlanPullDps: "However, you can use the Configuration Manager SDK to specify a source distribution point that is configured for HTTPS. To use a source distribution point that is configured
    for HTTPS, the pull-distribution point must be co-located on a computer that runs the Configuration Manager client. "
    Does "why" really matter , who cares? It just is. Whether it was an oversight, a coding bug, or an act of God doesn't change anything. Why does there "have to be" an easier way? And what's wrong with using the VBScripts others have
    written? A script is a script is a script particularly if you've been given it already. Just because the hammer is pink doesn't mean it can't hammer the nail in.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • HOWTO set source and target in WTK KToolbar

    I am having trouble getting my MIDlet compiled when pressing the Build button in the WTK's KToolbar. I get the following error:
    generics are not supported in -source 1.3
    This is because I have JDK 1.6 installed and I'm trying to use a Vector in my code that is typed.
    How do I configure the javac settings through the KToolbar so it uses the javac -source and -target arguments?
    Thanks.

    The thing is like
    while practicing in my institute I had used "//ECCserver/SAPMNT" as path for both sender and reciever communication channels...
    now i'm unable to write the path for both
    please help me out

  • Flat file as source and target in owb-error

    hi,
    I want to run an interface with source as flat file and target as rdbms table.
    The mapping got deployed with warnings.
    And when i run the mapping i get the below error.
    ORA-04063: package body "Schema.project_name" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "schema.project_name"
    ORA-06512: at line 1

    Hi
    There's nothing wrong with your theory, however you might get a DB lock depending on the locking strategy of your RDBMS and it's current configuration.
    Now, assuming that DB locking is your issue (get a DBA to check when the dataflow stalls), there are 2 solutions. 
    1, change the DB lock settings
    2, take a copy of the target table in a new dataflow and use that as the source in the orginal dataflow.
    Michael

Maybe you are looking for

  • Help: Getting permission errors from an important document

    I'm having permissions errors with a specific document. I've tried running Disk Utility with no luck. The problem started when I tried to restore an older version of the document from Time Machine. Time Machine gave me an error saying I didn't have p

  • How to convert Purchase Order to Sales Order in the Target system of Vendor

    Hi all,              My sender system and receiver system both are ECC6.00 . We are not using any Xi/PI or EDI tool ., but using ALE to tranfer purchase order to the Vendor System . The PO IDoc is getting tranfered to Target System, but the Correspon

  • Help with arrays and Exception in thread "main" java.lang.NullPointerExcept

    Hi, I have been having trouble all day getting this array sorted and put into a new array. I think it is something simple with my nested loops in sortCityArray() that is causing the problem. Any help would be greatly appreciated. The error is thrown

  • E-Recruitment - Resume scanning by Trex server

    Hi Experts, In E-recruitment, can TRex server search a string through attached resume? If yes, what are the pre-requisites? any configuration requirement?

  • Batch processing using JPD suitability

    Hello, In our company, we are using Weblogic Integration 8.1.6 for batch DB processing mixed with some business logic. We have a few applications built around this: an event generator is fired and a JPD (with DB controls and other controls calling EJ