Re: [OpenAFS] Installation of OpenAFS on Ubuntu 11.10

2012-03-29 Thread Jonathan Billings
On Wed, Mar 28, 2012 at 11:10:21AM -0400, Xianwei Zhang wrote:
 I install from the source code of version 1.7.1 on ubuntu 11.10 and
 attached is the step-by-step record of my install operations. Could you
 plz have a read of that to verify that the operations are complete and
 correct. I have been puzzled by this for a whole week.

I believe that 1.6.0 is the latest release available for Linux,
although you can also give 1.6.1pre4 a try as well.  1.7.x is for MS
Windows only.

-- 
Jonathan Billings jsbil...@umich.edu
College of Engineering - CAEN - Unix and Linux Support
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Installation of OpenAFS on Ubuntu 11.10

2012-03-29 Thread Russ Allbery
Jonathan Billings jsbil...@umich.edu writes:
 On Wed, Mar 28, 2012 at 11:10:21AM -0400, Xianwei Zhang wrote:

 I install from the source code of version 1.7.1 on ubuntu 11.10 and
 attached is the step-by-step record of my install operations. Could you
 plz have a read of that to verify that the operations are complete and
 correct. I have been puzzled by this for a whole week.

 I believe that 1.6.0 is the latest release available for Linux,
 although you can also give 1.6.1pre4 a try as well.

1.6.1 is now mostly out; just the final wrapping up and announcing to go,
I believe.

-- 
Russ Allbery (r...@stanford.edu) http://www.eyrie.org/~eagle/
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Installation of OpenAFS on Ubuntu 11.10

2012-03-29 Thread Derrick Brashear
1.7? sounds like 'latest greatest syndrome'. no one ever suggested a 1.7 
release for anything but Windows.

Derrick


On Mar 28, 2012, at 11:25, Xianwei Zhang xi...@pitt.edu wrote:

 Hello,
 
 I am doing a project to optimize the backup of OpenAFS. Now I am
 installing the server on my ubuntu 11.10. I got stuck on creating root.afs
 volume.
 
 $ ./vos create 130.49.223.224 vicepa root.afs –noauth
 Failed to create the volume root.afs 0
: Argument list too long
 : Argument list too long
 Error in vos create command.
: Argument list too long
 $ ./vos create 130.49.223.224 vicepa root.afs –noauth
 Could not create a VLDB entry for the volume root.afs 3
 VLDB: index was out of range
 Error in vos create command.
 VLDB: index was out of range
 
 The VolserLog says:
 Starting AFS Volserver 2.0 (/usr/afs/bin/volserver)
 1 Volser: CreateVolume: missing volume number; root.afs volume not created
 1 Volser: CreateVolume: Volume 3 (root.afs) created
 1 Volser: Delete: Volume 3 deleted
 
 The FileLog says:
 File Server started (Date)
 fssync: breaking all call backs for volume 3
 
 No VLLog and SalvageLog are there.
 
 I install from the source code of version 1.7.1 on ubuntu 11.10 and
 attached is the step-by-step record of my install operations. Could you
 plz have a read of that to verify that the operations are complete and
 correct. I have been puzzled by this for a whole week.
 
 Thank you in advance.
 
 Regards,
 
 install steps.pdf
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Installation of OpenAFS on Ubuntu 11.10

2012-03-28 Thread Harald Barth

 I install from the source code of version 1.7.1 on ubuntu 11.10 and ...

1.7.1? 

On Unix/Linux clients and servers I would use 1.4.14 or 1.6.x. For
Windows clients I would use 1.7.8. Does 1.7.x work for other OSes than
Windows at all?

1.6.1 will be released soon. I would wait for that and not use 1.6.0.

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


Re: [OpenAFS] Installation of OpenAFS on Ubuntu 11.10

2012-03-28 Thread Lars Schimmer
On 27.03.2012 18:57, Xianwei Zhang wrote:
 Hello,
 
 I am doing a project to optimize the backup of OpenAFS. Now I am
 installing the server on my ubuntu 11.10. I got stuck on creating root.afs
 volume.

 I install from the source code of version 1.7.1 on ubuntu 11.10 and
 attached is the step-by-step record of my install operations. Could you
 plz have a read of that to verify that the operations are complete and
 correct. I have been puzzled by this for a whole week.

Why compile from source?
Why 1.7.1?
Why ka server?
Why install all by hand?

There are quite perfect packages of 1.6.1pre4 in debian available which
will work in ubuntu, to.
1.7.1 is just 1.6.x which includes the windows native drive, not
suitable for linux. Stick with 1.6.1pre4 for a best server set.

Do use krb5 server and not kaserver (which is krb4 and no more used with
OpenAFS 1.6.0 and higher). But if you just setup another server, your
krb5 setup is already setup.

For a short, useable installation of a OpenAFS fileserver and a new
cell, we just made a (german) HowTo setup a OpenAFS cell and a workshop
in chemnitz. That PDF is here:
http://chemnitzer.linux-tage.de/2012/vortraege/folien/1018_OpenAFS.pdf
With that howto (made step by step on debian) you have a running cell.
If you want to train, the image of the debian system on which that PDF
is applied is linked under:
http://tetris.cgv.tugraz.at/clt2012/CLT12.de.tar.bz2

But maybe I did miss a important point of your side?

 Thank you in advance.
 
 Regards,


MfG,
Lars Schimmer
-- 
-
TU Graz, Institut für ComputerGraphik  WissensVisualisierung
Tel: +43 316 873-5405   E-Mail: l.schim...@cgv.tugraz.at
Fax: +43 316 873-5402   PGP-Key-ID: 0x4A9B1723
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Installation of OpenAFS on Ubuntu 11.10

2012-03-28 Thread Dirk Heinrichs
Am 28.03.2012 18:28, schrieb Lars Schimmer:

 There are quite perfect packages of 1.6.1pre4 in debian available
 which will work in ubuntu, to.

For ubuntu, there are also two PPAs:

openafs/master for development releases and openafs/stable for the
stable ones.

Add one of them to your sources.list.d via

sudo add-apt-repository ppa:name of ppa

Bye...

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


Re: [OpenAFS] Installation of OpenAFS on Ubuntu 11.10

2012-03-28 Thread Lars Schimmer
On 28.03.2012 18:43, Xianwei Zhang wrote:
 Thanks for your timely reply. I am a newbie on OpenAFS.
 
 My project is on OpenAFS and I will modify the code, so I install from
 source.

If so, please use trunk from the OpenAFS repository. In that case you
could easily get gerrit and interweb into your code.
1.7.1 is really not meant to built on linux and work fine.
the 1.7.x line is meant for windows, not linux.
1.9 will be linux again.

But currently I do not see much reason to change the OpenAFS code for a
backup project. Maybe your needed changes are already in trunk or on
aproject already done for OpenAFS but hangs in staging area.

 When I compiled 1.6.X, some bugs are there and I found one solutions said
 that 1.6 version has an inherent bug  on Ubuntu, so I tried 1.7.1.

check the source packages for ubuntu 1.6.1pre4 - they built fine on
debian and ubuntu so far.
And if still problems do arise, choose trunk.

 The installation is just for writing codes later and I don't need to care
 much about the security, kaserver is simpler to test.

If thats the case, please use a stable, working installation with
potential for future use.
Which will be a working 1.6.1pre4 or trunk.
And kerberos 5 and no more kaserver.
On windows kaserver is already striped out of the 1.7.x releases, on
linux it is already depracted in 1.6.x (but still available, more or
less unsupported), it will be striped out in 1.8.x and above.

Esp. if you setup a new cell, even just for a test, do use krb5. It will
make your life easier with future progress of your project with OpenAFS.
Same reason is to use the ubuntu/debian setup for path and start/stop
scripts. It will make your life (and the ones of guys helping you) much
easier and happier.
I do use the debian packages for 7 years now and I am quite happy with
them.


MfG,
Lars Schimmer
-- 
-
TU Graz, Institut für ComputerGraphik  WissensVisualisierung
Tel: +43 316 873-5405   E-Mail: l.schim...@cgv.tugraz.at
Fax: +43 316 873-5402   PGP-Key-ID: 0x4A9B1723
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info