Coda File System

volume not mounted sucessfully

From: prashant <prashant_at_bluebarracuda.com>
Date: Wed, 20 Jun 2007 14:21:57 +0100
HI All,

I am trying to have a volume outside /coda but mounting it on 
/coda/web1.bluebarracuda.eu/

Explanation:

I am trying to have /usr/local/apache2/htdocs/www as a volume

root_at_web1:/usr/local/etc# createvol_rep /usr/local/apache2/htdocs/www www
Server www not in servers file
root_at_web1:/usr/local/etc# createvol_rep /usr/local/apache2/htdocs/www 
web1.bluebarracuda.eu
Replicated volumeid is 7f000001
creating volume /usr/local/apache2/htdocs/www.0 on web1.bluebarracuda.eu 
(partition /vicepa)
V_BindToServer: binding to host web1.bluebarracuda.eu
V_BindToServer: binding to host web1.bluebarracuda.eu
Set Log parameters
Fetching volume lists from servers:
V_BindToServer: binding to host web1.bluebarracuda.eu
GetVolumeList finished successfully
 web1.bluebarracuda.eu - success
V_BindToServer: binding to host web1
VLDB completed.
<echo /usr/local/apache2/htdocs/www 7f000001 1 02000002 0 0 0 0 0 0 0 >> 
/vice/db/VRList.new>
V_BindToServer: binding to host web1
VRDB completed.
Do you wish this volume to be Backed Up (y/n)? [n] y
Day to take full dumps: [Mon]
echoing         IFIIIII        /usr/local/apache2/htdocs/www 
 >>/vice/db/dumplist


I mounted the volume
> root_at_web2:/coda/web1.bluebarracuda.eu# cfs mkm 
> /coda/web1.bluebarracuda.eu/www /usr/local/apache2/htdocs/www
> root_at_web2:/coda/web1.bluebarracuda.eu# ls
> www/
> root_at_web2:/coda/web1.bluebarracuda.eu/www# touch index.html

But when creating a file in /coda/web1.bluebarracuda.eu/www

Its not linked to /usr/local/apache2/htdocs/www/
> root_at_web2:/coda/web1.bluebarracuda.eu/www# ls -al 
> /usr/local/apache2/htdocs/www/
Volume details from VRList is

root_at_web1:/usr/local/apache2/htdocs/www# more /vice/db/VRList
/ 7f000000 1 02000001 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 0
/usr/local/apache2/htdocs/www 7f000001 1 02000002 0 0 0 0 0 0 0

root_at_web1:/usr/local/apache2/htdocs/www# more /vice/db/ROOTVOLUME
/usr/local/apache2/htdocs/www/
root_at_web1:/usr/local/apache2/htdocs/www#



Can someone please what is wrong. It there something i need to correct.

Thanks
Prashant
Received on 2007-06-20 09:24:15