(Illustration by Gaich Muramatsu)
On Wed, Feb 28, 2001 at 06:55:25PM +0000, Froody Dude wrote: > After running vice-setup successfully and create_vol for root volume > /coda appears to be available. Is this '/coda' now the root volume or > do you have to mount a volume using 'cfs mkm' on to this for root e.g. > cfs mkm /coda/var coda.root? > > Best regards > > RLE. No. The first thing a coda client does when it connects to a 'cell' (as specified by "rootservers=" in venus.conf), is to ask what the rootvolume name is. On the servers this is stored in /vice/db/ROOTVOLUME. Once the client knows the name of the root, it queries the same rootservers for the volume location information, i.e. what servers in the cell are exporting the volume. Finally the client contacts the actual servers and grabs the attributes of the root object in the root volume. Only after venus has got all this, it will start the /coda mount, as the kernel will ask venus during mounting for the attributes of the root object and it is not that nice keeping the system locked up because we still need to get all of the information that is needed during the mount. 'cfs lv /coda' should show something like: Status of volume 0x7f000001 (2130706433) named "coda:root" Volume type is ReadWrite Connection State is Connected Minimum quota is 0, maximum quota is unlimited Current blocks used are 46 The partition has 499765 blocks available out of 2350051 Write-back is disabled 'cfs whereis /coda' (assuming a doubly replicated root): SERVER1.FROB.BAR SERVER2.FROB.BAR JanReceived on 2001-02-28 14:05:24