[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | USG buildhelp questions/answers |
|
Moderator: | SMURF::FILTER |
|
Created: | Mon Apr 26 1993 |
Last Modified: | Mon Jan 20 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 2763 |
Total number of notes: | 5802 |
2115.0. "odemount -bg -all hangs since inr disk upheaval..." by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Tue Feb 20 1996 14:40
Date Of Receipt: 20-FEB-1996 14:14:18.61
From: SMURF::FLUME::anderson "David Anderson USG 20-Feb-1996 1411"
To: [email protected]
CC: [email protected]
Subj: odemount -bg -all hangs since inr disk upheaval...
Hello,
I attended the ODE class on Monday in hopes that I could determine what
the problem is with starting up ODE on my workstation, but I still
don't know what is wrong.
It worked fine for about 5 months -- that is, until the recent disk
manipulations took place on "inr" a few weeks ago. Since that time,
the "/sbin/rc3.d/S87ode3.0" startup script hangs every time on boot,
and I have to Ctrl-C out of it to bring my system up. When I do this,
some trees are successfully mounted, but others aren't.
I put a set -x at the top of the S87ode3.0 script, and have attached the
output to this file. It simply hangs on the "odemount -bg -all" line.
Are there any clues in it that can tell me why it can no longer complete
its mission? I've also attached a copy of my /etc/fstab, netinfo output,
and my sde server mount.
Thanks,
Dave Anderson
# S87ode3.0 start
ODE_DEFAULT_VERSION=V3.0
ODE_DEFAULT_DIR=ode3.0
ODE_TYPE3=client
ode_server_principal=kxct
def_prod_ver=V3.0
+ grep PRODUCT
+ echo V3.0
tmp=
+ [ X != X ]
def_prod_dir=ode3.0
+ grep PRODUCT
+ echo ode3.0
tmp=
+ [ X != X ]
+ sed s;V;;g
+ echo V3.0
default_version=3.0
default_ode_server_svc=549
default_kerberos_svc=750
default_kprop_svc=753
default_kerb_master=754
default_sup_svc=871
default_tool_server=NONE
default_type=client
default_odemount=yes
default_odemount_string=-all
default_odemount_opts=-bg
restart_ntp=yes
default_server=yes
default_supfilesrv=yes
ODE_METRIC_PATH=/var/opt/DECodeII/ode3.0
ODE_USROPT_PATH=/usr/opt/DECodeII/ode3.0
+ hostname
ODE_METRIC_FILE=DECodeII-server-metrics_kirin.zk3.dec.com_549
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/etc:/usr/etc:/usr/ucb
+ export PATH
ODE_TYPE3=client
ODE_TOOLS_SERVER=
ODE_ODEMOUNT3=yes
ODEMOUNT3_OPTS=-bg
ODE_SERVER3_OPTS=
+ whoami
+ [ root != root ]
+ [ -f /etc/rc.config ]
+ . /etc/rc.config
DISPLAYTYPE=
HOSTNAME=kirin.zk3.dec.com
NUM_NETCONFIG=1
MAX_NETDEVS=24
NETDEV_0=ln0
NETDEV_1=
NETDEV_2=
NETDEV_3=
NETDEV_4=
NETDEV_5=
NETDEV_6=
NETDEV_7=
IFCONFIG_0=16.140.144.244 netmask 255.255.255.0
IFCONFIG_1=
IFCONFIG_2=
IFCONFIG_3=
IFCONFIG_4=
IFCONFIG_5=
IFCONFIG_6=
IFCONFIG_7=
RWHOD=yes
ROUTED=yes
ROUTED_FLAGS=-q
ROUTER=no
GATED=no
GATED_FLAGS=
PAGERAW=1
PAGEFILE=/dev/rz8b
PARTITION=rz8b
PARTITIONTYPE=RZ26
PAGEMINSZ=0
PAGEMAXSZ=0
QUOTA_CONFIG=
+ export DISPLAYTYPE HOSTNAME NUM_NETCONFIG QUOTA_CONFIG
+ export NETDEV_0 NETDEV_1 NETDEV_2 NETDEV_3 NETDEV_4 NETDEV_5 NETDEV_6 NETDEV_7
+ export IFCONFIG_0 IFCONFIG_1 IFCONFIG_2 IFCONFIG_3 IFCONFIG_4 IFCONFIG_5
+ export IFCONFIG_6 IFCONFIG_7 RWHOD ROUTED ROUTED_FLAGS GATED GATED_FLAGS
+ export ROUTER MAX_NETDEVS
+ export PAGERAW PAGEFILE PARTITION PARTITIONTYPE PAGEMINSZ PAGEMAXSZ
LAT_SETUP=1
+ export LAT_SETUP
BIND_CONF=YES
+ export BIND_CONF
BIND_SERVERTYPE=CLIENT
+ export BIND_SERVERTYPE
BIND_SERVERARGS=NONE
+ export BIND_SERVERARGS
NIS_CONF=YES
+ export NIS_CONF
NIS_TYPE=CLIENT
+ export NIS_TYPE
NIS_DOMAIN=zk3YP
+ export NIS_DOMAIN
NIS_ARGS=-s -S zk3YP,guru,correa -ypset
+ export NIS_ARGS
NFS_CONFIGURED=1
+ export NFS_CONFIGURED
NFSSERVING=0
+ export NFSSERVING
NUM_NFSD=0
+ export NUM_NFSD
NUM_NFSIOD=7
+ export NUM_NFSIOD
NFSLOCKING=1
+ export NFSLOCKING
PCNFSD=0
+ export PCNFSD
AUTOMOUNT=1
+ export AUTOMOUNT
AUTOMOUNT_ARGS=-h -m -f /etc/auto.master
+ export AUTOMOUNT_ARGS
ODE_TYPE3=client
+ export ODE_TYPE3
ODE_TOOLS_SERVER=inr.zk3.dec.com:/usr/sde
+ export ODE_TOOLS_SERVER
ODE_ODEMOUNT3=yes
+ export ODE_ODEMOUNT3
ODEMOUNT3_OPTS=-bg
+ export ODEMOUNT3_OPTS
ODE_ODEMOUNT_STRING=-all
+ export ODE_ODEMOUNT_STRING
+ date
+ echo DECode II V3.0 Starting Tue Feb 20 13:47:32 EST 1996
+ [ Xinr.zk3.dec.com:/usr/sde != X ]
+ [ ! -d /usr/sde ]
+ [ ! -d /usr/sde/ode3.0 ]
+ [ Xyes = Xyes ]
+ [ -f /usr/sde/disks/ode_fstab ]
+ /usr/sde/ode3.0/tools/common/odemount -bg -all
# cat /etc/fstab
/dev/rz8a / ufs rw 1 1
/proc /proc procfs rw 0 0
/dev/rz8g /usr ufs rw 1 2
/dev/rz8b swap1 ufs sw 0 2
/dev/rz1b swap2 ufs sw 0 0
/dev/rz3b swap3 ufs sw 0 0
/dev/rz13g /rz13g ufs rw 1 2
/dev/rz13h /sandboxes ufs rw 1 2
/dev/rz3g /rz3g ufs rw 1 2
/dev/rz1g /rz1g ufs rw 1 2
/usr/useg_tools@guru /usr/useg_tools nfs rw,bg 0 0
/usr/guest@guru /usr/guest nfs rw,bg 0 0
/crash/files@guru /crash/files nfs rw,bg 0 0
/usr/sde@inr /usr/sde nfs rw,bg 0 0
/usr/staff/gu1@guru /usr/staff/gu1 nfs rw,bg 0 0
/usr/staff/gu2@guru /usr/staff/gu2 nfs rw,bg 0 0
/usr/users/support@guru /usr/users/support nfs rw,bg 0 0
/crashes@pannik /pannik/crashes nfs rw,bg 0 0
/usr/crashf@legion /legion/usr/crashf nfs rw,bg 0 0
#/usr/var/spool/mail/anderson@flume /usr/var/spool/mail/anderson nfs rw,b
g 0 0
#/usr/users/support@guru /usr/users nfs rw,bg 0 0
# netinfo kirin
cat: cannot open /var/adm/ues/etc/machines/UES
General information for kirin:
Host Owner: arvidson
Owners Group: guest
Host Location: 2X76
Office subnet:
Network information for kirin:
IP Address: 16.140.144.244
Hardware Address: unknown
Broadcast Address: 16.140.144.255
Subnet Mask: 255.255.255.0
Subnet Name: violet-net
Server information for the violet-net subnet and kirin:
ULTRIX/mop RIS Servers: correa(16.140.144.22)
OSF1/bootp RIS Server: osfris (no IP addr, this is an alias)
YP/NIS (zk3YP) Servers: guru(16.140.144.7) correa(16.140.144.22)
BIND (.zk3.dec.com) Servers: guru(16.140.144.7) correa(16.140.144.22)
NNTP (news) Server: decvax.dec.com(16.140.0.3)
NTP (ULTRIX time) Servers: correa(16.140.144.22)
XNTP (OSF1 time) Servers: guru(16.140.144.7) yield(16.140.0.12)
ODE Servers: Not implemented yet.
Mail Relays/Servers
Mail Server Relay: decvax.dec.com (this is not for workstations)
General Purpose Relay: relay.zk3.dec.com (no addr, this is an MX)
Phase V DECnet Relay: decnetrelay.zk3.dec.com (no addr, this is an MX)
Phase IV DECnet Relay: decnetrelay.zk3.dec.com (no addr, this is an MX)
UMC Relay: umcrelay.zk3.dec.com (no addr, this is an MX)
UUCP Relay: uucprelay.zk3.dec.com (no addr, this is an MX)
# mount | grep sde
/usr/sde@inr on /usr/sde type nfs (v3, rw, hard, intr)
T.R | Title | User | Personal Name | Date | Lines |
---|
2115.1 | Re: odemount -bg -all hangs since inr disk upheaval... | AOSG::FILTER | Automatic Posting Software - mail to flume::puck | Tue Feb 20 1996 14:42 | 74 |
| Date Of Receipt: 20-FEB-1996 14:19:18.04
From: SMURF::ALPHA::"[email protected]" "20-Feb-1996 1416"
To: [email protected]
CC: [email protected], [email protected]
Subj: Re: odemount -bg -all hangs since inr disk upheaval...
Here's an earlier response to the same problem that may answer your question.
This really has nothing to do with inr, but has to do with change to odemount.
See the attached message.
Subject: re DECode II hangs during boot
Subject: Re: ODE start up problem - odemount hanging?
In-Reply-To: Your message of "Tue, 06 Feb 96 13:08:39 EST."
<[email protected]>
Date: Tue, 06 Feb 96 14:16:03 -0500
From: "Joshua M. Friedman, OSF/UNIX SDE 381-1548" <jmf>
X-Mts: smtp
Dick,
Is your system setup as an ode client (it should be a client, not
a server). Is it setup to do odemounts at bootup? If you're doing
odemount -all, this mounts about 150 filesystems; you may want to
change this to only mount the trees you really use.
There was a change in odemount recently - when you reboot, if you're
setup to call odemount (grep ODEMOUNT /etc/rc.config), then this odemount
uses the -bg switch. It used to cause odemount to call mount as follows:
mount filesystem directory &
mount filesystem directory &
...
It now does
mount -o bg filesystem directory
mount -o bg filesystem directory
...
Where the 'bg' switch, from the 'man mount' reference page is defined as:
bg Retries in the background, if the first mount attempt fails.
If this is hanging your system (some nfs exports may be unavailable),
then this may be a bug in the version of UNIX you're running. You may
want to file a QAR against Digital UNIX (not ODE).
Try this as a workaround: modify the file /sbin/init.d/ode3.0 to call
odemount in the background, and to log its output.
I.e., at line 80 of this startup script, change the command from:
/usr/sde/${ODE_DEFAULT_DIR}/tools/common/odemount ${ODEMOUNT3_OPTS}
${ODE_ODEMOUNT_STRING} > /dev/null 2>&1
to:
/usr/sde/${ODE_DEFAULT_DIR}/tools/common/odemount ${ODEMOUNT3_OPTS}
${ODE_ODEMOUNT_STRING} > /var/adm/odemount.log 2>&1 &
^-changed to a file and ^-added the '&'
If this isn't at line 80 you may have an old startup that isn't calling
using the -bg switch. Rerun '/usr/sde/install/ode install' if this is
the case.
If anything useful shows up in the log file it may help diagnose the problem.
- -josh
--
-Grant
|