Hi,
Does anyone know how to mount an AFS filesystem (I think it is called an Andrews' Filesystem) on Fedora 22?
I looked around on the web, but did not come up with anything that worked so I thought that I would ask for some advice.
Thank you for any help you are able to provide!
Best wishes, Ranjan
On Mon, 2015-08-24 at 18:19 -0500, Ranjan Maitra wrote:
Does anyone know how to mount an AFS filesystem (I think it is called an Andrews' Filesystem) on Fedora 22?
The Andrew File System was part of the Andrew project at Carnegie Mellon University many years ago.
See https://en.wikipedia.org/wiki/Andrew_File_System
I looked around on the web, but did not come up with anything that worked so I thought that I would ask for some advice.
According to the above page RedHat has an implementation in early development. You could also try https://openafs.org/
poc
On Tue, 25 Aug 2015 00:38:03 +0100 "Patrick O'Callaghan" pocallaghan@gmail.com wrote:
On Mon, 2015-08-24 at 18:19 -0500, Ranjan Maitra wrote:
Does anyone know how to mount an AFS filesystem (I think it is called an Andrews' Filesystem) on Fedora 22?
The Andrew File System was part of the Andrew project at Carnegie Mellon University many years ago.
See https://en.wikipedia.org/wiki/Andrew_File_System
I looked around on the web, but did not come up with anything that worked so I thought that I would ask for some advice.
According to the above page RedHat has an implementation in early development. You could also try https://openafs.org/
Patrick,
Thanks! I did look at that page, but it seemed to me that that was written from the view of how to run an AFS server. Maybe I did not read carefully, but i was looking for how one mounts an AFS server. In the case of a CIFS mount (say), I can use the command:
/sbin/mount.cifs //full.path.to.server /mnt/local.directory -o nounix -o username=me,domain=domain.name,sec=ntlmv2
Is there a similar command for AFS mounts?
Many thanks and best wishes, Ranjan
____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! Check it out at http://www.inbox.com/earth
Once you start the OpenAFS client it will by default attach itself at /afs IIRC. You can change the default in a config file or the command line.
The way I used AFS a loooong time back, it used Kerberos to authenticate you to the AFS network, and everything you had access to was available in that /afs top level structured by Kerberos domains and then local file system structures. There was no mounting in the traditional sense. It is one big, cloudy repository that was primarily used by collaborating scientists. You could browse around and find all kinds of interesting stuff. :-) I used Scientific Linux (fork of CentOS) back then, and it had AFS installed by default.
It's a long time ago, so I may be hazy on this.
ti., 25.08.2015 kl. 08.09 -0500, skrev Ranjan Maitra:
On Tue, 25 Aug 2015 00:38:03 +0100 "Patrick O'Callaghan" < pocallaghan@gmail.com> wrote:
On Mon, 2015-08-24 at 18:19 -0500, Ranjan Maitra wrote:
Does anyone know how to mount an AFS filesystem (I think it is called an Andrews' Filesystem) on Fedora 22?
The Andrew File System was part of the Andrew project at Carnegie Mellon University many years ago.
See https://en.wikipedia.org/wiki/Andrew_File_System
I looked around on the web, but did not come up with anything that worked so I thought that I would ask for some advice.
According to the above page RedHat has an implementation in early development. You could also try https://openafs.org/
Patrick,
Thanks! I did look at that page, but it seemed to me that that was written from the view of how to run an AFS server. Maybe I did not read carefully, but i was looking for how one mounts an AFS server. In the case of a CIFS mount (say), I can use the command:
/sbin/mount.cifs //full.path.to.server /mnt/local.directory -o nounix -o username=me,domain=domain.name,sec=ntlmv2
Is there a similar command for AFS mounts?
Many thanks and best wishes, Ranjan
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! Check it out at http://www.inbox.com/earth
Il giorno lun, 24/08/2015 alle 18.19 -0500, Ranjan Maitra ha scritto:
Hi,
Does anyone know how to mount an AFS filesystem (I think it is called an Andrews' Filesystem) on Fedora 22?
I looked around on the web, but did not come up with anything that worked so I thought that I would ask for some advice.
Thank you for any help you are able to provide!
Try this:
$ sudo dnf install fuse-afp $ mount_afp Usage: mount_afp [-o volpass=password] <afp url> <mountpoint>
Found via: https://www.google.it/?gws_rd=ssl#q=fedora+how+to+mount+AFS+directory
hope this help
Dario Lesca
Hi,
Thanks very much again!!
Try this:
$ sudo dnf install fuse-afp $ mount_afp Usage: mount_afp [-o volpass=password] <afp url> <mountpoint>
The university has AFS space for me provided at /afs/zzzzz.edu/users/xx/yy/me /mnt/afs
where zzzzz.edy is the university domain name and the xx and yy are digits which have my directory (me).
I tried the following:
mount_afp -o volpass=password /afs/zzzzz.edu/users/xx/yy/me /mnt/afs
but I get
Could not parse URL
How should this URL be parsed?
I tried:
https://webfiles.zzzzz.edu/?path=/afs/zzzzz.edu/users/xx/yy/me
but got nowhere (same error message).
Is there an example I could follow?
Many thanks, Ranjan
____________________________________________________________ Can't remember your password? Do you need a strong and secure password? Use Password manager! It stores your passwords & protects your account. Check it out at http://mysecurelogon.com/manager
On Mon, 24 Aug 2015 18:19:05 -0500 Ranjan Maitra wrote:
Hi,
Does anyone know how to mount an AFS filesystem (I think it is called an Andrews' Filesystem) on Fedora 22?
I looked around on the web, but did not come up with anything that worked so I thought that I would ask for some advice.
Authentication for AFS is done by Kerberos. Furthermore you need an AFS token.
So the sequence of commands at my university is
kinit aklog
Afterwards I've access to the directories behind /afs.
"man kinit" and "man aklog" recommended for further reading.
Thank you for any help you are able to provide!
HTH, Frank
On Wed, 26 Aug 2015 08:31:16 +0200 Frank Elsner wrote:
On Mon, 24 Aug 2015 18:19:05 -0500 Ranjan Maitra wrote:
Hi,
Does anyone know how to mount an AFS filesystem (I think it is called an Andrews' Filesystem) on Fedora 22?
I looked around on the web, but did not come up with anything that worked so I thought that I would ask for some advice.
Authentication for AFS is done by Kerberos. Furthermore you need an AFS token.
So the sequence of commands at my university is
kinit aklogAfterwards I've access to the directories behind /afs.
Oh, I forget that the afs client and the kernel module must be installed and running.
--Frank
Hi Ranjan,
On Mon, Aug 24, 2015 at 06:19:05PM -0500, Ranjan Maitra wrote:
Does anyone know how to mount an AFS filesystem (I think it is called an Andrews' Filesystem) on Fedora 22?
I looked around on the web, but did not come up with anything that worked so I thought that I would ask for some advice.
You need a few things working. Kerberos, openafs-client, kmod, and kmod-openafs.
- Kerberos: this is for authentication. You need to set your realms in /etc/krb5.conf. Something like this (of course you have to use whatever is appropriate for your organisation, s/cern.ch/myorg.org/):
[realms] CERN.CH = { default_domain = cern.ch kdc = cerndc.cern.ch }
[domain_realm] .cern.ch = CERN.CH cern.ch = CERN.CH
- openafs-client, kmod, and kmod-openafs: this was provided by RPMFusion, but the maintainer changed jobs where it was not needed anymore and has been orphaned since then. This was about a year ago I think. kmod is available in the normal repos, the openafs bits can now be found on these coprs: jsbillings/openafs, jsbillings/openafs-kmod.
- If you don't want to depend on the timely build of kmods for every kernel update, you have to switch to dkms instead of kmod.
Hope this helps,
On Wed, 26 Aug 2015 10:20:55 +0200 Frank Elsner frank@moltke28.b.shuttle.de wrote:
On Wed, 26 Aug 2015 08:31:16 +0200 Frank Elsner wrote:
On Mon, 24 Aug 2015 18:19:05 -0500 Ranjan Maitra wrote:
Hi,
Does anyone know how to mount an AFS filesystem (I think it is called an Andrews' Filesystem) on Fedora 22?
I looked around on the web, but did not come up with anything that worked so I thought that I would ask for some advice.
Authentication for AFS is done by Kerberos. Furthermore you need an AFS token.
So the sequence of commands at my university is
kinit aklogAfterwards I've access to the directories behind /afs.
Oh, I forget that the afs client and the kernel module must be installed and running.
Thanks! How is the AFS space accessed after this? Is there a command that has to be passed? Or is that automatic (in the sense that AFS "sees" that you have the right credentials and you are given access. is understand that this may be specific to different kinds of setup.
Many thanks, Ranjan
____________________________________________________________ FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family! Visit http://www.inbox.com/photosharing to find out more!
Il giorno mar, 25/08/2015 alle 19.51 -0500, Ranjan Maitra ha scritto:
The university has AFS space for me provided at /afs/zzzzz.edu/users/xx/yy/me /mnt/afs
where zzzzz.edy is the university domain name and the xx and yy are digits which have my directory (me).
I tried the following:
mount_afp -o volpass=password /afs/zzzzz.edu/users/xx/yy/me /mnt/afs
but I get
Could not parse URL
How should this URL be parsed?
I tried:
https://webfiles.zzzzz.edu/?path=/afs/zzzzz.edu/users/xx/yy/me
but got nowhere (same error message).
Is there an example I could follow?
Many thanks, Ranjan
If the zzzzz.edu is the domain, a probable afp URL is someone like this:
afp://zzzzz.edu/users/xx/yy/me
afp://webfiles.zzzzz.edu/users/xx/yy/me
https://webfiles.zzzzz.edu/users/xx/yy/me
... but I'm not an afp expert
See this example: http://linux.die.net/man/1/mount_afp