Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| andrewfilesystem:server [2014/10/09 01:39] – Things complain about weak permissions on the state directory BenKaduk | andrewfilesystem:server [2020/11/23 01:21] (current) – Remove 1 broken link. SashaVigole | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== AFS: Andrew File System, server side ====== | ====== AFS: Andrew File System, server side ====== | ||
| - | Based upon Tracy' | + | Based upon Tracy' |
| Heavily modified for %%OpenAFS%% coverage by [[/ | Heavily modified for %%OpenAFS%% coverage by [[/ | ||
| Line 25: | Line 25: | ||
| </ | </ | ||
| - | It is also most convenient to have a afs client running on the initial server. Check out the installation instructions on the [[/afs|afs page]]. | + | It is also most convenient to have a afs client running on the initial server. Check out the installation instructions on the [[/AndrewFileSystem|afs page]]. |
| ===== Partitions ===== | ===== Partitions ===== | ||
| Line 79: | Line 79: | ||
| #>mkdir / | #>mkdir / | ||
| #>chmod 700 / | #>chmod 700 / | ||
| + | #>touch / | ||
| + | #>chmod 600 / | ||
| #> | #> | ||
| - | #>bos setcellname server.meiland.nl meiland.nl -localauth | ||
| #>bos create server.meiland.nl ptserver simple / | #>bos create server.meiland.nl ptserver simple / | ||
| #>bos create server.meiland.nl vlserver simple / | #>bos create server.meiland.nl vlserver simple / | ||
| Line 100: | Line 101: | ||
| < | < | ||
| #> bos shutdown server.meiland.nl | #> bos shutdown server.meiland.nl | ||
| - | #> killall | + | #> pkill bosserver |
| - | #> bosserver | + | #> service afsserver start |
| #> kinit hugo/afs | #> kinit hugo/afs | ||
| #> aklog meiland.nl | #> aklog meiland.nl | ||
| #> tokens | #> tokens | ||
| #> bos status -server server.meiland.nl | #> bos status -server server.meiland.nl | ||
| - | Instance buserver, currently running normally. | ||
| Instance ptserver, currently running normally. | Instance ptserver, currently running normally. | ||
| Instance vlserver, currently running normally. | Instance vlserver, currently running normally. | ||
| Line 114: | Line 114: | ||
| < | < | ||
| - | #> bos create server.meiland.nl | + | #> bos create server.meiland.nl |
| #> vos create server.meiland.nl /vicepa root.afs -localauth | #> vos create server.meiland.nl /vicepa root.afs -localauth | ||
| #> vos create server.meiland.nl /vicepa root.cell -localauth | #> vos create server.meiland.nl /vicepa root.cell -localauth | ||
| - | #> fs setacl /afs system: | ||
| - | #> fs setacl /afs system: | ||
| - | #> fs mkmount / | ||
| #> fs setacl / | #> fs setacl / | ||
| #> fs setacl / | #> fs setacl / | ||
| - | #> fs mkmount | + | #> cd / |
| - | #> fs setacl | + | #> fs mkmount |
| - | #> fs setacl | + | #> cd root.afs |
| + | #> fs setacl . system: | ||
| + | #> fs setacl . system: | ||
| + | #> fs mkmount meiland.nl root.cell | ||
| + | #> fs mkmount .meiland.nl root.cell -rw | ||
| mount external cells: | mount external cells: | ||
| - | #> fs mkmount -dir /afs/athena.mit.edu -cell athena.mit.edu -vol root.cell | + | #> fs mkmount -dir athena.mit.edu -cell athena.mit.edu -vol root.cell |
| + | |||
| + | remove temporary mountpoint: | ||
| + | #> cd .. | ||
| + | #> fs rmmount root.afs | ||
| </ | </ | ||