[OpenAFS] Check if Volume is availabe

Klaas Hagemann kerberos@northsailor.de
Wed, 6 Nov 2002 12:33:15 +0100


Hi Paul,

meanwhile i got the same idea...
does vos examine does right, even if the whole file-server brakes down?

Klaas
----- Original Message -----
From: "Paul Blackburn" <mpb@est.ibm.com>
To: <openafs-info@openafs.org>
Sent: Wednesday, November 06, 2002 12:26 PM
Subject: Re: [OpenAFS] Check if Volume is availabe


> 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
> >
> >
>
>
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info