[OpenAFS] Check if Volume is availabe
Paul Blackburn
mpb@est.ibm.com
Wed, 06 Nov 2002 11:26:44 +0000
Hello Klaas,
would this do it?
vos examine $volume
if [ $? = 0 ]; then
echo "volume $volume is available"
else
echo "volume $volume is not available" >&2
fi
--
cheers
paul http://acm.org/~mpb
Klaas Hagemann wrote:
>Hi,
>
>i use afs for home directories. Every user's home directory is one volume.
>Therefor i do not have any read-only replicas of these volumes conaining a
>home directory.
>How can i check on the client, if the volume with the home-directory is
>available? I want to use a startupscript, which checks the avaiability for
>the volume with the home directory and creates a local home-directory if the
>afs-volume is not available.
>
>Any ideas?
>
>_______________________________________________
>OpenAFS-info mailing list
>OpenAFS-info@openafs.org
>https://lists.openafs.org/mailman/listinfo/openafs-info
>
>