Openafs in guests [message #46146] |
Fri, 27 April 2012 10:40  |
hlmayer
Messages: 1 Registered: April 2012
|
Junior Member |
|
|
My kernel: 2.6.32-042stab053.5
afs on the host: openafs-kernel-source-1.6.0-97.z2.sl6.x86_64
manually compiled
Packages installed (host)
openafs-krb5-1.6.0-93.pre4.sl6.x86_64
kmod-openafs-1.6.0-97.z2.sl6.71.x86_64
openafs-1.6.0-93.pre4.sl6.x86_64
openafs-kernel-source-1.6.0-97.z2.sl6.x86_64
openafs-authlibs-1.6.0-93.pre4.sl6.x86_64
openafs-client-1.6.0-97.z2.sl6.x86_64
openafs-kpasswd-1.6.0-93.pre4.sl6.x86_64
openafs-compat-1.6.0-93.pre4.sl6.x86_64
vzctl-lib-3.1-1.x86_64
vzctl-3.1-1.x86_64
Afs works perfectly on the host.
I can make de the afs directory tree visible on the guests
by mount -n -t simfs /afs /vz/root/101/afs -o /afs
But I do not know how to get a token.
Klog results in:
open("/root/.AFSSERVER", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/.AFSSERVER", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/proc/fs/openafs/afs_ioctl", O_RDWR) = -1 ENOENT (No such file or directory)
open("/proc/fs/nnpfs/afs_ioctl", O_RDWR) = -1 ENOENT (No such file or directory)
afs_syscall(0x14, 0, 0x40185603, 0x7fffc4af1c70, 0) = -1 ENOSYS (Function not implemented)
write(2, "Unable to authenticate to AFS be"..., 55Unable to authenticate to AFS because a pioctl failed.
) = 55
exit_group(11682309) = ?
Any ideas are appreciated.
|
|
|
|