[OpenAFS] mountpoints are always RW...

Hamish Marson hamish@travellingkiwi.com
Tue, 11 Feb 2003 16:43:29 +0000


Kevin Coffman wrote:

>Are all the volumes in the path from 'cellname' down to 'test' 
>replicated as well?  Once the client is forced down a RW path (because 
>one or more of the intervening volumes is RW-only) it will continue 
>down the RW path.
>
>  
>

I thought this was it... root.afs hadn't been replicated... Except now 
even with root.afs replicated it is still accessing the RW copy...  And 
I've been though all levels & checked, and ALL volumes are replicated... 
Is it as simple as the caching clients need restarting once the replicas 
have been made (Reboot still is it?) Or a timeout needs waiting on?

What puzzles me is that I can't do an lsmount on /afs itself... It says 
it doesn't exist... e.g.

root# fs lsmount /afs
fs: File '/afs' doesn't exist


Is it possible to explicitly mount the .readonly copies o fthe volumes 
under /afs/cellname/mumble and the read/write copies under 
/afs/.cellname/mumble and force the behaviour I want (i.e. no update on 
the clients till I release), or is that too gross a hack to consider?

H

>  
>
>>OK. Either I'm doing something wrong, or my understanding of AFS is 
>>severely flawed. My understanding of AFS clients is that they will 
>>favour a RO copy of a volume over a RW copy, unless the -rw flag was 
>>used when creating the mount with fs mkmount.
>>
>>So why when I mount a volume on my AFS tree does fs lsmount always say 
>>#volumename for BOTH /afs/.cellname/dir and /afs/cellname/dir (Which 
>>will favour the RO copy? SHouldn't .cellname be the RW copy with 
>>%volumename?) but fs examine shows it as the RW copy, and writing to the 
>>.cellname tree shows up in the /afs/cellname tree without doing a 
>>release? (I thought the RO path would read from the RO copy, and not 
>>update till a release).
>>
>>This is Transarcs AFS 3.6 on AIX (But affects my openAFS clients as well).
>>    
>>
>
>
>  
>


-- 

I don't suffer from Insanity... 	| Linux User #16396
	I enjoy every minute of it...	|
					|
http://www.travellingkiwi.com/		|