From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078715811747.tru64-unix-managers.marc@archive.invalid> From: LBRO Date: Fri, 17 Jul 1998 12:44:49 +0000 To: tru64-unix-managers Subject: SUMMARY: disk messages in uerf on cluster X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078715811747 --simple boundary Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit And with subject, also... ______________________________ Forward Header __________________________________ Subject: No subject given Author: LBRO at dk-internet-mail Date: 7/17/98 1:37 PM Hi, managers. The problem, I reported was that in a cluster, I suddenly got a lot of errors in the uerf log referring to disks that other members of the cluster had mounted. Almost all agreed that this was caused by 'advfsd' that monitors care of the file sets and domains. This program makes a sort of 'scu show edt' and monitors all the disks found here. But some of those are reserved by other members of the cluster and that causes the error. Chris H Ruhnke suggested that one could put the names of the disks mounted by other cluster members into a 'ignore' file (THANKS!!, it is not documented in the man pages) and then restart advfsd. That seems to work quite well with the following to note: On my system (DU4.0D patch kit 1): It is /var/opt/... instead of /usr/opt/... It doesn't seem necessary to restart advfsd. I attach an awk script that I have made that can be run by cron. It makes an ignore file that contains those disks of the disks visible by scu that are not below /etc/fdmns. Thanks to + Chris H Ruhnke who suggested changing /usr/opt/advfsd/disks.ignore + Mike Cross + Viktor Holmberg + Steve Parker + rye@jtasc.acom.mil + Rodrigo Poblete + Ken Krueger --simple boundary Content-Type: text/plain; charset=US-ASCII; name="ignore~1.awk" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ignore~1.awk" #!/usr/bin/awk -f BEGIN { while ("/sbin/scu show edt" | getline ) { for (i=1; i <= NF; i++) { if ($(i-1) == "Bus:") bus=$i; if ($(i-1) == "Target:") target=$i; if ($(i-1) == "Lun:") lun=$i; if ($(i-1) == "Type:") type=$i; } if (type == "Direct") { sub(/,/, "", bus); sub(/,/, "", target); sub(/,/, "", lun); if (lun == 0) lunletter=""; else if (lun == 1) lunletter="a"; else if (lun == 2) lunletter="b"; else if (lun == 3) lunletter="c"; else if (lun == 4) lunletter="d"; else if (lun == 5) lunletter="e"; else if (lun == 6) lunletter="f"; else if (lun == 7) lunletter="g"; disk=sprintf("rz%c%d", lunletter, bus*8+target); alldisks[disk]=1; } } while ("find /etc/fdmns" | getline) { sub(/\/.*\//, ""); sub(/.$/, ""); if (alldisks[$1]) { alldisks[$1]=0; } } for (disk in alldisks) if (alldisks[disk]) print disk > "/var/opt/advfsd/disks.ignore"; } --simple boundary Content-Type: text/plain; charset=US-ASCII; name="RFC822.TXT" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="RFC822.TXT" Received: from mailer.dscc.dk by smtplink.dscc.dk (ccMail Link to SMTP R8.00.01) ; Fri, 17 Jul 98 12:39:52 +0100 Return-Path: Received: from sunrise by mailer.dscc.dk (5.65/corrected by UNI-C) with SMTP id AA27969; Fri, 17 Jul 98 09:58:15 +0200 Received: by sunrise (1.40.112.8/16.2) id AA052235532; Fri, 17 Jul 1998 13:38:52 +0200 Received: from sws1.ctd.ornl.gov(128.219.128.109) by sunrise.dscc.dk via smap (3.2) id xma005135; Fri, 17 Jul 98 13:38:29 +0200 Received: (qmail 18807 invoked by uid 5); 17 Jul 1998 11:38:56 -0000 Delivered-To: alpha-osf-managers@sws1.ctd.ornl.gov Sender: alpha-osf-managers-owner@ornl.gov Followup-To: poster Precedence: bulk Received: (qmail 10436 invoked from network); 17 Jul 1998 11:38:53 -0000 Received: from oaunx1.ctd.ornl.gov (HELO ornl.gov) (128.219.128.17) by sws1.ctd.ornl.gov with SMTP; 17 Jul 1998 11:38:53 -0000 Received: from sunrise (sunrise.dscc.dk) by ornl.gov (PMDF V5.1-10 #23475) with ESMTP id <0EW800JLDLONXB@ornl.gov> for alpha-osf-managers@sws1.ctd.ornl.gov; Fri, 17 Jul 1998 07:38:49 -0400 (EDT) Received: by sunrise (1.40.112.8/16.2) id AA049685442; Fri, 17 Jul 1998 13:37:22 +0200 Received: from mailer.dscc.dk(129.17.3.24) by sunrise.dscc.dk via smap (3.2) id xma004960; Fri, 17 Jul 1998 13:37:19 +0200 Received: from smtplink by mailer.dscc.dk (5.65/corrected by UNI-C) with SMTP id AA27948; Fri, 17 Jul 1998 09:56:40 +0200 Received: from ccMail by smtplink.dscc.dk (ccMail Link to SMTP R8.00.01) id AA900675494; Fri, 17 Jul 1998 12:38:15 +0100 Date: Fri, 17 Jul 1998 13:37:41 +0100 From: LBRO Subject: No subject given To: alpha-osf-managers@ornl.gov Message-Id: <9807179006.AA900675494@smtplink.dscc.dk> Mime-Version: 1.0 X-Mailer: ccMail Link to SMTP R8.00.01 Content-Type: multipart/mixed; boundary="simple boundary" --simple boundary--