OpenVZ Forum


Home » General » Support » Openafs in guests (How do I get a token for afs in a openvz guest ?)
Openafs in guests [message #46146] Fri, 27 April 2012 10:40 Go to next message
hlmayer is currently offline  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.
Re: Openafs in guests [message #46164 is a reply to message #46146] Sun, 29 April 2012 19:58 Go to previous message
dzimi is currently offline  dzimi
Messages: 22
Registered: December 2008
Junior Member
yes you can. http://wiki.openvz.org/Bind_mounts
Previous Topic: quota error in cpanel
Next Topic: VSwap - what is it swapping?
Goto Forum:
  


Current Time: Sun Aug 10 23:29:45 GMT 2025

Total time taken to generate the page: 0.14560 seconds