[OpenAFS-devel] RE: Really slow vos dumps to local disks
Neulinger, Nathan R.
nneul@umr.edu
Fri, 16 Mar 2001 10:02:38 -0600
Turns out from looking at the source to volinfo, it looks like most of it is
already implemented (at least for the file inodes - they just get dumped out
to files, but that is simple enough to change to writing out as a vos dump
type file), but it core dumps for me. I'll be taking a closer look at it,
and seeing if I can get it at least to where it will successfully dump out a
full volume.
If dumping out all the files on a volume using volinfo is significantly
faster than the same operation using 'vos dump' then it'd likely be
worthwhile adding dump output support to volinfo. (In fact, might be
worthwhile to just take volinfo and rename it 'volutil', clean up the
output, and make it the 'server side equivalent of vos'.
-- Nathan
> -----Original Message-----
> From: Ken Hornstein [mailto:kenh@cmf.nrl.navy.mil]
> Sent: Thursday, March 15, 2001 3:26 PM
> To: Neulinger, Nathan R.
> Subject: Re: Really slow vos dumps to local disks
>
>
> >Do you think it'd be worth going to the trouble of making a
> >server-side-vos-dump command that bypassed RX and read the
> volume data
> >directly using the same interface as the volserver uses? If
> it's potentially
> >will be a lot faster, it's worth my time to figure out
> enough to write it...
>
> "yes". The thing is, I don't think there's a reasonable API inside of
> there, so you'd have to essentially re-do all of it yourself
> (which isn't
> all that much; it's hairy, but I think it's reasonable to do). You'd
> want to talk to the FSYNC port on the fileserver to tell it to let go
> of the volume you're dumping, of course.
>
> --Ken
>