Re: [OpenAFS] salvaging volumes destroys data

2008-03-19 Thread Ralf Hornik (Mailings)
Hi,

> Hmm, I wonder if this really is a salvager problem. Did you compile with
GCC
> 4.2.x? If yes, try recompiling with 4.1.x. See
> http://www.nabble.com/Strange-access-problems-on-one-client-to12112808.html

Ubuntu 7.10 amd64 uses gcc-4.1 and the volume or at least the damaged
files where not accessible from anywhere else.

I now disabled ecryptfs for /vicepa and it seems to work. However I
couldn't reproduce it yet but the volumes where inaccessible very fast
before.

Btw, has somebody got a clue, what could be damaged by ecryptfs so that

VAttachVolume: Error reading largeVnode vol header

happens?

In my opinion too, it isn't a salvager problem, because some files where
not readable after copying into /afs. This files themself still exist in
/vicepa/AFSIDat/* and could be restored from there.

Whats going wrong?

Regards

Ralf




___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


[OpenAFS] perpetual Connection timed out

2008-03-19 Thread Wesley Chow

On a few of our clients (running 1.4.1), we sometimes get "Connection
timed out" with a single volume. Other volumes on the same server are
unaffected. When this happens, the client never seems to recover on its
own except through a reboot. This is unfortunately not very repeatable,
but it seems to happen occasionally when I mistakenly remove mounts and
put them back.

Is there a way for me force the client to try to connect to the server
again?


Thanks,
Wes
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] groups in groups, ptsviewers etc...

2008-03-19 Thread Kim Kimball






Marcus Watts wrote:

  Anders Magnusson <[EMAIL PROTECTED]> writes:
  
  
Also, for people to be able to see what's in the protection database, 
they must obviously be members
of the (undocumented?) ptsviewers group. Is it safe just to add all 
people to this group or are there other
implications of doing so?

  
  
Depends on if you ever want private groups or not.

If you want everybody in your cell to be able to see group
membership by default, you're probably better off running ptserver this way:
	/usr/afs/bin/ptserver -p 16 -default SOM-- SOM--
probably you will need to remake your ptserver instances in bos to do this.

  
  
-- Ragge

  
  
  


The SOMAR (or "privacy") flags can also be set for individual groups
using "pts setfields" if you wish to allow operations on groups x y z
but not on the entire PTDB.

http://www.openafs.org/pages/doc/UserGuide/auusg008.htm

Look for "Protecting Group-related Information"

Kim




___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] perpetual Connection timed out

2008-03-19 Thread Mike Garrison


On Mar 19, 2008, at 12:26 PM, Wesley Chow wrote:


On a few of our clients (running 1.4.1), we sometimes get "Connection
timed out" with a single volume. Other volumes on the same server are


1.4.1 is almost 2 years old. Have you tried upgrading? 1.4.6 is recent.

--
Mike Garrison
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] perpetual Connection timed out

2008-03-19 Thread Wesley Chow


Mike Garrison wrote:
> 
> On Mar 19, 2008, at 12:26 PM, Wesley Chow wrote:
>>
>> On a few of our clients (running 1.4.1), we sometimes get "Connection
>> timed out" with a single volume. Other volumes on the same server are
> 
> 1.4.1 is almost 2 years old. Have you tried upgrading? 1.4.6 is recent.

Yep, I'll do that. I was just hoping there was a "bos restart"-like
command for clients that I could use in the meantime. It's not a common
problem anyway, so I'll just upgrade.


Thanks,
Wes
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] perpetual Connection timed out

2008-03-19 Thread Christopher D. Clausen
Wesley Chow <[EMAIL PROTECTED]> wrote:
> Mike Garrison wrote:
>>
>> On Mar 19, 2008, at 12:26 PM, Wesley Chow wrote:
>>>
>>> On a few of our clients (running 1.4.1), we sometimes get
>>> "Connection timed out" with a single volume. Other volumes on the
>>> same server are
>>
>> 1.4.1 is almost 2 years old. Have you tried upgrading? 1.4.6 is
>> recent.
>
> Yep, I'll do that. I was just hoping there was a "bos restart"-like
> command for clients that I could use in the meantime. It's not a
> common problem anyway, so I'll just upgrade.

fs checks; fs checkv



Re: [OpenAFS] perpetual Connection timed out

2008-03-19 Thread Derrick Brashear
>  > Yep, I'll do that. I was just hoping there was a "bos restart"-like
>  > command for clients that I could use in the meantime. It's not a
>  > common problem anyway, so I'll just upgrade.
>
>  fs checks; fs checkv

Not sufficient.

Hint: why does fs uuid -generate exist now?
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] perpetual Connection timed out

2008-03-19 Thread Jeffrey Altman

Christopher D. Clausen wrote:

Wesley Chow <[EMAIL PROTECTED]> wrote:

Mike Garrison wrote:

On Mar 19, 2008, at 12:26 PM, Wesley Chow wrote:

On a few of our clients (running 1.4.1), we sometimes get
"Connection timed out" with a single volume. Other volumes on the
same server are

1.4.1 is almost 2 years old. Have you tried upgrading? 1.4.6 is
recent.

Yep, I'll do that. I was just hoping there was a "bos restart"-like
command for clients that I could use in the meantime. It's not a
common problem anyway, so I'll just upgrade.


fs checks; fs checkv


fs checkserver won't help because the server is already
responding to queries for other volumes.

fs checkvolume might help if the problem is that the
cache manager is confused on which server the volume
is located on.

When the problem occurs I would execute "cmdebug  -long" and
find the FID of the mount point and the volume and see what its
status is.

Then I would try executing "fs flushvolume" against both the volume
containing the mountpoint and the volume that is exhibiting the
problem.

Jeffrey Altman



smime.p7s
Description: S/MIME Cryptographic Signature


[OpenAFS] Documentation to install openAFS in NokiaN800

2008-03-19 Thread Alejandro Gutierrez
Hi:

I am currently interested in installing the openAFS in the NokiaN800.  Does 
anyone know where I can find information on how to do that?  Any documentation?

Appreciate the response,

Alejandro Gutierrez
Alejandro GutiƩrrez, MS
PhD Candidate
Research Assistant
Samsung Electronics
System Software Research Group
Thomas M. Siebel Center for Computer Science, MC -258
201 North Goodwin Avenue
Urbana, Illinois 61801-2302 USA
mobile->(217) 721-9769
email->[EMAIL PROTECTED]
url->http://srg.cs.uiuc.edu
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Fedora kernel builds

2008-03-19 Thread Brian Gallew

Buhrmaster, Gary wrote:

And it is not childish.  It is actually a
very sophisticated way to achieve a result.
Language, as Orwell wrote so well about,
and political advisors of both parties
use so well, can be a powerful way to
confuse, misdirect, and to manipulate, as
well as the potential to enlighten.  I
give all sides great credit for learning
from the masters even as I wish they were
not so good at the first parts.


Yes, it is very sophisticated and Orwellian.  The question then becomes: 
will their efforts succeed due to market pressures, or are they in the 
process of marginalizing themselves?  Frankly, if there was a *BSD 
distribution out there that was as approachable as, e.g., Ubuntu Linux, 
then I believe that marginalization will occur.  On the other hand, the 
*BSD camp seems to have their own agenda which does NOT emphasize ease 
of use.


So, in summary, the Linux kernel weasels are trying to force a specific 
POV on all their users, the *BSD developers are largely oblivious to the 
potential market (or have made the decision to not care), and the 
OpenAFS developers are stuck trying to support a platform that seems to 
be working hard to prevent them from doing so.

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


[OpenAFS] openafs on iphone

2008-03-19 Thread Alberto Paoluzzi

Just an idea:

have the main developers of OpenAFS considered a participation to the  
100 million dollars contest,

http://www.nypost.com/seven/03012007/business/apples_big_talk_business_janet_whitman.htm
, with a project of bringing both kerberos and openafs to the apple  
iphone?


The SDK  seems to open the whole OS to developers, and I believe Apple  
would be very happy for the deal.
It would be a huge achievement for both the iphone platform and the  
openafs community ...

What do they think about?

alberto

__
"I've seen things you people wouldn't believe. Attack ships on fire  
off the shoulder of Orion. I watched C-beams glitter in the dark near  
the Tannhauser gate..."

- Roy Batty (Rutger Hauer) - Blade Runner




[OpenAFS] Mac OSX Finder drag-and-drop failures

2008-03-19 Thread Richard Brittain

Hi,
   I recently ran into a problem with the Mac OSX Finder and AFS, which 
was frustratingly difficult to pin down to any particular configuration or 
circumstances.


The Finder would not allow _any_ file dragging out of AFS (circle-slash 
icon), regardless of destination.  Files could be opened by 
double-clicking, and copied with command line tools, and the Finder would 
drag files up to AFS (given appropriate tokens and ACLs).  I found this on 
three different systems, all previously working fine.  With a few reboots 
and restarts of the AFS client, I could get two of them working again, at 
least temporarily.  I tried changing the afsd options and CellServDB but 
nothing seemed to make a difference (I usually run with -afsdb and a null 
CellServDB - I only need to see my local cell).  It seemed to have no 
relation to ACLs or tokens.


MacOS OS 10.4.11
OpenAFS versions tried: 1.4.4, 1.4.5, 1.5.28

[ The reason I needed this was to copy some Mac-created files out of AFS, 
which had such pathological names that none of the command line tools (cp, 
tar, ditto) would succesfully get them all - but I can't blame AFS for 
that ]


I strongly suspect that this started happening with some relatively recent 
OSX system update, but I've got no older system images to test on.  They 
are all 10.4.latest


Anyone else seen similar behaviour ?

Richard Brittain
--
Richard Brittain,  Kiewit Computing Services, 6224 Baker/Berry Library
   Dartmouth College, Hanover NH 03755
Email: [EMAIL PROTECTED]
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


[OpenAFS] New to OpenAFS

2008-03-19 Thread billbaird3

Hello,

I'm new to OpenAFS and was hoping if the community could help me determine
if it would be a good fit for my company. We are approx 150 people, with 50
home users and the rest in small offices of about 10-15 people. I would like
to have a main file server that everyone can access, but also departmental
servers in offices that would allow people to save files quickly (without
going over the WAN).

In my dream scenario, I would have one main server in our data center that
stores everything and is backed up. Each office would have a server that
acts as a caching server. These servers would cache specific folders that
are often used by the people in that specific office...any times changes are
made, it is saved on that server and then transferred to the main server in
the background. This would allow users in branch offices to have fast access
to files and not have to wait for WAN transfers. And would prevent the admin
team from backing up every department's server. Is this possible with
OpenAFS? I read something about a Samba/OpenAFS gateway, would this be
required? Or are there other products that you think might be a better fit?

Also, is the windows desktop client used a lot of most deployments? How
reliable is this?

Thanks for the help!

--Bill 
-- 
View this message in context: 
http://www.nabble.com/New-to-OpenAFS-tp16093093p16093093.html
Sent from the OpenAFS - General mailing list archive at Nabble.com.

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


[OpenAFS] Bug#143111: Testing GNU findutils on AFS.... please!

2008-03-19 Thread James Youngman
First of all, please forgive me for posting to your mailing list
 without first subscribing to it.   Secondly, please CC me on your
 replies since I am not subscribed :)

 My question, is, if you build GNU findutils on your system, do the
 -xdev option and the -fstype test work on AFS (you might test
 findutils-4.4.0, for example)?   Does the patch described at

 http://lists.gnu.org/archive/html/bug-findutils/2004-10/msg00026.html
 and
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=143111

 (sorry if the changes don't work as well as they might have done, they
 were written some years ago, the original bug submitter was
 unresponsive).

 If you are in a mood to test things though, is oldfind's -noleaf
 option needed to correctly search AFS filesystems?  (without it, find
 assumes that directories with a link count of 2 have no
 subdirectories).

 Thanks for any feedback,
 James (GNU findutils maintainer).
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] perpetual Connection timed out

2008-03-19 Thread Todd DeSantis

Hi -

If the problem is happening when you are trying to cd into
a volume, then this is probably a case where the linkData
field of the vcache structure has somehow become corrupted.

The "fs flush" and "fs flushv" commands will NOT address this
part of the flushing.

If you have the

  fs flushmount 

command, this will fix that problem.

Thanks

Todd



   
 Jeffrey Altman
 <[EMAIL PROTECTED] 
 ndpoints.com>  To
 Sent by:  "Christopher D. Clausen"
 openafs-info-admi <[EMAIL PROTECTED]>  
 [EMAIL PROTECTED]  cc
   Wesley Chow <[EMAIL PROTECTED]>,
   openafs-info@openafs.org
 03/19/2008 02:24  Subject
 PMRe: [OpenAFS] perpetual Connection
   timed out   
   
 Please respond to 
 [EMAIL PROTECTED] 
dpoints.com
   
   




Christopher D. Clausen wrote:
> Wesley Chow <[EMAIL PROTECTED]> wrote:
>> Mike Garrison wrote:
>>> On Mar 19, 2008, at 12:26 PM, Wesley Chow wrote:
 On a few of our clients (running 1.4.1), we sometimes get
 "Connection timed out" with a single volume. Other volumes on the
 same server are
>>> 1.4.1 is almost 2 years old. Have you tried upgrading? 1.4.6 is
>>> recent.
>> Yep, I'll do that. I was just hoping there was a "bos restart"-like
>> command for clients that I could use in the meantime. It's not a
>> common problem anyway, so I'll just upgrade.
>
> fs checks; fs checkv

fs checkserver won't help because the server is already
responding to queries for other volumes.

fs checkvolume might help if the problem is that the
cache manager is confused on which server the volume
is located on.

When the problem occurs I would execute "cmdebug  -long" and
find the FID of the mount point and the volume and see what its
status is.

Then I would try executing "fs flushvolume" against both the volume
containing the mountpoint and the volume that is exhibiting the
problem.

Jeffrey Altman

<><><>

Re: [OpenAFS] perpetual Connection timed out

2008-03-19 Thread Wesley Chow

Todd DeSantis wrote:
> Hi -
> 
> If the problem is happening when you are trying to cd into
> a volume, then this is probably a case where the linkData
> field of the vcache structure has somehow become corrupted.
> 
> The "fs flush" and "fs flushv" commands will NOT address this
> part of the flushing.

Right, I tried this on both the volume and the parent volume.

> If you have the
> 
> fs flushmount 
> 
> command, this will fix that problem.

I'll try this next time. The problem disappeared after a reboot, so I no
longer have a broken system to debug.


Thanks,
Wes


> 
> Thanks
> 
> Todd
> 
> Inactive hide details for Jeffrey Altman
> <[EMAIL PROTECTED]>Jeffrey Altman <[EMAIL PROTECTED]>
> 
> 
> *Jeffrey Altman <[EMAIL PROTECTED]>*
> Sent by: [EMAIL PROTECTED]
> 
> 03/19/2008 02:24 PM
> Please respond to
> [EMAIL PROTECTED]
> 
>   
> 
> To
>   
> "Christopher D. Clausen" <[EMAIL PROTECTED]>
> 
> cc
>   
> Wesley Chow <[EMAIL PROTECTED]>, openafs-info@openafs.org
> 
> Subject
>   
> Re: [OpenAFS] perpetual Connection timed out
> 
>   
> 
> 
> Christopher D. Clausen wrote:
>> Wesley Chow <[EMAIL PROTECTED]> wrote:
>>> Mike Garrison wrote:
 On Mar 19, 2008, at 12:26 PM, Wesley Chow wrote:
> On a few of our clients (running 1.4.1), we sometimes get
> "Connection timed out" with a single volume. Other volumes on the
> same server are
 1.4.1 is almost 2 years old. Have you tried upgrading? 1.4.6 is
 recent.
>>> Yep, I'll do that. I was just hoping there was a "bos restart"-like
>>> command for clients that I could use in the meantime. It's not a
>>> common problem anyway, so I'll just upgrade.
>>
>> fs checks; fs checkv
> 
> fs checkserver won't help because the server is already
> responding to queries for other volumes.
> 
> fs checkvolume might help if the problem is that the
> cache manager is confused on which server the volume
> is located on.
> 
> When the problem occurs I would execute "cmdebug  -long" and
> find the FID of the mount point and the volume and see what its
> status is.
> 
> Then I would try executing "fs flushvolume" against both the volume
> containing the mountpoint and the volume that is exhibiting the
> problem.
> 
> Jeffrey Altman
> 
> 
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] perpetual Connection timed out

2008-03-19 Thread Jeffrey Altman

Todd DeSantis wrote:

Hi -

If the problem is happening when you are trying to cd into
a volume, then this is probably a case where the linkData
field of the vcache structure has somehow become corrupted.

The "fs flush" and "fs flushv" commands will NOT address this
part of the flushing.


Then this is a behavior difference between the Windows and
UNIX cache managers.  There is no "fs flushmount" command on
Windows.  Clearing the mountpoint target string is performed
as part of a standard flush command.

To flush an individual mount point object

fs flush  -literal

To flush all the objects in a volume including the mount
point object,

fs flush 

where  is any path that evaluates to an object in the
desired volume.

Jeffrey Altman


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [OpenAFS] openafs on iphone

2008-03-19 Thread Karl Kuehn

On Mar 16, 2008, at 4:48 AM, Alberto Paoluzzi wrote:

have the main developers of OpenAFS considered a participation to  
the 100 million dollars contest,

http://www.nypost.com/seven/03012007/business/apples_big_talk_business_janet_whitman.htm
, with a project of bringing both kerberos and openafs to the apple  
iphone?


	The money is not a contest, but is an investment pool. People who  
have ideas that they want investors ("angels") to help fund can apply  
to the fund. Open Source projects would probably not be welcomed  
(unless you can come up with a way of making money from it).


The SDK  seems to open the whole OS to developers, and I believe  
Apple would be very happy for the deal.
It would be a huge achievement for both the iphone platform and the  
openafs community ...

What do they think about?


	The main problem with AFS on the iPhone is that programs are limited  
to accessing only their own files (they are isolated from other  
programs). So an OpenAFS project on the iphone is probably feasible,  
and you could bring over files onto the iPhone, but no other programs  
could then use those files.


--
Karl Kuehn
[EMAIL PROTECTED]
Mac Image Developer
Student Computing
Stanford University



Re: [OpenAFS] New to OpenAFS

2008-03-19 Thread Jason Edgecombe

billbaird3 wrote:

Hello,

I'm new to OpenAFS and was hoping if the community could help me determine
if it would be a good fit for my company. We are approx 150 people, with 50
home users and the rest in small offices of about 10-15 people. I would like
to have a main file server that everyone can access, but also departmental
servers in offices that would allow people to save files quickly (without
going over the WAN).

In my dream scenario, I would have one main server in our data center that
stores everything and is backed up. Each office would have a server that
acts as a caching server. These servers would cache specific folders that
are often used by the people in that specific office...any times changes are
made, it is saved on that server and then transferred to the main server in
the background. This would allow users in branch offices to have fast access
to files and not have to wait for WAN transfers. And would prevent the admin
team from backing up every department's server. Is this possible with
OpenAFS? I read something about a Samba/OpenAFS gateway, would this be
required? Or are there other products that you think might be a better fit?

Also, is the windows desktop client used a lot of most deployments? How
reliable is this?
  


Hi Bill,

OpenAFS may be a good fit for your company, but it doesn't fit your 
ideal scenario. It does provide a unified way to manage fileserver in 
different locations. He is one possible way to use OpenAFS with 
WAN-connected offices:


Each office has a fileserver. all employees have a home directory and 
access to shared directories.


Each employee's home directory would be located on the fileserver for 
their office.


Here is an sample file tree:
/afs/example.com/home/alice
/afs/example.com/home/bob
/afs/example.com/home/charlie
/afs/example.com/home/david
/afs/example.com/shared/new_york
/afs/example.com/shared/chicago
/afs/example.com/shared/procedures

In this example, alice & bob are in new york and charlie & david are in 
chicago. Anyone at any office can login to AFS and see any of the file 
from any site. Alice & Bob's files are located on a server in new york 
and charlie & david's files are on the server in chicago. In addition, 
the shared folders for new_york & chicago on servers in their respective 
cities as well. The procedures directory is on a server in the HQ in 
Atlanta with read-only replicas in all offices. The replicas are only 
updated when an IT admin runs a command to refresh the Read-only copies. 
Anyone modifying the files can read the read-write copies in Atlanta by 
looking in /afs/.example.com/shared/procedures, but the changes are only 
copied to all sites when the the IT admin says so.


Each night/week, copies of the data from the new_york and chicago 
offices are copied to the central servers in Atlanta.  (a scripted vos copy)


Access to files is fast because location-specified data is at each 
office. company-wide read-only data has a copy in each office and the 
local cache on each client caches copies of any fetched data.


The best part is that no one needs to be notified if data is shuffled 
around. For example, the Albany office man not be big enough to need a 
server and just uses the new_york server, but they still have an 
"albany" shared folder. When the albany office grows, you can set up a 
server there and move the volumes from new_york to albany without 
changing the paths to the files because it's all transparent to the user.


An added benefit is that alice's data can be moved to Atlanta when she 
get relocated but the path won't change.


You can get a feel for the speed of AFS by installing an AFS client and 
browsing around some cells like openafs.org.



There is no need for the samba/AFS gateway. Just install OpenAFS clients 
on all of the machines.



The windows client is very reliable. At my work, we have over 1000 
windows XP desktops running the OpenAFS clients with 10+ servers, 100 
solaris desktops, 20 Linux desktops, and 3TB of data which we plan to 
expand to 10TB this year. I'm writing this on my Mac laptop with the 
OpenAFS client which I use to access my files from home.


Did I answer your questions? Do you have any more questions?

Sincerely,
Jason
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] AFS namei file servers, SAN, any issues elsewhere? We've had some. Can AFS _cause_ SAN issues?

2008-03-19 Thread Jason Edgecombe

Is this what you need?

  PKGINST:  SUNWsan
 NAME:  SAN Foundation Kit
 CATEGORY:  system
 ARCH:  sparc
  VERSION:  1.0
  BASEDIR:  /
   VENDOR:  Sun Microsystems, Inc.
 DESC:  This package provides a support for the SAN Foundation Kit.
   PSTAMP:  sanserve-a20031029172438
 INSTDATE:  Jan 15 2008 10:37
  HOTLINE:  Please contact your local service provider
   STATUS:  completely installed
FILES:   22 installed pathnames
  4 shared pathnames
  1 linked files
 11 directories
  2 executables
239 blocks used (approx)


Running Solaris 9 09/05HW Sparc with Sun SAN foundation.

Jason

Kim Kimball wrote:

Hi Jason,

Thanks!

Can you tell me which flavor of SAN you're using?

Kim


Jason Edgecombe wrote:

Robert Banz wrote:



AFS can't really cause "san issues" in that it's just another 
application using your filesystem.  In some cases, it can be quite a 
heavy user of such, but since its only interacting through the fs, 
its not going to know anything about your underlying storage fabric, 
or have any way of targeting it for any more badness than any other 
filesystem user.


One of the big differences that would effect the filesystem IO load 
that occurred between 1.4.1 & 1.4.6 was the removal functions that 
made copious fsync operations.  These operations were called in 
fileserver/volserver functions that modified various in-volume 
structures, specifically file creations and deletions, and would 
lead to rather underwhelming performance when doing vos restores, 
deleting, or copying large file trees.  In many configurations, this 
causes the OS to pass on a call to the underlying storage to verify 
that all changes written have been written to *disk*, causing the 
storage controller to flush its write cache.  Since this defeats 
many of the benefits (wrt I/O scheduling) on your storage hardware 
of having a cache, this could lead to overloaded storage.


Some storage devices have the option to ignore these calls from 
devices, assuming your write cache is reliable.


Under UFS, I would suggest that you'd be running in 'logging' mode 
when using the namei fileserver on Solaris, as yes, fsck is rather 
horrible to run.  Performance on reasonably recent versions of ZFS 
were quite acceptable as well.


I can confirm Robert's observations. I recently tested openafs 1.4.1 
inode vs 1.4.6 namei on solaris 9 sparc with a Sun Storedge 3511 
Expansion tray fibre channel device. The difference is stagerring 
with vos move and such. We have been using the 1.4.6 namei config on 
a SAN for a few months now with no issues.


Jason
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info




___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info



___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] New to OpenAFS

2008-03-19 Thread billbaird3

Jason,

Thanks so much for clarifying things, for the majority of users I think this
will solve a lot of file sharing issues. Most of our locations are dedicated
to a specific department, so traffic will stay on the local network. I do
have a few additional questions if you don't mind...

- Our accounting group is distributed with a equal amount of people in NY,
NC & LA. Right now they all connect to our server (WebDAV, Oracle Content
Services) in NY. It is great for the NY users, but slow for others. Is there
anyway to make an accounting folder available for fast access in multiple
locations? Is there anyway to have read/write clones? If your example, you
say that the read/write copy is accessible via:
"/afs/.example.com/shared/procedures". This is different than
"/afs/example.com/shared/procedures". Just wanted to confirm that it isn't a
typo...

- Have you integrated your OpenAFS server into an LDAP or Directory server?
We are planning to run Samba with an OpenLDAP backend for our domain. Is
this possible? I haven't been able to find my documentation about this. We
are actually starting fresh, so we are open to any directory system as long
as we can have other other apps authenticate via LDAP.

- Lastly, when users are connecting to AFS do they need to only be able to
contact one AFS server? Or contact others? For example, do the LA users need
to talk to the NY server? Or do they talk to the LA server and the LA server
handles interaction with NY?

Thanks!

--Bill
-- 
View this message in context: 
http://www.nabble.com/New-to-OpenAFS-tp16093093p16169539.html
Sent from the OpenAFS - General mailing list archive at Nabble.com.

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


[OpenAFS] nautilus on RHEL4

2008-03-19 Thread Dave Botsch
Hi, all.

Nautilus on rhel4 (and prolly other os'es/distros), is somewhat broke w.r.t.
openafs. Like the Mac finder, Nautilus looks at the unix mode bits to make
access decisions for files and folders. 

Nautilus also ignores the umask when creating files (but not folders) on rhel4.

So, I patched up nautilus to fix/workaround these two issues.

The srpm and rpm (i386) for rhel4 are in:
/afs/cnf.cornell.edu/shares/public/outside_users/openafs

Since I didn't do actual patch files (and edit the spec file to apply them),
here's the two fixes/workarounds:

1. umask
Fnct nautilus_file_operations_new_file() in nautilus-file-operations.c , add
the following code at line 2406:
/* Create file with correct perms */
mask = umask (0);
umask(mask); 
fchmod(fd, 0666&(0777-mask));

2. afs
Fnct nautilus_file_denies_access_permission() in nautilus-file.c, add the
following code at line 692:
/* If in afs, return FALSE */
if (strstr(file->details->directory->details->uri, "/afs") != NULL) {
return FALSE;
}



-- 

David William Botsch
Programmer/Analyst
CNF Computing
[EMAIL PROTECTED]

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info