[OpenAFS] Add new fileserver
Sun, 8 Apr 2007 17:21:13 +0800
Tks for replying so fast. Maybe I am not so clear with openafs's concept
and I find the openafs guide not really so updated and clear. I execute
the commands as you has re:
[root@afs1 ~]# vos listaddrs
[root@afs1 ~]# vos partinfo afs1.ben.muveenet
Free space on partition /vicepa: 711420 K blocks out of total 734684
[root@afs1 ~]# vos partinfo afs2.ben.muveenet
Free space on partition /vicepa: 948956 K blocks out of total 983080
I am trying to attain high availability as well as creating a big
distributed storage space (hopefully it can reach 30-40 Tera) with many
low-end servers. I've created the 1st afs server with home directory and
the users can login and access their home folder without any problems.
But I'm a bit lost on how should I further expand to afs2, afs3 and so
on. If I create a home directory for my users on afs1, do I need to
create the exact directory on my afs2? Appreciate for the all the help
From: Chris Huebsch [mailto:email@example.com]=20
Sent: Sunday, April 08, 2007 4:40 PM
To: Melvin Wong
Subject: Re: [OpenAFS] Add new fileserver
On Sun, 8 Apr 2007, Melvin Wong wrote:
> I am trying to add a new fileserver to my 1st afs server to increase
> storage space. I did managed to get the 2nd afs server sync with the
> afs server. But the client still see only the 1st afs's vol space when
> "fs diskfree /afs".
You are asking the wrong question ;-)
diskfree shows how much space is left of your quota and the partition
your volume is in (and only the rw-version, iirc).
You can ask:
"vos listaddrs" to show all your fileserver names.
And then "vos partinfo $server" for each server.
> Must I perform another step or the storage space should automatically
> combine once it sync?
There is no command "give me all the available space on all of my afs
servers". You need to write a little script for that. So space does not
combine or sum up.
Adding a fileserver is a very simple task:
* Install server binaries
* create /vicepXX-partitions
* start upclient (or copy ThisCell, CellServDB and afs.key to your new
* start fs-service (bos create fs fs ... - like on the first machine)
> Is there any guide out there to help me?
It's a bit out of date, but the general steps are still the same
Mitarbeiter an der TU Chemnitz, Fak.f. Informatik, Professur VSR
Buero: Str. d. Nationen 62, B204, D-09111 Chemnitz
Tel: +49 371 531-31118, Fax: +49 371 531-831118