IBM RELEASE 7.3 Computer Drive User Manual


 
% make BUILD_ROOT=/tmp/vfs_client build-clnt build-fs
Create a tar file that can be used to build the client code on the VFS machine:
% cd /tmp/vfs_client
% tar -cvf ../vfs_client.tar *
Copy (i.e. scp) the new tar file to the client machine.
On the client machine, untar and build the client tree.
% cd /opt/hpss
% tar -xvf <path of tar file>vfs_client.tar
Update Makefile.macros if needed. If compiling in 64-bit mode, make sure that:
BIT64_SUPPORT = on
USE_PTHREAD_25 = on
14.3.3.2. Compiling/Building
As ‘root’, ‘cd’ to ‘/opt/hpss’, and then compile the HPSS Client API source code. Do not include the ‘fs’
package in this step, that is complied separately.
% make clnt
Now build VFS in the module source directory.
% cd /opt/hpss/src/fs/linux2.6
Build the kernel module:
% make
Install the kernel module & headers and update module dependencies:
% make install
14.3.3.3. Modifying the Kernel
Load the kernel module by following these steps:
IMPORTANT: If VFS already exists on the machine, un-mount all vfs file systems first!
HPSS Management Guide November 2009
Release 7.3 (Revision 1.0) 347