[OpenAFS] vos syncserv error
Matthew Cocker
matt@cs.auckland.ac.nz
Thu, 12 May 2005 09:44:50 +1200
Hi
I am trying to retire an old server in which the raid died. I can not
get rid of one vldb entry. The vicepa parttion was lost so the volume is
gone. So far vos delentry, vos remove, vos syncserv and vos examine have
all failed. Some output below
The OpenAFS version is 1.2.13 on all servers in cell. Anyone got some ideas?
Cheers
Matt
# /usr/sbin/vos listvol localhost -local
Total number of volumes on server localhost partition /vicepa: 0
Total volumes onLine 0 ; Total volumes offLine 0 ; Total busy 0
Total number of volumes on server localhost partition /vicepb: 0
Total volumes onLine 0 ; Total volumes offLine 0 ; Total busy 0
Total number of volumes on server localhost partition /vicepc: 0
Total volumes onLine 0 ; Total volumes offLine 0 ; Total busy 0
Total number of volumes on server localhost partition /vicepd: 0
Total volumes onLine 0 ; Total volumes offLine 0 ; Total busy 0
# /usr/sbin/vos listvldb -server localhost -local
VLDB entries for server localhost
user.rdun044
RWrite: 537149398 Backup: 537149400
number of sites -> 1
server afs-02.ec.auckland.ac.nz partition /vicepa RW Site
Total entries: 1
# /usr/sbin/vos examine 537149398 -local
Could not fetch the entry for volume number 537149398 from VLDB
# /usr/sbin/vos syncserv localhost -local -verbose
Processing VLDB entries ...
Processing VLDB entry 1 ...
_______________________________
-- status before --
user.rdun044
RWrite: 537149398 Backup: 537149400
number of sites -> 1
server afs-02.ec.auckland.ac.nz partition /vicepa RW Site
Could not lock VLDB entry for 537149398
_______________________________
VLDB: no such entry
Could not process VLDB entry for volume user.rdun044
...error encountered
Total entries: 1, Failed to process 1, Changed 0
Error in vos syncserv command.
VOLSER: not all entries were successfully processed
# /usr/sbin/vos syncvldb localhost -local -verbose
Processing volume entries ...
Total entries: 0, Failed to process 0, Changed 0
VLDB synchronized with state of server localhost
# /usr/sbin/vos remove localhost /vicepa -id 537149398 -local -verbose
Volume 537149398 does not exist
VOLSER: no such volume - location specified incorrectly or volume does
not exist
Error in vos remove command.
VOLSER: no such volume - location specified incorrectly or volume does
not exist
# /usr/sbin/vos delentry -id 537149398 -verbose -local
Could not delete entry for volume 537149398
You must specify a RW volume name or ID (the entire VLDB entry will be
deleted)
VLDB: no such entry
Deleted 0 VLDB entries