[OpenAFS] "Failed to get heavyweight reference" when releasing

Ryan C. Underwood nemesis@icequake.net
Fri, 18 Mar 2011 16:10:36 -0500


Never seen this before.  Related to dafileserver?  I'm getting this in
FileLog after a server crash and restart:

Fri Mar 18 16:00:01 2011 FSYNC_com_VolOff: failed to get heavyweight reference to volume 536871132 (state=20, flags=0x18)
Fri Mar 18 16:02:00 2011 FSYNC_com_VolOff: failed to get heavyweight reference to volume 536871132 (state=20, flags=0x18)
Fri Mar 18 16:02:02 2011 FSYNC_com_VolOff: failed to get heavyweight reference to volume 536871132 (state=20, flags=0x18)
Fri Mar 18 16:03:48 2011 FSYNC_com_VolOff: failed to get heavyweight reference to volume 536871132 (state=20, flags=0x18)


At first I was getting this:

# vos exa root_dist
root_dist                         536871131 RW     603230 K  On-line
    valhalla.icequake.net /vicepa
    RWrite  536871131 ROnly  536871132 Backup          0
    MaxQuota          0 K
    Creation    Sat Oct 25 22:56:52 2003
    Copy        Sun Apr 19 23:12:16 2009
    Backup      Tue Jan  6 06:43:01 2004
    Last Access Fri Mar 18 15:43:01 2011
    Last Update Fri Mar 18 15:00:04 2011
    1801 accesses in the past day (i.e., vnode references)

    RWrite: 536871131     ROnly: 536871132
    number of sites -> 3
       server valhalla.icequake.net partition /vicepa RW Site
       server xanadu.icequake.net partition /vicepa RO Site
       server valhalla.icequake.net partition /vicepa RO Site

# ls /afs/icequake.net/dist
arch  cpan  fonts  pear  src  trees  <-- RO is online

# ls /afs/.icequake.net/dist
arch  cpan  fonts  pear  src  trees  <-- RW is online

# vos release root_dist
Failed to reclone the RW volume 536871131
Volume not attached, does not exist, or not on line
Error in vos release command.
Volume not attached, does not exist, or not on line



Then I removed both readonly sites and added them back, and this is what
I get:

# vos exa root_dist
root_dist                         536871131 RW     603230 K  On-line
    valhalla.icequake.net /vicepa 
    RWrite  536871131 ROnly  536871132 Backup          0 
    MaxQuota          0 K 
    Creation    Sat Oct 25 22:56:52 2003
    Copy        Sun Apr 19 23:12:16 2009
    Backup      Tue Jan  6 06:43:01 2004
    Last Access Fri Mar 18 16:04:38 2011
    Last Update Fri Mar 18 16:00:04 2011
    1903 accesses in the past day (i.e., vnode references)

    RWrite: 536871131 
    number of sites -> 3
       server valhalla.icequake.net partition /vicepa RW Site 
       server xanadu.icequake.net partition /vicepa RO Site  -- Not released
       server valhalla.icequake.net partition /vicepa RO Site  -- Not released

# vos release root_dist
Failed to clone the RW volume 536871131
Volume already exists
Error in vos release command.
Volume already exists


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