[OpenAFS] Re: Max number of files in a volume

Rich Sudlow rich@nd.edu
Mon, 26 Apr 2010 10:58:57 -0400


Andrew Deason wrote:
> On Mon, 26 Apr 2010 10:14:01 -0400
> Rich Sudlow <rich@nd.edu> wrote:
> 
>> I'm having problems with a volume going off-line and not
>> coming back with Salvage - what is the maximum number
>> of files per volume? I believe the volume in question
>> has over 20 million.

Looks like there were actually 30 million files.


> 
> You'd need over 2 billion to saturate the vnode namespace (maybe 1
> billion to get something confused about negative vnodes if that's
> possible).
> 
> What does the salvager say when you try to salvage?

The salvage core dumps -

04/26/2010 09:43:20 STARTING AFS SALVAGER 2.4 (/usr/afs/bin/salvager /vicepa 
536881461)
04/26/2010 10:28:43 2 nVolumesInInodeFile 56
04/26/2010 10:28:47 CHECKING CLONED VOLUME 536881465.
04/26/2010 10:28:47 g.dial.backup (536881465) updated 04/26/2010 01:32
04/26/2010 10:29:07 SALVAGING VOLUME 536881461.
04/26/2010 10:29:07 g.dial (536881461) updated 04/26/2010 04:22
04/26/2010 10:30:41 "Salvage volume group" core dumped!



the volume went off line when the fileserver core
dumped earlier.

Mon Apr 26 04:22:47 2010 Program aborted: Mon Apr 26 04:22:47 2010 VAllocVnode: 
can't stat index file!

Rich



> 


-- 
Rich Sudlow
University of Notre Dame
Center for Research Computing
128 Information Technology Center
PO Box 539
Notre Dame, IN 46556-0539

(574) 631-7258 office phone
(574) 631-9283 office fax