[Orca-users] Fw: Segmentation fault using 1.35

Renaat Dumon renaat_dumon at hotmail.com
Tue Nov 26 09:12:01 PST 2002


This does indeed let me run it, so it doesn't crash anymore, but my T3's are not measured for some reason.. In fact, there not in the legend of the relevant graphs...

The T3's are configured using disksuite. Our Sysadmin has been working with disk sets on that one... On top of that volume, there is a Veritas File System...

When I do an "iostat -xtc 10" , this is what it gives me back:
                    extended device statistics                      tty         cpu
  device       r/s    w/s   kr/s   kw/s wait actv  svc_t  %w  %b  tin tout  us sy wt id
  1/md110      0.3   31.8    3.2  676.1  0.0  0.3    8.0   0   3    0  188   1  7  5 87
  1/md111      0.2   31.8    2.4  676.1  0.0  0.1    2.3   0   2 
  1/md112      0.1   31.8    0.8  676.1  0.0  0.3    7.9   0   2 
  2/md120      4.0  192.4   32.8  968.6  0.0  0.5    2.8   2  18 
  2/md121      2.0  192.4   16.8  968.6  0.0  0.4    2.3   0  15 
  2/md122      2.0  192.4   16.0  968.6  0.0  0.5    2.4   0  14 
  md0          0.0    3.5    0.0   28.0  0.0  0.1   34.9   5   3 
  md1          0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0 
  md10         0.0    3.5    0.0   28.0  0.0  0.1   20.8   0   3 
  md11         0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0 
  md20         0.0    3.5    0.0   28.0  0.0  0.1   20.5   0   3 
  md21         0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0 
  sd2          0.0    5.2    0.0   28.8  0.0  0.1   23.0   0   5 
  sd3          0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0 
  sd6          0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0 
  sd24         0.0    5.2    0.0   28.8  0.0  0.1   22.5   0   5 
  sd25         0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0 
  ssd0         0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0 
  ssd1         0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0 
  ssd2         0.1   31.8    0.8  676.1  0.0  0.3    7.9   0   2 
  ssd3         2.0  192.4   16.0  968.6  0.0  0.4    2.4   0  14 
  ssd4         0.2   31.8    2.4  676.1  0.0  0.1    2.3   0   2 
  ssd5         2.0  193.2   16.8  969.0  0.0  0.4    2.3   0  16 
  ssd6         0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0 
  ssd7         0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0 
  nfs1         0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0 


On the graphs however, only the following show up:  md10, md20, md0, md11, md21, md1
The 1/md110 & 2/120  for instance (which are mirrorred volumes that are used) don't show up ...

Looking at the build-up using "metastat":        (-s <diskset> ) 
  root at emtc02# metastat -s emtc01-ds2
  emtc01-ds2/d120: Mirror
      Submirror 0: emtc01-ds2/d121
        State: Okay         
      Submirror 1: emtc01-ds2/d122
        State: Okay         
      Pass: 1
      Read option: roundrobin (default)
      Write option: parallel (default)
      Size: 424292352 blocks

  emtc01-ds2/d121: Submirror of emtc01-ds2/d120
      State: Okay         
      Size: 424292352 blocks
      Stripe 0:
          Device              Start Block  Dbase State        Hot Spare
          d5s0                       0     No    Okay         


  emtc01-ds2/d122: Submirror of emtc01-ds2/d120
      State: Okay         
      Size: 424292352 blocks
      Stripe 0:
          Device              Start Block  Dbase State        Hot Spare
          d13s0                      0     No    Okay         


The reason I started working with Orca, is because I thought I could use it to monitor that specific volume... duh :-)

This will require some more fiddling I suppose, thanks for any comments made...


Kind regards,

Renaat


----- Original Message ----- 
From: "Schuster, Stefan" <Stefan.Schuster at dzi.lu>
To: "Renaat Dumon" <renaat_dumon at hotmail.com>
Cc: <orca-users at orcaware.com>
Sent: Tuesday, November 26, 2002 4:34 PM
Subject: AW: [Orca-users] Fw: Segmentation fault using 1.35


> Hi Renaat,
> 
> I think you´ve to comment the following line in your orcallator file (USE_RAWDISK):
> 
> // Define the different parts of the system you want to examine.
> #ifdef WATCH_OS
> #define WATCH_CPU               1
> #define WATCH_MUTEX             1
> #define WATCH_NET               1
> #define WATCH_TCP               1
> #define WATCH_NFS_CLIENT        1
> #define WATCH_NFS_SERVER        1
> #define WATCH_MOUNTS            1
> //#define USE_RAWDISK           1
> #define WATCH_DISK              1
> #define WATCH_DNLC              1
> #define WATCH_INODE             1
> #define WATCH_RAM               1
> #define WATCH_PAGES             1
> #endif
> 
> I hope this works, i had the same trouble. Have a nice day.
> 
> Bye,
> Stefan
>             
>                       \\\|///
>                     \\  ~ ~  //
>                      (  @ @  )
>  ------------------oOOo-(_)-oOOo----------------------------------                
>      ______       Stefan Schuster                   
>     /_____/\      
>    /____ \\ \     Systeme und Datenbanken
>   /_____\ \\ /    
>  /_____/ \/ / /   DZ BANK International S.A.  Tel.:+352-44903-5367
> /_____/ /   \//\  4, rue Thomas Edison     Fax :+352-44903-75367
> \_____\//\   / /  L-1445 Luxembourg-Strassen 
>  \_____/ / /\ /   E-Mail stefan.schuster at dzi.lu 
>   \_____/ \\ \    
>    \_____\ \\     
>     \_____\/
> -----------------------------Oooo---------------------------------
>                       oooO  (   )
>                       (   )  ) /
>                        \ (  (_/
>                         \_)
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Renaat Dumon [SMTP:renaat_dumon at hotmail.com]
> > Gesendet am: Dienstag, 26. November 2002 14:57
> > An: orca-users at orcaware.com
> > Betreff: [Orca-users] Fw: Segmentation fault using 1.35
> > 
> >  
> > Hi all,
> >  
> > orcallator is bailing out on me on one of my systems with a "segmentation fault".  I know this problem has been posted before but I can't find any solution in the (now abandoned) Yahoo group system
> >  
> > In short, I'm using Solaris 8, on a E-4500 with a couple of T3 arrays for storage.
> > I'm using SE 3.3,  and 1.35 for orcallator/orca
> >  
> > The problem seems to be related to enumerating the raw disks, where it tries to reference an element in an array, with index (nil)
> >  
> > Here's an excerpt from the debug log:
> > 
> > if (RAW_disk_map<1> == <1>)
> > raw_disk_map()
> > strcpy(first_name<>, GLOBAL_disk_info[0].short_name<md10>)
> > first_len = strlen(first_name<md10>)
> > for(i = <0>
> > ; i<0> < RAW_disk_count<22>; i++)
> > i = <0>
> > if (strncmp(RAW_disk[0].short_name[0]<s>, <st>, <2>) != <0>)
> > if (strncmp(RAW_disk[0].short_name[0]<s>, <fd>, <2>) != <0>)
> > for(j = <0>
> > ; j<0> < <512>; j++)
> > j = <0>
> > strcpy(short_name<>, GLOBAL_disk_info[0].short_name<md10>)
> > if (j<0> > <0>)
> > if (strcmp(RAW_disk[0].short_name[0]<s>, short_name<md10>) == <0>)
> > j++;
> > strcpy(short_name<md10>, GLOBAL_disk_info[1].short_name<md20>)
> > if (j<1> > <0>)
> > if (strncmp(first_name<md10>, short_name<md20>, first_len<4>) == <0>)
> > if (strcmp(RAW_disk[0].short_name[0]<s>, short_name<md20>) == <0>)
> > j++;
> > strcpy(short_name<md20>, GLOBAL_disk_info[2].short_name<md0>)
> > if (j<2> > <0>)
> > if (strncmp(first_name<md10>, short_name<md0>, first_len<4>) == <0>)
> > if (strcmp(RAW_disk[0].short_name[0]<s>, short_name<md0>) == <0>)
> > j++;
> > strcpy(short_name<md0>, GLOBAL_disk_info[3].short_name<md11>)
> > if (j<3> > <0>)
> > if (strncmp(first_name<md10>, short_name<md11>, first_len<4>) == <0>)
> > if (strcmp(RAW_disk[0].short_name[0]<s>, short_name<md11>) == <0>)
> > j++;
> > strcpy(short_name<md11>, GLOBAL_disk_info[4].short_name<md21>)
> > if (j<4> > <0>)
> > if (strncmp(first_name<md10>, short_name<md21>, first_len<4>) == <0>)
> > if (strcmp(RAW_disk[0].short_name[0]<s>, short_name<md21>) == <0>)
> > j++;
> > strcpy(short_name<md21>, GLOBAL_disk_info[5].short_name<md1>)
> > if (j<5> > <0>)
> > if (strncmp(first_name<md10>, short_name<md1>, first_len<4>) == <0>)> > if (strcmp(RAW_disk[0].short_name[0]<s>, short_name<md1>) == <0>)
> > j++;
> > strcpy(short_name<md1>, GLOBAL_disk_info[6].short_name<(nil)>)
> > Segmentation fault
> > 
> >  
> >  
> >  
> > Thanks for shedding some light on this,
> >  
> > Renaat Dumon
> 
> 
> **********************************************************************
> The information transmitted is intended only for the person or entity 
> to which it is addressed and may contain confidential and/or 
> privileged material. If you are not the intended recipient, please 
> contact the sender by E-Mail return and then delete this message from 
> your system. You should not copy or use it or disclose its contents to 
> any other person. If any part of this message is illegible or if you 
> suspect that the message may have been intercepted or amended, 
> please contact the sender. DZ BANK International S.A. cannot 
> accept any responsibility for the accurancy or completeness of this 
> message without further investigation.
> **********************************************************************
> 
> 
> 
> _______________________________________________
> Orca-users mailing list
> Orca-users at orcaware.com
> http://www.orcaware.com/mailman/listinfo/orca-users
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/orca-users/attachments/20021126/cbeb95a9/attachment.html>


More information about the Orca-users mailing list