LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-27-2006, 01:26 PM   #1
helpmhost
Member
 
Registered: Oct 2006
Posts: 43

Rep: Reputation: 15
OpenAFS


Hi,

We are looking into options to setup a file server for our MAC OS X clients. We may eventually want to access the server from Linux and Windows clients.

We plan on using a Linux file server.

I was looking at my options, and it looks like AFS is the best file sharing protocol (compared to NFS, SMB, and a few others). In fact, from what I have seen, AFS looks spectacular.

Before we make our decision, I have a few questions:

1. Why isn't AFS more well known? I have looked through various forums and various linux sites, and AFS seems to be rarely used.

2. What are some problems/limitations/cons of AFS?

3. Can my AFS servers use Active Directory for user authentication?

4. Can I have multiple authentication servers? I read that the files get replicated to other file servers, but what about the authentication server?

5. Is there a way for file to inherit parent folder's permission like in Windows? So if a user creates a new file, it will inherit the permissions of the parent so other users can access/modify the file (assuming they have access to the folder)?

6. Does the replication replicate every file to every file server? Or does it only replicate specific files to specific servers? If I have 3 file servers, will there therefore be 3 copies of each file or 2? How do I set that?

7. How does the replication do its thing? Does it send the entire file to the other server as soon as the file is modified? Or does it send only the changes of the file? Does it only send changes on a scheduled basis?

8. How does the replication prevent 2 users from changing one file at the same time?

9. Can the windows client use single-sign-on? Or will the users be prompted for their username and password?


Forgive me if any of these questions are included in the AFS documentation. I went through the documentation rather quickly and was quite overwhelved.

Can anyone refer me to some good tutorials and other EASY introduction documentation on it?

Thanks.
 
Old 02-27-2007, 03:38 AM   #2
nmh+linuxquestions.o
Member
 
Registered: Feb 2007
Posts: 135

Rep: Reputation: 15
Quote:
Originally Posted by helpmhost
Hi,

We are looking into options to setup a file server for our MAC OS X clients. We may eventually want to access the server from Linux and Windows clients.

We plan on using a Linux file server.

I was looking at my options, and it looks like AFS is the best file sharing protocol (compared to NFS, SMB, and a few others). In fact, from what I have seen, AFS looks spectacular.

Before we make our decision, I have a few questions:

1. Why isn't AFS more well known? I have looked through various forums and various linux sites, and AFS seems to be rarely used.
Quote from wikipedia:
The existing user base includes small single server cells as well as large multinational deployments spanning academia, private research laboratories, government, and commercial entities. A small snapshot of the deployed AFS cells can be found by reviewing the contents of the CellServDB file distributed with OpenAFS.

I think it is not more well known because it is a larger system than what most people want to administer, and it is not flashy. Also, it used to be much more difficult to get the software for it (before its open source release from transarc).

Quote:
2. What are some problems/limitations/cons of AFS?
It is big, scary, complicated, and typically involves modification of all systems using it (new software, kernel modules, etc...). It does not work like a standard posix filesystem. FIFOs are not supported. AFS ACLs are directory based, and different from standard unix permissions - I think they are better, but some people might get confused.

Quote:
3. Can my AFS servers use Active Directory for user authentication?
I have used AFS with a Heimdal KDC (it was easy and worked well). For msad, you might try:
http://www.openafs.org/pipermail/ope...er/019249.html

Quote:
4. Can I have multiple authentication servers? I read that the files get replicated to other file servers, but what about the authentication server?
If you use the built in KAserver(s), it is supposed to handle most everything for you. If you use heimdal or mit KDCs, you can do master/slave replication, but I don't think either one is yet master/master capable. If you really want the multimaster, you could set it up yourself, or maybe use macos:
http://www.afp548.com/article.php?st...60724104018616

Quote:
5. Is there a way for file to inherit parent folder's permission like in Windows? So if a user creates a new file, it will inherit the permissions of the parent so other users can access/modify the file (assuming they have access to the folder)?
Permissions (ACLs) are directory based, and directories inherit from the parent when created. Of course they can be cahnged after creation.

Quote:
6. Does the replication replicate every file to every file server? Or does it only replicate specific files to specific servers? If I have 3 file servers, will there therefore be 3 copies of each file or 2? How do I set that?
Replication is manually setup and is volume based. Volumes are ReadWrite (RW) or ReadOnly (RO) and RO volumes have an associated RW volume. If you want multiple RO volumes (on multiple servers and/or partitions), you can easily set that up.

Quote:
7. How does the replication do its thing? Does it send the entire file to the other server as soon as the file is modified? Or does it send only the changes of the file? Does it only send changes on a scheduled basis?
The RO volumes are updated on command.

Quote:
8. How does the replication prevent 2 users from changing one file at the same time?
One RW copy. Other than that, I think it is like a unix FS - and file locking is supported, IIRC.

Quote:
9. Can the windows client use single-sign-on? Or will the users be prompted for their username and password?
I believe it should be able to do SSO, if you have all the bits setup correctly.


Quote:
Forgive me if any of these questions are included in the AFS documentation. I went through the documentation rather quickly and was quite overwhelved.

Can anyone refer me to some good tutorials and other EASY introduction documentation on it?
I think you would find the FAQ enlightening.
http://www.dementia.org/twiki/bin/vi...AskedQuestions

I hope this information is useful. Please ask if there are areas that I did not sufficiently explain.
 
  


Reply

Tags
afs, filesystem



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cluster F/S: Network raid? OpenAFS? CODA? Fam / Imon triggered Rsync? GuitsBoy Linux - Server 0 10-26-2006 08:46 PM
OpenAFS on an OpenVPN tun device Gsee *BSD 0 05-08-2006 05:28 AM
OpenAFS Problems! mesh2005 Linux - Networking 0 01-22-2006 07:30 AM
openAFS client installation problem halturata Linux - Software 1 08-10-2005 02:39 AM
Newb problem:OpenAfs ebh1 Linux - Software 0 09-24-2003 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration