Hi,
On my client:
[EMAIL PROTECTED] ~]# cfs whereis /coda/mytest.de
clusty1.mytest.de
This volume runs only on one server.
Jan Harkes wrote:
If it only has a single replica, then the most reliable method is to
remove the existing root volume and create a new one,
purgevol_rep /
I got:
[EMAIL PROTECTED] ~]# purgevol_rep /
Only testing, use 'purgevol_rep --kill /' to really purge the volume
Don't forget we were only testing
use 'purgevol_rep --kill /' to really purge the volume
[EMAIL PROTECTED] ~]# purgevol_rep --kill /
awk: $1 !~ /^/$/ { print }
awk: ^ syntax error
awk: $1 !~ /^/$/ { print }
awk: ^ unterminated regexp
V_BindToServer: binding to host clusty1.mytest.de
VRDB completed.
Fetching volume lists from servers:
V_BindToServer: binding to host clusty1
VLDB completed.
[EMAIL PROTECTED] ~]# echo $?
0
So I hope it worked...
createvol_rep / clusty1.mytest.de clusty2.mytest.de clusty3.mytest.de
The client may complain a bit once it notices, so you may have to
restart venus with -init.
[EMAIL PROTECTED] ~]# createvol_rep / clusty1.mytest.de clusty2.mytest.de
clusty3.mytest.de
/ already exists as a replica on clusty1.mytest.de
[EMAIL PROTECTED] ~]# echo $?
1
So it looks like that it has not worked for me now...
On the client after the purge:
[EMAIL PROTECTED] ~]# l /coda/
total 11
dr-xr-xr-x 1 root nfsnobody 2048 Jan 17 10:38 .
drwxr-xr-x 24 root root 4096 Dec 8 11:19 ..
lrw-r--r-- 1 root nfsnobody 12 Jan 17 10:38 mytest.de -> [EMAIL PROTECTED]
[EMAIL PROTECTED] ~]# cfs whereis mytest.de
mytest.de: No such file or directory
That' from /vice/srv/SrvLog:
15:06:41 AuthLWP-1 received new connection 1070537038 from
192.168.222.21:32807
15:06:41 client_GetVenusId: got new host 192.168.222.21:32807
15:07:41 AuthLWP-2 received new connection 324406173 from
192.168.222.21:32807
15:08:23 New Data Base received
15:09:01 VRDB created, 0 entries
15:09:24 New Data Base received
VLDB created. Search lengths: RO 0, RW 0, BK 0.
15:09:54 New Data Base received
15:14:01 Callback failed RPC2_DEAD (F) for ws 192.168.222.24:32839
15:14:01 Deleting client entry for user coda at 192.168.222.24.32839
rpcid 1618981832
15:14:01 Deleting client entry for user System:AnyUser at
192.168.222.24.32839 rpcid 1308783494
15:16:24 New Data Base received
15:22:04 Deleting client entry for user at 192.168.222.21.32807 rpcid
1070537038
15:24:42 AuthLWP-3 received new connection 22525779 from
192.168.222.24:32841
15:24:42 client_GetVenusId: got new host 192.168.222.24:32841
15:24:42 Building callback conn.
15:24:50 VLDB_Lookup: cannot find "/"
15:26:04 Deleting client entry for user at 192.168.222.21.32807 rpcid
324406173
Achim