[OpenAFS] Having trouble releasing volumes to newsite

David Sonenberg dsonenberg@strozllc.com
Thu, 21 Jun 2007 08:56:02 -0400


I have a newly created file and database server, that I am first trying
to add replicas to.

First I run:
vos addsite afs.ny.secure /vicepa admin.accounting -verb -local
Adding a new site ... Done

Then
vos release admin.accounting -verb -local=20
admin.accounting
    RWrite: 1442840990    ROnly: 1442840991    Backup: 1442840992
    number of sites -> 5
       server brain.ny.secure partition /vicepa RW Site
       server brain.dc.secure partition /vicepa RO Site
       server brain.mn.secure partition /vicepa RO Site
       server brain.la.secure partition /vicepa RO Site
       server afs.ny.secure partition /vicepa RO Site  -- Not released
This is a complete release of volume 1442840990
Cloning RW volume 1442840990 to temporary RO... done
Getting status of RW volume 1442840990... done
Ending cloning transaction on RW volume 1442840990... done
Starting transaction on cloned volume 1442840991... done
Updating existing ro volume 1442840991 on brain.dc.secure ...
Starting ForwardMulti from 1442840991 to 1442840991 on brain.dc.secure
(as of Tue Jun 19 17:31:45 2007).
Updating existing ro volume 1442840991 on brain.mn.secure ...
Starting ForwardMulti from 1442840991 to 1442840991 on brain.mn.secure
(as of Tue Jun 19 17:31:45 2007).
Updating existing ro volume 1442840991 on brain.la.secure ...
Creating new volume 1442840991 on replication site afs.ny.secure:  done
Starting ForwardMulti from 1442840991 to 1442840991 on brain.la.secure
(as of Tue Jun 19 17:31:45 2007).
Updating existing ro volume 1442840991 on afs.ny.secure ...
Starting ForwardMulti from 1442840991 to 1442840991 on afs.ny.secure
(full release).
Release failed: VOLSER: Problems encountered in doing the dump !
The volume 1442840990 could not be released to the following 1 sites:
                              afs.ny.secure /vicepa
VOLSER: release could not be completed
Error in vos release command.
VOLSER: release could not be completed

Here's what the VolserLog on afs.ny.secure says:

Thu Jun 21 08:47:28 2007 VAttachVolume: Failed to open
/vicepa/V1442840991.vol (errno 2)
Thu Jun 21 08:47:28 2007 1 Volser: CreateVolume: volume 1442840991
(admin.accounting.readonly) created
Thu Jun 21 08:47:40 2007 1 Volser: ReadVnodes: Restore aborted

And finally
Vos examine admin.accounting -local
admin.accounting                 1442840990 RW     762169 K  On-line
    brain.ny.secure /vicepa
    RWrite 1442840990 ROnly 1442840991 Backup 1442840992
    MaxQuota    5120000 K
    Creation    Sat Nov 29 14:50:25 2003
    Copy        Sat Nov 29 14:50:25 2003
    Backup      Thu Jun 21 02:34:47 2007
    Last Update Tue Jun 19 17:31:47 2007
    39 accesses in the past day (i.e., vnode references)

    RWrite: 1442840990    ROnly: 1442840991    Backup: 1442840992
RClone: 1442840991
    number of sites -> 5
       server brain.ny.secure partition /vicepa RW Site  -- New release
       server brain.dc.secure partition /vicepa RO Site  -- New release
       server brain.mn.secure partition /vicepa RO Site  -- New release
       server brain.la.secure partition /vicepa RO Site  -- New release
       server afs.ny.secure partition /vicepa RO Site  -- Old release


I have tried this on a number of volumes and I get the same results.
Any ideas?

--
David Sonenberg, CISSP, GCIH, CCNA
Director, Information Technology
Stroz Friedberg, LLC
http://www.strozllc.com
15 Maiden Lane
12th Floor
New York, NY 10038
Tel 212.981.6527
Fax 212.981.6545




This message is for the named person's use only.  It may contain
confidential, proprietary or legally privileged information. No right
to confidential or privileged treatment of this message is waived or
lost by any error in transmission.  If you have received this message
in error, please immediately notify the sender by e-mail or by
telephone, delete the message and all copies from your system and
destroy any hard copies.  You must not, directly or indirectly, use,
disclose, distribute, print or copy any part of this message if you
are not the intended recipient.