[PVFS-users] Re: pvfs

Phil Carns pcarns@hubcap.clemson.edu
Tue, 8 Aug 2000 17:12:13 -0400 (EDT)


> 
> Phil,
> 
> How do i install the pvfs-kernel? In the README file it says to alter the
> Makefile but how?  Also, it says to load the pvfs module.  Where do I find
> that and the pvfs daemon?
> 
> thanks,
> 
> Neva

First of all, download the latest version (0.8.3) because there are some
bug fixes and changes to the Makefile.  In this version, there is only one
possible modification to the Makefile, and it is optional.  If you decide
to use the included pvfs kernel patch then you need to edit the Makefile
and uncomment the correct PATCHFLAGS line and comment out the old one.  If
you are not using the kernel patch, then leave the Makefile as is.

Once you have situated the makefile if there are any adjustments, just
type make.  This will create the pvfs.o (kernel module) and the pvfsd
(pvfs client daemon).

To mount the file system using this client interface once it is built, do
the following (this of course assumes that the file system is already
running):

1) insmod ./pvfs.o
2) ./pvfsd
3) ./mount.pvfs [manager name]:/pvfs [local mount directory]

If everything checks out ok, then you may want to move the mount.pvfs and
pvfsd binaries to somewhere more permanent (like /usr/pvfs/bin) and move
the pvfs.o file to somewhere that you would like to keep modules (maybe
somewhere in /lib/modules/[kernel ver number]/misc.


-Phil