[OpenAFS] Help needed for receovery of data of inode fileserver (Solaris 10 x86)

John Tang Boyland boyland@cs.uwm.edu
Thu, 03 Apr 2008 15:37:24 -0500


] > (dbx) up
] > Current function is DistilVnodeEssence
] >  3175                   assert(class == vLarge);
] > (dbx) list 3170,3180
] >  3170               vep->type = vnode->type;
] >  3171               vep->author = vnode->author;
] >  3172               vep->owner = vnode->owner;
] >  3173               vep->group = vnode->group;
] >  3174               if (vnode->type == vDirectory) {
] >  3175                   assert(class == vLarge);
] >  3176                   vip->inodes[vnodeIndex] = VNDISK_GET_INO(vnode);
] >  3177               }
] >  3178           }
] >  3179       }
] >  3180       STREAM_CLOSE(file);
] 
] So what is the value of 'class' if not vLarge?

Oops.  Sorry.  Yes I should have included that in my email:

(dbx) print class
class = 1

If it's useful, here's some more info:

(dbx) print *vnode
*vnode = {
    type             = 2U
    cloned           = 1U
    modeBits         = 493U
    linkCount        = 2
    length           = 8192U
    uniquifier       = 1U
    dataVersion      = 166U
    vn_ino_lo        = 21977315
    unixModifyTime   = 1134748419U
    author           = 1U
    owner            = 0
    parent           = 0
    vnodeMagic       = 2911331838U
    lock             = {
        lockCount = 0
        lockTime  = 0
    }
    serverModifyTime = 1134748419U
    group            = 0
    vn_ino_hi        = 0
    reserved6        = 0
}

John Boyland