AW: [OpenAFS] Solaris Clinet hangs
Schmidt, Mario
Mario.Schmidt@Dresdner-Bank.com
Thu, 19 Sep 2002 13:30:11 +0200
Hi again,
now i have understand what you meant.
First umount /afs -> After that the afsd Process automaticaly has gone. Then
i HAVE TO unload the Kernel Module and after that i can restart the Client.
Thank you very much.
Mario Schmidt
> -----Ursprungliche Nachricht-----
> Von: Gunnar Gunnarsson [mailto:gunnar@ki.ericsson.se]
> Gesendet: Donnerstag, 19. September 2002 12:18
> An: Schmidt, Mario
> Cc: openafs-info@openafs.org
> Betreff: [OpenAFS] Solaris Clinet hangs
>
>
> Just umount afsroot and unload the kernel driver.
> This works for me on all Solaris platforms.
> Snipped from openafs startup script on Solaris.
>
>
> if mount -p | grep \^AFS > /dev/null
> then
> fuser -ck /afs
> umount /afs
> i=0
> while [ `ps -e | grep -c afsd` -ne 0 ] && [ $i -lt 30 ]
> do
> echo "Waiting for afsd to terminate..."
> i=`expr $i + 1`
> sleep 10
> done
> if [ $i -lt 30 ]
> then
> echo "AFS services stopped."
> else
> echo "Timed out waiting for AFS services to stop."
> fi
>
> #
> # unload kernel module
> #
> modid=`modinfo | awk '/afs .* filesystem/ {print $1}'`
> if [ ! -z "$modid" ] ; then
> modunload -i $modid
> fi
>
>
>
> > Hi,
> > i have setup Openafs v1.2.6 on Solaris from the Binary
> Packages on Solaris 7
> > and Solaris 8 with nearly up to Date Servicepacks
> installed. I have the
> > Problem, that i can not
> > kill the afs Client "afsd". Even an kill -9 is not
> working. As i want to Use
> > OpenAFS in an produktion environment i ask if someone else
> has had this
> > problem ?
>