Coda File System

volume cloning/backup problems

From: Stephan Koledin <SKoledin_at_fool.com>
Date: Tue, 18 Jul 2000 17:40:13 -0400
I'm currently working with coda 5.3.8 on RedHat6.2. I'm having some
difficulties cloning and then mounting the replicated volume as a read-only
snapshot or backup. Not sure if I'm just missing something or what. Is this
not currently a supported feature, or am I just doing it wrong? Here's an
example of what I see. Basically, most of the process goes ok, but then the
volume does not seem to mount properly.

[root_at_machine]# volutil getvolumelist
V_BindToServer: binding to host machine.domain.com
P/home/coda/data Hmachine.domain.com T7b08fa F64732f
Wcoda.root.0 I1000001 H1 P/home/coda/data m0 M0 U9 W1000001 C396d121b
D396d121b B0 A62
Whome.user I1000002 H1 P/home/coda/data m0 M0 Ua1daa W1000002 C396d12f9
D396d12f9 B396d12f9 A2a659

[root_at_machine]# volutil lock 1000002
V_BindToServer: binding to host machine.domain.com
Locked volume 1000002 had a VVV of (63672,0,0,0,0,0,0,0)

[root_at_machine]# volutil backup 1000002
V_BindToServer: binding to host machine.domain.com
Backup (id = 1000008) of Volume 1000002 created

[root_at_machine]# volutil getvolumelist
V_BindToServer: binding to host machine.domain.com
P/home/coda/data Hmachine.domain.com T7b08fa F64732f
Wcoda.root.0 I1000001 H1 P/home/coda/data m0 M0 U9 W1000001 C396d121b
D396d121b B0 A62
Whome.user I1000002 H1 P/home/coda/data m0 M0 Ua1daa W1000002 C396d12f9
D396d12f9 B396d12f9 A2a659
Bhome.user.backup I1000008 H1 P/home/coda/data m0 M0 Ua1daa W1000002
C3974c359 D3974c359 B396d12f9 A0
GetVolumeList finished successfully

[root_at_machine]# cfs mkm /coda/home/backup home.user.backup

[root_at_machine]# ls /coda/home/backup/
ls: /coda/home/backup/: No such file or directory

[root_at_machine]# ls -l /coda/home
total 3
lrw-r--r--   1 root     65534          22 Jul 18 16:52 backup ->
#home.user.backup
drwxrwxrwx   9 jmanak   65534        2048 Jul 17 20:06 user

16:54:00 Reintegrate: coda.root, 1/1 records, result = SUCCESS

[root_at_machine]# cfs lsmount /coda/home/backup
Dangling sym link; looks like a mount point for volume "home.user.backup"


I get the same results when using a "volutil clone". Although right now, my
idea was to use the clone/backup feature for snapshots, it seems that this
would also impact mounting volumes that have been restored from tape.
Nothing in any of the /vice logs seems out of the ordinary. Any ideas?

Thanks.

Stephan B. Koledin
The Motley Fool
http://www.fool.com
Received on 2000-07-18 17:44:48