Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-07-06 Thread Tim Gustafson
> So, I've done this now, but I still get the same error: Doh! Scratch that! I needed to re-start the OpenAFS server for it to realize the "patrition" was there. -- Tim Gustafson t...@soe.ucsc.edu 831-459-5354 Baskin Engineering, Room 313A ___ OpenA

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-07-06 Thread Tim Gustafson
> You may need to 'touch /vicepa/AlwaysAttach' to force it to use arbitrary > directories So, I've done this now, but I still get the same error: root@server: touch /vicepa/AlwaysAttach root@server: vos create server /vicepa root.afs -localauth vos : partition /vicepa does not exist on the server

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-07-06 Thread Benjamin Kaduk
On Fri, 6 Jul 2012, Jerry McAllister wrote: On Thu, Jul 05, 2012 at 10:56:19PM -0400, Benjamin Kaduk wrote: On Wed, 27 Jun 2012, Tim Gustafson wrote: I just sent off a (believed to be final) patch to get 1.6.1 in the freebsd ports collection this morning; it should hit the ports tree within

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-07-06 Thread Jerry McAllister
On Thu, Jul 05, 2012 at 10:56:19PM -0400, Benjamin Kaduk wrote: > On Wed, 27 Jun 2012, Tim Gustafson wrote: > > >>I just sent off a (believed to be final) patch to get 1.6.1 in the freebsd > >>ports collection this morning; it should hit the ports tree within a day > >>or > >>two. > >>That sharb

[OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-07-06 Thread Andrew Deason
On Fri, 6 Jul 2012 09:26:18 -0700 Tim Gustafson wrote: > The documentation I read was that it was acceptable to use folders, > rather than mountpoints, for OpenAFS. This is perfectly okay; many sites do this all the time. While there may be minor issues for performance or organization depending

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-07-06 Thread Tim Gustafson
> Less performant, harder to reason about space usage when something else can > be using the space, potentially harder to recover from filesystem corruption > (although you are likely pretty hosed in that case whether it's dedicated or > not). I can set it up as a separate ZFS file system and rese

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-07-06 Thread Brandon Allbery
On Fri, Jul 6, 2012 at 12:26 PM, Tim Gustafson wrote: > > But is it a partition (that is, a local mountpoint)? You may need to > 'touch > > /vicepa/AlwaysAttach' to force it to use arbitrary directories; this is a > > bad idea in general. > > Why is your suggestion a "bad idea in general"? Is i

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-07-06 Thread Tim Gustafson
> But is it a partition (that is, a local mountpoint)? You may need to 'touch > /vicepa/AlwaysAttach' to force it to use arbitrary directories; this is a > bad idea in general. The documentation I read was that it was acceptable to use folders, rather than mountpoints, for OpenAFS. Specifically:

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-07-06 Thread Brandon Allbery
On Fri, Jul 6, 2012 at 12:20 PM, Tim Gustafson wrote: > > I just sent off a (believed to be final) patch to get 1.6.1 in the > freebsd > > ports collection this morning; it should hit the ports tree within a day > or > > two. > > Thanks! This has hit the ports treen and I got quite a bit further

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-07-06 Thread Tim Gustafson
> I just sent off a (believed to be final) patch to get 1.6.1 in the freebsd > ports collection this morning; it should hit the ports tree within a day or > two. Thanks! This has hit the ports treen and I got quite a bit further. OpenAFS is running, but now when I go to create a file system, I ge

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-07-05 Thread Benjamin Kaduk
On Wed, 27 Jun 2012, Tim Gustafson wrote: I just sent off a (believed to be final) patch to get 1.6.1 in the freebsd ports collection this morning; it should hit the ports tree within a day or two. That sharball will not work for recent versions of freebsd, as it does not include the OS support

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-28 Thread Benjamin Kaduk
On Wed, 27 Jun 2012, Brandon Allbery wrote: On Wed, Jun 27, 2012 at 12:50 PM, Tim Gustafson wrote: * The FreeBSD platform, having ZFS, is IMNSHO an excellent choice for a file server. How far ahead is the client code on FreeBSD? It works under light load, but I am pretty sure there are su

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-28 Thread Måns Nilsson
Subject: Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD Date: Wed, Jun 27, 2012 at 01:28:11PM -0400 Quoting Brandon Allbery (allber...@gmail.com): > > Are your comments about "light load" related to ZFS or OpenAFS? > OpenAFS client, specifically, as I read it (and as I u

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-27 Thread Tim Gustafson
> I just sent off a (believed to be final) patch to get 1.6.1 in the freebsd > ports collection this morning; it should hit the ports tree within a day or > two. > That sharball will not work for recent versions of freebsd, as it does not > include the OS support for 8.3, 8-stable, 9-stable, or 10-

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-27 Thread Tim Gustafson
> Last time I looked at it (not very recently, admittedly; not much grounds to > set up fbsd servers of late) it panic() a couple minutes after being > started.  As for the current state, I know only what was said earlier in > this thread; corner cases could well cover either panic() or corruption.

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-27 Thread Benjamin Kaduk
On Wed, 27 Jun 2012, Andrew Deason wrote: On Wed, 27 Jun 2012 09:46:24 -0700 Tim Gustafson wrote: Is there anything in PtLog? Lots of this: ptserver: pt 11 (267275)pt 11 (267275)pt 11 (267275)pt 11 (267275)pt 11 (2pt11 (267275) Can't rebuild database because not running NoAuth Can you ru

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-27 Thread Brandon Allbery
On Wed, Jun 27, 2012 at 12:50 PM, Tim Gustafson wrote: > >> * The FreeBSD platform, having ZFS, is IMNSHO an excellent choice for a > >> file server. > >> > >> How far ahead is the client code on FreeBSD? > > > It works under light load, but I am pretty sure there are subtle > lingering > > issue

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-27 Thread Tim Gustafson
> Can you run 1.6.1 instead? The instructions on > http://wiki.freebsd.org/afs-server mention > http://web.mit.edu/freebsd/openafs/openafs.shar, which appears to be > 1.6.1. This problem should go away with 1.6.1. > > There are other solutions to this, but 1.6.0 has major known issues, so > I think

[OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-27 Thread Andrew Deason
On Wed, 27 Jun 2012 09:46:24 -0700 Tim Gustafson wrote: > > Is there anything in PtLog? > > Lots of this: > > ptserver: pt 11 (267275)pt 11 (267275)pt 11 (267275)pt 11 (267275)pt > 11 (2pt11 (267275) Can't rebuild database because not running NoAuth Can you run 1.6.1 instead? The instructions

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-27 Thread Tim Gustafson
>> * The FreeBSD platform, having ZFS, is IMNSHO an excellent choice for a >> file server. >> >> How far ahead is the client code on FreeBSD? > It works under light load, but I am pretty sure there are subtle lingering > issues, and it should not be considered production-ready.  Only memory cache

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-27 Thread Tim Gustafson
> He would be using 1.6.0, I expect -- that's been in the ports tree since its > release, and I haven't gotten 1.6.1 pushed yet. I'm apparently running: openafs-1.6.0.20110814_3 -- Tim Gustafson t...@soe.ucsc.edu 831-459-5354 Baskin Engineering, Room 313A __

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-27 Thread Tim Gustafson
> Can you read from the database ('pts examine system:anyuser')? root@host: pts examine system:anyuser libprot: unable to build security class (getting token) libprot: Could not get afs tokens, running unauthenticated pts: User or group doesn't exist so couldn't look up id for system:anyuser > I

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-27 Thread Benjamin Kaduk
On Wed, 27 Jun 2012, Måns Nilsson wrote: Subject: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD Date: Tue, Jun 26, 2012 at 04:47:10PM -0500 Quoting Andrew Deason (adea...@sinenomine.net): I'm not sure if I've ever seen someone actually encounter that error before. Keep in mind

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-26 Thread Måns Nilsson
Subject: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD Date: Tue, Jun 26, 2012 at 04:47:10PM -0500 Quoting Andrew Deason (adea...@sinenomine.net): > I'm not sure if I've ever seen someone actually encounter that error > before. Keep in mind it may be possible you are encounterin

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-26 Thread Derrick Brashear
On Tue, Jun 26, 2012 at 6:34 PM, Benjamin Kaduk wrote: > On Tue, 26 Jun 2012, Andrew Deason wrote: > >> On Tue, 26 Jun 2012 14:29:04 -0700 >> Tim Gustafson wrote: >> >>> I was able to get past this problem by using FreeBSD's Kerberos >>> server.  I was previously trying to integrate with our MIT

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-26 Thread Benjamin Kaduk
On Tue, 26 Jun 2012, Andrew Deason wrote: On Tue, 26 Jun 2012 18:34:03 -0400 (EDT) Benjamin Kaduk wrote: should be in a /var/lib-like location. I am told that you will need to use pt_util to initialize a protection database as part of setting up a server. This should not be necessary. Bef

[OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-26 Thread Andrew Deason
On Tue, 26 Jun 2012 18:34:03 -0400 (EDT) Benjamin Kaduk wrote: > > should be in a /var/lib-like location. > > I am told that you will need to use pt_util to initialize a protection > database as part of setting up a server. This should not be necessary. Before 1.6, you had to either create the

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-26 Thread Benjamin Kaduk
On Tue, 26 Jun 2012, Andrew Deason wrote: On Tue, 26 Jun 2012 14:29:04 -0700 Tim Gustafson wrote: I was able to get past this problem by using FreeBSD's Kerberos server. I was previously trying to integrate with our MIT Kerberos server, but that seems to be problematic. To be clear, that p

[OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-26 Thread Andrew Deason
On Tue, 26 Jun 2012 14:29:04 -0700 Tim Gustafson wrote: > I was able to get past this problem by using FreeBSD's Kerberos > server. I was previously trying to integrate with our MIT Kerberos > server, but that seems to be problematic. To be clear, that previous error should not be caused by any

Re: [OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-26 Thread Tim Gustafson
> Bos cannot find tickets from your KeyFile with which to authenticate (or > possibly another error, but I think that's it). Can you run 'asetkey > list' and see if you appear to have any keys in your KeyFile? Do NOT > send the output of 'asetkey list' to the mailing list, but just say if > it list

[OpenAFS] Re: Setting Up OpenAFS on FreeBSD

2012-06-26 Thread Andrew Deason
On Tue, 26 Jun 2012 10:07:29 -0700 Tim Gustafson wrote: > I'm trying to follow this tutorial on how to set up OpenAFS on FreeBSD: > > http://wiki.freebsd.org/afs-server To whomever wrote this document (Ben?): it seems to reference both Transarc and non-transarc paths. Should it just be using no