[OpenAFS] replicas and mount points

Simon Wilkinson sxw@inf.ed.ac.uk
Mon, 4 Aug 2008 11:17:25 +0100


On 4 Aug 2008, at 10:55, Vladimir Konrad wrote:
>
> Is there a way (other than re-doing the mount points with -rw) to  
> make client prefer the read/write
> volumes (when replicas exist)?

Short of changing the code in the client, no, not that I'm aware of.

> Also, is it true, that if I specify -rw to fs mkmount, this will  
> "stick" (not change) and the mount
> point will remain read/write even when replication sites for the  
> volume exist?

Yes. It is.

We use this trick to maintain off-site backups of user  
homedirectories - we mount the user volumes with the -rw flag, and  
use 'vos release' to maintain a read-only copy of the volume at an  
off-site location.

S.