Differences between revisions 48 and 49
Revision 48 as of 2009-07-30 09:03:48
Size: 1400
Comment: - performance
Revision 49 as of 2009-07-31 15:19:08
Size: 559
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:

= Building OpenAFS-OSD =

To build openafs, kernel headers are recommended to be installed (so configure can detect the local sysname). On SL5, as root do a {{{
yum install kernel-devel
}}} and you're set (for the time being).
If there's still no ''/usr/src/linux'': {{{
ln -s /usr/src/kernels/2.6.18-92.1.10.el5-i686 /usr/src/linux
}}} ...or whatever directory the kernel source was installed to.

In the openafs-''version'' directory: {{{
mkdir `sys`
cd `sys`
../configure --prefix=/usr --libdir=/usr/lib --bindir=/usr/bin --sbindir=/usr/sbin --with-krb5-conf --enable-bitmap-later --enable-bos-restricted-mode --enable-fast-restart --enable-bos-new-config --enable-supergroups --enable-transarc-paths --enable-object-storage --enable-osd-policies
}}}

== Quick RPM creation ==
See TestCellSetup/IncludingFileservers.

Sub pages:

Important notes

On phobos, /root/.zshenv now contains

PATH=/usr/heimdal/bin:/usr/afs/bin:$PATH 

Enabeling the client

  • Manually:
    • From the source directory copy

      src/libafs/MODLOAD-`uname -r`-*/libafs.ko 

      to

      /lib/modules/`uname -r`/kernel/fs/openafs/libafs.ko 
    • depmod 
  • or
    • install appropriate kernel module RPM
  • reboot
  • launch afsd

Enabling OSD

[iokaste] ~ # vos setfields osdtestvol2 -osd 1

AfsOsd (last edited 2009-08-17 16:11:48 by WaltrautNiepraschk)