Differences between revisions 46 and 47
Revision 46 as of 2009-07-30 08:12:42
Size: 3011
Comment: - archiving
Revision 47 as of 2009-07-30 08:55:10
Size: 2053
Comment: - issue
Deletions are marked like this. Additions are marked like this.
Line 45: Line 45:
= Issues =

== Missing token is not handled well ==
{{{
$ osd volumes io -lun 1
RX xdr error
Cannot list volumes
Request aborted.
    
$ osd createv io 1 536870924
Createvolume failed: RXOSD_create_part ended with 13
Request aborted.}}}

In general, missing privileges are an issue but there is no "friendly output" describing the cause of the problem. Some examples of unprivileged access attempts:
|| '''fs osd''' || Error 13 reading length of metadata || works with '''r''' privilege granted to system:anyuser ||
|| '''osd read''' || RX xdr error \\ Cannot read the object \\ rx_End``Call returns: 13 \\ Request aborted. || requires token ||
|| '''osd volumes''' || RX xdr error \\ Cannot list volumes \\ Request aborted. || requires token ||
|| '''osd examine''' || RXOSD_examine failed with code 13 \\ Request aborted. || requires token ||

Database queries '''osd listosds''' and '''osd servers''' seem to work unauthenticated.

Sub pages:

Important notes

On phobos, /root/.zshenv now contains

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

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.

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

Performance

Server version

Clients version

process

max. throughput [MB/s]

1.4.7.osd.r302.sec

1.4.7.osd.r302.sec

fileserver

160

rxosd

120

1.4.7

fileserver

160

1.4.8

fileserver

125

1.4.10

fileserver

125

1.4.8.osd.r573x

fileserver

125

rxosd

100

1.4.10.osd.nosvn

fileserver

125

rxosd

72

1.4.7

fileserver

160

1.4.8

fileserver

125

1.4.10

fileserver

125

1.4.10

fileserver

125

1.4.7

fileserver

160

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