113
Comment: opened up with little info yet
|
1400
- performance
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
<<TableOfContents>> Sub pages: <<Navigation(children)>> = Important notes = On ''phobos'', /root/.zshenv now contains {{{ PATH=/usr/heimdal/bin:/usr/afs/bin:$PATH }}} |
|
Line 2: | Line 10: |
In the ''openafs-1.4.5-osd'' directory: | 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. = 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 = |
Line 4: | Line 42: |
./configure --enable-transarc-paths }}} | [iokaste] ~ # vos setfields osdtestvol2 -osd 1 }}} |
Sub pages:
1. Important notes
On phobos, /root/.zshenv now contains
PATH=/usr/heimdal/bin:/usr/afs/bin:$PATH
2. 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
2.1. Quick RPM creation
See TestCellSetup/IncludingFileservers.
3. 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
4. Enabling OSD
[iokaste] ~ # vos setfields osdtestvol2 -osd 1