[OpenAFS] Many partitions: How?
Sensei
senseiwa@tin.it
Thu, 13 May 2004 20:57:52 +0200
On Thu, 2004-05-13 at 18:45, Derek Atkins wrote:
> Create additional volumes.
>
> NO DATA should live in root.cell. root.cell should contain additional
> volumes, like user, project, etc. And THOSE should contain YET MORE
> volumes, like user.warlord, user.senseiwa, project.afs, etc.
Ok, I make a step back. How to make an afs cell and have it usable?
1. vos create ... /vicepa ... root.afs ...
2. set acls for /afs
3. vos create ... /vicepa ... root.cell ...
4. fs mkmount /afs/my.cell root.cell (and .my.cell)
5. mkdir /afs/my.cell/users, set acls, chown to what I want
6. pts to add a user (I use kerberos, so no KAS)
7. mkdir the directory /afs/my.cell/users/user_a
8. chown and set acls on user_a directory
9. vos create ... /vicepa ... users.user_a ... (eg. with 1gb quota)
10. fs mkmount /afs/my.cell/users/user_a users.user_a ...
Now, since for every user I have to make a volume specifying the
partition and the quota, it seems that the total quota on a partition
can be greater than the space available on a partition, if not carefully
checked... So, I have a 100 mb partition and assign 20 mb of quota for
each of my 10 users. The sum of possible volume space is 200 mb!
I thought there was the possibility of having different partitions seen
as one ``global'' space, and in this space you create the volumes, which
are logical, with a quota. So you can get rid of the partition location,
but you mount them and that's all.
--
Sensei <mailto:senseiwa@tin.it>
<icqnum:241572242>
<msn-id:Sensei_Sen@hotmail.com>
A)bort, R)etry, I)nfluence with large hammer.