XFS Panic with v0.25 on linux
Marko Asplund
aspa at hip.fi
Tue Jun 1 21:21:34 CEST 1999
i'm trying to setup arla on our linux (v2.2.9 SMP) server to start arlad
and mount AFS automatically during boot.
here are the arla related lines from conf.modules and fstab:
/etc/conf.modules
alias char-major-103 xfs
/etc/fstab
arla /afs xfs nosuid,noauto 0 0
the startup script is attached to this mail and it's run as a regular SYSV
style init script on run levels 3, 4 and 5 (priority 16, just after
mounting NFS filesystems).
when i try to list the afs-dir content after boot, i get the following
panic message:
[aspa at pcephc29 ~]$ ls /afs
Message from syslogd at pcephc29 at Tue Jun 1 17:10:10 1999 ...
pcephc29 kernel: XFS Panic: xfs_message_installdata failed to \
lookup cache file = @00E5, errno: -22
however, after doing a 'arlad stop' and 'arlad start' the afs-directory's
contents can be listed and there's no XFS panic.
any suggestions?
best regards,
--
aspa
#!/bin/sh
#
# arlad This shell script takes care of starting and stopping
# arlad (AFS cache manager). aspa at hip.fi.
#
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
export PATH="$PATH:/usr/local/arla/bin"
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
[ -f /usr/local/arla/bin/arlad ] || exit 0
# See how we were called.
case "$1" in
start)
# Start daemons.
echo -n "Starting arlad: "
daemon arlad
echo
sleep 3
echo "Mounting AFS filesystems."
mount -t xfs arla /afs
touch /var/lock/subsys/arlad
;;
stop)
echo "Unmounting AFS filesystems."
umount /afs
# Stop daemons.
echo -n "Shutting down arlad: "
killproc arlad
echo
rm -f /var/lock/subsys/arlad
;;
*)
echo "Usage: arlad {start|stop}"
exit 1
esac
exit 0
More information about the Arla-drinkers
mailing list