Topic
  • 4 replies
  • Latest Post - ‏2012-11-15T06:30:33Z by SystemAdmin
SystemAdmin
SystemAdmin
4779 Posts

Pinned topic SVC - Sense code?

‏2012-11-14T07:24:36Z |
Hello,

Is it possible to read the sense code that you see in a SVC event.
For example: I can see that a migrate task is finished but I cannot see which volume is migrated. If you planned only one or two migrate tasks then it is no problem, but for hundreds of volume it could be necessary to know which volume is migrated on what time.

Thanks in advance.


First Timestamp 13-11-12 14:05:19
Last Timestamp 13-11-12 14:05:19

Event Count 1
Sequence Number 2130
Object Type migrate
Object ID 0
Object Name
Copy ID
Reporting Node ID
Reporting Node Name
Root Sequence Number
Event ID 982009
Event ID Text Migration complete
Error Code
Error Code Text
Status Message
Fixed No
Auto Fixed No

Notification Type Informational
Sense bytes 0 to 15 02 00 00 00 1D 00 00 00 7E 03 0D 00 00 00 00 00
Sense bytes 16 to 31 00 00 00 00 7E 03 00 00 00 00 00 00 00 00 00 00
Sense bytes 32 to 47 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Sense bytes 48 to 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Sense bytes 64 to 79 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Sense bytes 80 to 95 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Sense bytes 96 to 111 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Sense bytes 112 to 127 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Updated on 2012-11-15T06:30:33Z at 2012-11-15T06:30:33Z by SystemAdmin
  • chriscanto
    chriscanto
    291 Posts

    Re: SVC - Sense code?

    ‏2012-11-14T10:26:38Z  
    Assuming you're running 6.1 or later, if the sense data for an event can be usefully decoded then this is implemented in the GUI. Right click on the event log entry and click on Properties, then scroll down towards the end of the panel. Not all events have useful decodes available, and the number of events decoded probably varies between code levels.
  • SystemAdmin
    SystemAdmin
    4779 Posts

    Re: SVC - Sense code?

    ‏2012-11-14T11:15:58Z  
    Assuming you're running 6.1 or later, if the sense data for an event can be usefully decoded then this is implemented in the GUI. Right click on the event log entry and click on Properties, then scroll down towards the end of the panel. Not all events have useful decodes available, and the number of events decoded probably varies between code levels.
    Thanks for the answer Criscanto,

    I am running on 6.3.0.2 and there is no sense code decoding for this event, so I'll hope that there is a manual or something that explain the sense code so I can decode it myself. I can imagine that the vdisk id is reported somewhere in the sense code.

    Allevatore
  • SystemAdmin
    SystemAdmin
    4779 Posts

    Re: SVC - Sense code?

    ‏2012-11-14T20:59:35Z  
    Hi,

    I looked on my migration tasks and it looks like you have to look on the line:
    Sense bytes 16 to 31 00 00 00 00 7E 03 00 00 00 00 00 00 00 00 00 00
    on the columns 5&6: 7E 03
    You have to reverse them and then convert to the decimal to vdisk_id:
    1. bc
    ibase=16
    037E
    894

    so your vdisk_id is 894:

    lsvdisk -filtervalue vdisk_id=894

    ?
  • SystemAdmin
    SystemAdmin
    4779 Posts

    Re: SVC - Sense code?

    ‏2012-11-15T06:30:33Z  
    Hi,

    I looked on my migration tasks and it looks like you have to look on the line:
    Sense bytes 16 to 31 00 00 00 00 7E 03 00 00 00 00 00 00 00 00 00 00
    on the columns 5&6: 7E 03
    You have to reverse them and then convert to the decimal to vdisk_id:
    1. bc
    ibase=16
    037E
    894

    so your vdisk_id is 894:

    lsvdisk -filtervalue vdisk_id=894

    ?
    Hi Raduu,

    Thank you very much, this is what I needed. This works just great.

    Greetings,
    Allevatore