Re: F22: how to mount AFS directory?

2015-08-26 Thread Dario Lesca
Il giorno mar, 25/08/2015 alle 19.51 -0500, Ranjan Maitra ha scritto:
> The university has AFS space for me provided at /afs/z.edu/users/xx/yy/me 
> /mnt/afs
> 
> where z.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/z.edu/users/xx/yy/me  /mnt/afs 
> 
> but I get 
> 
> Could not parse URL
> 
> How should this URL be parsed? 
> 
> I tried:
> 
> https://webfiles.z.edu/?path=/afs/z.edu/users/xx/yy/me
> 
> but got nowhere (same error message). 
> 
> Is there an example I could follow?
> 
> Many thanks,
> Ranjan

If the z.edu is the domain, a probable afp URL is someone like
this:

afp://z.edu/users/xx/yy/me

afp://webfiles.z.edu/users/xx/yy/me

https://webfiles.z.edu/users/xx/yy/me

... but I'm not an afp expert

See this example:
http://linux.die.net/man/1/mount_afp

-- 
Dario Lesca
(inviato dal mio Linux Fedora 22 con Gnome 3.16)

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F22: how to mount AFS directory?

2015-08-26 Thread Ranjan Maitra
On Wed, 26 Aug 2015 10:20:55 +0200 Frank Elsner  
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
> >aklog
> > 
> > Afterwards 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!


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F22: how to mount AFS directory?

2015-08-26 Thread Suvayu Ali
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,

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F22: how to mount AFS directory?

2015-08-26 Thread Frank Elsner
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
>aklog
> 
> Afterwards 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
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F22: how to mount AFS directory?

2015-08-25 Thread Frank Elsner
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
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F22: how to mount AFS directory?

2015-08-25 Thread Ranjan Maitra
Hi,

Thanks very much again!!
> 
> Try this:
> 
> > $ sudo dnf install fuse-afp
> > $ mount_afp 
> > Usage:
> >  mount_afp [-o volpass=password]  
> 

The university has AFS space for me provided at /afs/z.edu/users/xx/yy/me 
/mnt/afs

where z.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/z.edu/users/xx/yy/me  /mnt/afs 

but I get 

Could not parse URL

How should this URL be parsed? 

I tried:

https://webfiles.z.edu/?path=/afs/z.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


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F22: how to mount AFS directory?

2015-08-25 Thread Dario Lesca
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]  

Found via:
https://www.google.it/?gws_rd=ssl#q=fedora+how+to+mount+AFS+directory

hope this help

Dario Lesca
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F22: how to mount AFS directory?

2015-08-25 Thread birger
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 lng 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" <
> pocallag...@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
> 
> 
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F22: how to mount AFS directory?

2015-08-25 Thread Ranjan Maitra
On Tue, 25 Aug 2015 00:38:03 +0100 "Patrick O'Callaghan" 
 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


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F22: how to mount AFS directory?

2015-08-24 Thread Patrick O'Callaghan
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
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


F22: how to mount AFS directory?

2015-08-24 Thread Ranjan Maitra
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

-- 
Important Notice: This mailbox is ignored: e-mails are set to be deleted on 
receipt. Please respond to the mailing list if appropriate. For those needing 
to send personal or professional e-mail, please use appropriate addresses.


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/password-manager


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org