[OpenAFS] vfsck taking a long time

James E. Dobson James.E.Dobson@Dartmouth.EDU
Thu, 14 Aug 2003 12:00:41 -0400


Hi All,

I have an OpenAFS 1.2.8 server which is running on Solaris 9. After a 
power outage one of my partitions is requiring a vfsck. I have been 
running this for over 28 hours.

18934 root       87M   86M run     16    0  28:48:42  11% vfsck/1

This is a 135G partition nearly full (.....was 98%). I was able to mount 
ro earlier but couldn't get fs to run on it since salvager wanted to 
"clean" it. I have not had the best of luck with salvaging my volumes so 
this worries me. Is there anyway to use a tool such as fsdb to mark this 
partition clean and mount rw to recover the data or perhaps debug the 
AFS fsck? This is native inode fileserver. I have been running namei on 
all my other servers.

Here are the other 3 partitions on the server:

[jed@bacchus] ~ > df -k /vicep{a,c,d}
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/vx/dsk/afsdg/vicepa
                      141089011 83058986 56619135    60%    /vicepa
/dev/vx/dsk/afsdg/vicepc
                      141089011 108288754 31389367    78%    /vicepc
/dev/vx/dsk/afsdg/vicepd
                      141089011 68779070 70899051    50%    /vicepd


For those that use VxVM, my volume looks fine from the volume management 
tools:

[jed@bacchus] ~ > vxprint -ht vicepb
Disk group: afsdg

V  NAME         RVG          KSTATE   STATE    LENGTH   READPOL 
PREFPLEX UTYPEPL NAME         VOLUME       KSTATE   STATE    LENGTH 
LAYOUT    NCOL/WID MODE
SD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF DEVICE 
   MODE
SV NAME         PLEX         VOLNAME  NVOLLAYR LENGTH   [COL/]OFF AM/NM 
    MODE
DC NAME         PARENTVOL    LOGVOL
SP NAME         SNAPVOL      DCO

v  vicepb       -            ENABLED  ACTIVE   286657920 RAID     - 
    raid5pl vicepb-01    vicepb       ENABLED  ACTIVE   286657920 RAID 
    5/160    RW
sd disk01-02    vicepb-01    disk01   71664480 71664480 0/0       c1t1d0 
   ENA
sd disk02-02    vicepb-01    disk02   71664480 71664480 1/0       c1t2d0 
   ENA
sd disk03-02    vicepb-01    disk03   71664480 71664480 2/0       c1t3d0 
   ENA
sd disk04-02    vicepb-01    disk04   71664480 71664480 3/0       c1t4d0 
   ENA
sd disk05-02    vicepb-01    disk05   71664480 71664480 4/0       c1t5d0 
   ENA


Any clues?

Thanks,

-jed

-- 

// Jed Dobson
// Department of Psychological & Brain Sciences
// Dartmouth College
// James.E.Dobson@Dartmouth.EDU
// (603) 646-9324