[OpenAFS] Possible vos bug still in 1.6.0pre3?

Ryan C. Underwood nemesis@icequake.net
Wed, 16 Mar 2011 01:17:26 -0500


On Wed, Mar 16, 2011 at 02:00:03AM -0400, Derrick Brashear wrote:
> vos changeloc should be able to fix it for you

Close, thanks!  Here is a log of how I got from point A to point B for
future reference.

seraph:~# vos unlock 536871269 -localauth
Released lock on vldb entry for volume 536871269

seraph:~# vos changeloc seraph b 0536871269 -localauth
Changed location to seraph /vicepb for volume 0536871269

seraph:~# vos exa 0536871269
vsu_ClientInit: Could not get afs tokens, running unauthenticated.
adm_backup                        536871269 RW   33224265 K  On-line
    seraph.icequake.net /vicepb
    RWrite  536871269 ROnly          0 Backup          0
    MaxQuota          0 K
    Creation    Tue Jun 30 17:43:03 2009
    Copy        Mon Mar  7 19:52:30 2011
    Backup      Never
    Last Access Wed Mar  9 14:56:16 2011
    Last Update Tue Mar  8 01:59:10 2011
    0 accesses in the past day (i.e., vnode references)

    RWrite: 536871269
    number of sites -> 1
       server seraph.icequake.net partition /vicepb RW Site

seraph:~# vos rename adm_backup adm_clientbackup -localauth
vos: Could not find entry for volume adm_backup

seraph:~# vos online seraph b 536871269 -localauth

seraph:~# vos rename adm_backup adm_clientbackup -localauth
vos: Could not find entry for volume adm_backup

seraph:~# vos exa adm_backup
vsu_ClientInit: Could not get afs tokens, running unauthenticated.
VLDB: no such entry

seraph:~# vos exa 0536871269
vsu_ClientInit: Could not get afs tokens, running unauthenticated.
adm_backup                        536871269 RW   33224265 K  On-line
    seraph.icequake.net /vicepb
    RWrite  536871269 ROnly          0 Backup          0
    MaxQuota          0 K
    Creation    Tue Jun 30 17:43:03 2009
    Copy        Mon Mar  7 19:52:30 2011
    Backup      Never
    Last Access Wed Mar  9 14:56:16 2011
    Last Update Tue Mar  8 01:59:10 2011
    0 accesses in the past day (i.e., vnode references)

    RWrite: 536871269
    number of sites -> 1
       server seraph.icequake.net partition /vicepb RW Site

seraph:~# vos syncvldb -volume 0536871269
vsu_ClientInit: Could not get afs tokens, running unauthenticated.
VLDB volume 0536871269 synchronized

seraph:~# vos exa adm_backup
vsu_ClientInit: Could not get afs tokens, running unauthenticated.
VLDB: no such entry

seraph:~# vos exa adm_clientbackup
vsu_ClientInit: Could not get afs tokens, running unauthenticated.
adm_backup <--- [!]              536871269 RW   33224265 K  On-line
    seraph.icequake.net /vicepb
    RWrite  536871269 ROnly          0 Backup          0
    MaxQuota          0 K
    Creation    Tue Jun 30 17:43:03 2009
    Copy        Mon Mar  7 19:52:30 2011
    Backup      Never
    Last Access Wed Mar  9 14:56:16 2011
    Last Update Tue Mar  8 01:59:10 2011
    0 accesses in the past day (i.e., vnode references)

    RWrite: 536871269
    number of sites -> 1
       server seraph.icequake.net partition /vicepb RW Site

seraph:~# vos exa adm_backup
vsu_ClientInit: Could not get afs tokens, running unauthenticated.
VLDB: no such entry

seraph:~# vos rename adm_clientbackup adm_clientbackup
vsu_ClientInit: Could not get afs tokens, running unauthenticated.
vos: volume adm_clientbackup already exists

seraph:~# vos rename adm_clientbackup adm_clientbackup2 -localauth
Renamed volume adm_clientbackup to adm_clientbackup2

seraph:~# vos rename adm_clientbackup2 adm_clientbackup -localauth
Renamed volume adm_clientbackup2 to adm_clientbackup

seraph:~# vos exa adm_backup
vsu_ClientInit: Could not get afs tokens, running unauthenticated.
VLDB: no such entry

seraph:~# vos exa adm_clientbackup
vsu_ClientInit: Could not get afs tokens, running unauthenticated.
adm_clientbackup                  536871269 RW   33224265 K  On-line
    seraph.icequake.net /vicepb
    RWrite  536871269 ROnly  536871270 Backup  536871271
    MaxQuota          0 K
    Creation    Tue Jun 30 17:43:03 2009
    Copy        Mon Mar  7 19:52:30 2011
    Backup      Never
    Last Access Wed Mar  9 14:56:16 2011
    Last Update Tue Mar  8 01:59:10 2011
    0 accesses in the past day (i.e., vnode references)

    RWrite: 536871269
    number of sites -> 1
       server seraph.icequake.net partition /vicepb RW Site


-- 
Ryan C. Underwood, <nemesis@icequake.net>